Skip to main content

Enactor Tool Kit

Selection State

This is an example of a Selection State action (highlighted in red in the diagram below), i.e. a state that provides additional properties for handling selection in a User Interface.

Select State - Process Example

Selection State Example

Selection State Example

Property values for above example

PropertyCommentValue
Class NameThis is the class name of the action, which can be selected from a drop down list, or entered by the developer.com.enactor.coreUI.states.UISelectionState
CommentsThis is a text field which can contain additional information about the action. It is displayed as a tool tip when the action is hovered over with the mouse.Undefined
Default Next State IDThis indicates the ID of the next state in the process flow, e.g. NewUser.Undefined
EventsThis indicates the events required for the selected action. Double-clicking on the value field will bring up a table which will identify for each input the following:
Name - the name of the event, e.g. OKPressed.
Unused - a tick indicates that the event is unused by the action.
See the example
Flow Page OptionsThis option enables the developer to produce a flow page diagram associated with the Process Diagram. The text can be entered/edited by double clicking on the value field for this property. The developer can also edit/view the Flow Page by selecting the flow tab when editing the process diagram.Undefined
Hide Open Prompt?This is a flag which is selected from a drop down list, i.e. true or false.false
InputsThis indicates the inputs required for the selected action. Double-clicking on the value field will bring up a table which will identify for each input the following:
Name - the name of the input, e.g. enactor.coreUI.EntityName.
Type - the type of the input, e.g. java.lang.String.
Required - a tick indicates that the input is required by the action.
See the example
Keep Previous Prompt Open?This is a flag which is selected from a drop down list, i.e. true or false.false
Keep Prompt Open?This is a flag which is selected from a drop down list, i.e. true or false.false
Message BaseThis is the location of the messages file containing the required message.Undefined
Message IDThis is the name of the message, as found in the message file in the previous field.Undefined
Message TextThis is the text of the message required which is used if the previous two fields are not defined, i.e. the message is not in a messages file.Undefined
NameThis indicates the name of the action in a more readable format, e.g. Remove User.Undefined
OutputsThis indicates the outputs produced for the selected action. Double-clicking on the value field will bring up a table which will identify for each output the following:
Name - the name of the output, e.g. enactor.coreUI.ListCriteria.
Type - the type of the output, e.g. com.enactor.core.servers.IListCriteria.
See the example
ParametersThis indicates the parameters required for the selected action. Double-clicking on the value field will bring up a table which will identify for each parameter the following:
Name - the name of the parameter, e.g. enactor.coreUI.MessageBasename.
Value - the value of the parameter, e.g. com.enactor.maintenance.resources.UserMaintenanceMessages.
Type - the type of the parameter, e.g. java.lang.String.
Undefined
Prompt TimeoutThis is the value of the timeout for this prompt in milliseconds.0
Respond to View Events?This is a flag which is selected from a drop down list, i.e. true or false.false
Single Instance?This is a flag which is selected from a drop down list, i.e. true or false.false
State DataThis indicates the state required for the selected action. Double-clicking on the value field will bring up a table which will identify for each state data the following:
Name - the name of the state data.
Type - the type of the state.
Transient - a tick indicate that the selected state data is transient.
See the example
State IDThis is the ID of the selection states.SelectBasketItem
URLThis is URL for the selection state.Pos/Basket/SelectBasketItem

Events Example

NameUnused
CancelPressedNot set
OKPressedNot set

Inputs Example

NameTypeRequired
enactor.coreUI.Listjava.util.ListSet
enactor.coreUI.ListItemVisibilityTestcom.enactor.coreUI.actions.IUIActionSet
enactor.mfc.Basketcom.enactor.mfc.basket.IBasketSet
enactor.pos.ItemsFormattercom.enactor.coreUI.format.IDataFormatterSet
enactor.pos.VisibilityTestData1java.lang.ObjectNot set
enactor.pos.VisibilityTestData2java.lang.ObjectSet

Outputs Example

NameType
enactor.coreUI.SelectedItemjava.lang.Object

State Data Example

NameTypeTransient
enactor.coreUI.Listjava.util.ObjectNot set
enactor.coreUI.ListItemVisibilityTestcom.enactor.coreUI.actions.IUIActionNot set
enactor.coreUI.SelectedItemjava.util.ObjectNot set
enactor.mfc.Basketcom.enactor.mfc.basket.IBasketNot set
enactor.pos.ItemsFormattercom.enactor.coreUI.format.IDataFormatterNot set
enactor.pos.VisibilityTestData1java.util.ObjectNot set
enactor.pos.VisibilityTestData2java.util.ObjectNot set