Tag name: <action>
The action tag is used to render a UI action source as a button or a link.
<action id="ctxt_saveId" text="${res.SAVE_CONTEXT}" actionCommand="savecontext" icon="TeamIcons.SAVECONTEXT" actionListener="${savecontext}"/>
Name | Type | Default value | Required? | Supports EL? | Description | |
---|---|---|---|---|---|---|
id | String | Y | It is the identifier for the component defined. The id is unique inside its grouping parent scope. | |||
tagName | String | Y | The tag name. | |||
disabled | boolean | false | Y | Indicates whether the tag will be rendered as disabled or not. Valid values are true or false. The control will show as grayed out without reacting to any user input or action if the value is set to true. | ||
shortDesc | String | Y | The content will show as a tooltip information when mouseover its UI when the value is set. | |||
visible | boolean | true | Y | Indicates if the UI block of the tag will be rendered as visible or not. Valid values are true or false. The component will not be rendered but the corresponding component will still be created and kept in the runtime component tree if the value is set to false. | ||
mouseListener | java.awt.event.MouseListener | EL only | A MouseListener java class for the rendered UI component. Please refer to Oracle Connector Developer Guide on how to write and use listeners when implementing a connector. | |||
keyListener | java.awt.event.KeyListener | EL only | A KeyListener java class for the rendered UI component. Please refer to Oracle Connector Developer Guide on how to write and use listeners when implementing a connector. | |||
focusListener | java.awt.event.FocusListener | EL only | A FocusListener java class for the rendered UI component. Please refer to Oracle Connector Developer Guide on how to write and use listeners when implementing a connector. | |||
PropertyChangeListener | java.beans.PropertyChangeListener | EL Only | A PropertyChangeListener java class for the rendered UI component. Please refer to Oracle Connector Developer Guide on how to write and use listeners when implementing a connector. | |||
helpTopicId | String | Y | Help topic ID that associate the help content with the current tag. For example -- when the connector integrates its help with Oracle Help center: This id will be used to identify the help HTML page inside connector help jar file and show the page in Oracle Help Center when the UI component has focus and F1 key is pressed. | |||
actionListener | java.awt.event.ActionListener | EL only | A ActionListener class that processes events on the rendered UI control of the tag. The UI behaviour of the listener is defined based on UI standard. Please refer to Oracle Connector Developer Guide on how to write and use listeners when implementing a connector. | |||
renderType | String | BUTTON | Y | Indicates whether the action tag will be rendered as a link or a button. Valid values are "BUTTON" "LINK" "TOGGLEBUTTON". | ||
text | String | Y | The text shown on the rendered UI of the action tag. | |||
altText | String | Y | Text shown on the rendered UI of the action when the action is used as a toggle and is in its alternative state. | |||
icon | String | Y | The icon source on the rendered UI of the action tag. The action will be rendered as an icon button if a valid value is provided. | |||
altIcon | String | Y | Icon shown on the rendered UI of the action when the action is used as a toggle and is in its alternative state. | |||
actionCommand | String | Y | Command that can be performed on the control. This attribute will be used in the actionListener for identifying the command source. | |||
tooltip | String | N | Tool tip text shown when mouse over the rendered action UI. | |||
altTooltip | String | N | Tool tip text shown when mouse over the rendered action UI when the action is used as a toggle and is in its alternative state. |