Editor Actions
Description
Perform some action on an Editor in an Editor set.
Used with the UX component.
Editor Action Properties
- Action name
Specify the Editor Action that you want to execute. Choices include.
Open Editor - Edit Value in a Control - Action Properties
- Control to edit
Specify the name of the control whose value you want to edit in an Editor
- Editor set
Specify the name of the Editor Set to open.
- Editor name
Specify the name of the Editor in the specified Editor set to show.
Commit Editor Action Properties
- Editor set
Specify the name of the Editor Set to commit. The value that was being edited in the current Editor shown in the Editor Set is saved.
- Close Editor Set after commit
Specify if the Editor Set should be closed after the value in the current Editor is saved.
Cancel Editor Action Properties
- Editor set
Specify the name of the Editor Set to cancel. The value that was being edited in the current Editor shown in the Editor Set is not saved.
Open Editor - Edit Arbitrary Value - Action Properties
- Editor set
Specify the name of the Editor Set to open.
- Editor name
Specify the name of the Editor in the specified Editor set to show.
- Javascript to get value to edit
Specify the Javascript to execute to get the value to be edited. Your Javascript code must 'return' the value. For example: return {dialog.object}.getValue('somecontrol');
- Javascript to commit the edited value
Specify the Javacript to execute to commit the edited value. Your Javascript code can reference these variables: 'value' - the edited value, 'settings' - the settings passed into the editor. Of note in 'settings' is 'settings.state.value' - the original value passed to the Editor.
See Also