Action {}
[EE] This property group allows you to set up many different features and properties for the wow Action framework. This property group is the new incarnation of the previous groups Actions { } and ActionDescriptor { } which required both property groups to function. The Action { } property group is standalone and requires neither Actions { } or ActionDescriptor { } defined to function.
In the below example we set up an action called "Set as Current". It is a Row action without a location. The location is missing in the property group because it's set up to run inside the custom javaClass of com.company.package.SetAsCurrentAction. The label of this action is set to "Set as Current".
Action { type:row; name:SetAsCurrent; loc:none; javaClass:com.company.package.SetAsCurrentAction; label:Set as Current; }
Actions {}
This property group allows you to set up the basic properties of the wow Action framework. This is the older implementation of the Action framework and should only be used if Action { } is not available to you. The Actions { } property group allows you to designate the type of Actions that will be displayed as well as which specific actions (by name) should be shown.
In the below example we have set up the Actions { } property group and assigned multiple actions to it. They have been set up as Row actions. Separate ActionDescriptor { } property groups should also be set up for each of the action names set up in the show variable.
Actions { type:row; show:submit, reopen, approve, reject, WorkFinished, invoice, ReturnToDealer, SendToDealer, DealerComplete, Finalize; }
ActionDescriptor {}
This property group allows you to set up many different features and properties for the wow Action framework. This property group is required when using the Actions { } property group, but not Action { } property group. The ActionDescriptor { } property group allows the developer to control many different properties and features of the Actions { } that were set up.
In the below example, we have set up the ActionDescriptor{ } property group for one of the properties (submit) from the above Actions { } property group example. We've set up the submit action as a Row action. It will not display when a Results Table or Row Collection is shown (loc: none;) but will display when viewing a single row (detailsLoc:buttons right;) to the right side of the button display area. It will be labelled "Save & Submit".
ActionDescriptor{actTyp: row; loc:none; detailsLoc: buttons right; name:submit; label:Save & Submit;}