company logo

RenameSelected - Rename all selected entries

The rename selected entries action will be activated for controls displaying collections ordered by key. The key is the order key for the collection, even when the list has been reordered (e.g. by clicking the column header). When the data source is not a reference or relationship or when the collection is not ordered by key, the action is inactive (hidden) and cannot be called.

The action may apply on any kind of list. For multi-selection lists, the action renames all selected entries. For single selection lists or when no entry has been marked as checked (in a check box list), the action renames the currently selected entry.

When no instance is currently selected in the data source or when the instance is read-only, the action will be disabled.

When calling the action, a dialog pops up for each entry to be renamed showing the old key value and requesting the new one. When confirming the request, key value attributes for the instance currently selected are changed.without warning or message. When canceling the dialog the entry remains unchanged and the action continues with next entry.