Action tags
Action tags define actions that occur when the user makes
a selection. Action tags are used in conjunction with other tags, for example,
the button, checkbox,
choice, combobox ,
item, and tree tags.
The following is a general description of the actions
that can be performed:
<ENABLE>
component_list</ENABLE> |
NAME |
VALUE |
DESCRIPTION |
<ENABLE> |
- component_list
-
A comma-separated list of user interface component identifiers.
A component identifier is a string identifier of the following form:
-
panel_name.component_name
-
-
where pane_name is the name of the panel
in which the component is defined, and component_name is the name
of the component itself.
|
Activates the target components for user input |
<DISABLE>component_list</DISABLE> |
NAME |
VALUE |
DESCRIPTION |
<DISABLE> |
- component_list
- A comma-separated list of user interface
component identifiers. A component identifier is a string identifier
of the following form:
- panel_name.component_name
- where pane_name
is the name of the panel in which the component is defined, and component_name
is the name of the component itself.
|
Deactivates the target components for
user input |
<SHOW>component_list</SHOW> |
NAME |
VALUE |
DESCRIPTION |
<SHOW> |
- component_list
- A comma-separated list of user interface component identifiers.
A component identifier is a string identifier of the following form:
- panel_name.component_name
-
where pane_name is the name of the panel
in which the component is defined, and component_name is the name
of the component itself.
|
Displays the target components on the panel |
<HIDE>component_list</HIDE> |
NAME |
VALUE |
DESCRIPTION |
<HIDE> |
- component_list
- A comma-separated list of user interface
component identifiers. A component identifier is a string identifier
of the following form:
- panel_name.component_name
- where pane_name
is the name of the panel in which the component is defined, and component_name
is the name of the component itself.
|
Removes the target components from
view |
<REFRESH>component_list</REFRESH> |
NAME |
VALUE |
DESCRIPTION |
<REFRESH> |
- component_list
- A comma-separated list of user interface
component identifiers. A component identifier is a string identifier
of the following form:
- panel_name.component_name
- where pane_name
is the name of the panel in which the component is defined, and component_name
is the name of the component itself.
|
Removes the target components from view |
<DISPLAY>pane_list</DISPLAY> |
NAME |
VALUE |
DESCRIPTION |
<DISPLAY> |
- pane_list
- A comma-separated list
of window pane identifiers. A window pane identifier has the following form:
-
-
subpanel_name.panel_name
-
where a subpanel_name is the name of the
subpanel in which the panel resides, and panel_name is the name
of the panel itself. See subpanel tags.
|
Makes uncommitted changes to the target
components, as determined by the user |
If, however, the user's choices vary dynamically at runtime,
no choices should be specified in the PDML source file. Instead, the framework
calls the data object identified in the dataclass tag to obtain the list
of choices. See the AS/400 user interface framework.
[ Legal | AS/400 Glossary ]