GUI Action Type
An action that the user can do in JSA.
In JSA, GUI Actions are represented as either buttons in page toolbars, or as right-click menu options. On touchscreen devices, GUI Actions are for items that are pressed for a long time.
The following table describes the
gui_actions block fields in the
Table 1: GUI_Actions Block Fields
A unique ID for this area within the application.
Concise text to display that describes the area. Can optionally point at a resource bundle key if the application is globalized.
Detailed text to display that describes the area. Can optionally point at a resource bundle key if the application is globalized.
Path to the toolbar or right-click menu icon to load, relative to the application root.
Icons must be 16x16 pixels.
If you do not want to add an icon, set the value of this parameter
A REST method to call when this action is performed. The context parameter must be specified as an argument. The REST method is populated with whatever the context of the GUI Action group is. The GUI Action group context varies, depending on what GUI Action group the action is invoked from. As an example, on the right-click menu of an IP address, the context parameter contains the IP address.
Array of String
A list of one or more GUI Action groups to install the action into (in other words, the identifier of the toolbar or right-click menu). You must provide at least 1 group.
You can also use a group name in this format
Array of String
A set of capabilities that a user must affiliate with their user role to access this area.
The following code is a sample
gui_actions block from the