Specify User Interface State
Overview
This activity allows you to define the User Interface behavior through the state information. For example on executing the task required state details will be the outcome for the stored procedure. For the output state, certain controls can be shown or hidden and certain controls can be disabled or enabled. This activity has five tabs. They are:
1. State Definition – In this tab, all the state details for the user interface will be defined here.
2. Section Attributes – In this tab, the behavioral attributes of the sections of the User Interface with respect to the State name are defined.
3. Control Attributes – In this tab, the behavioral attributes of the controls of the section with respect to the State name are defined.
4. Map Task States – In this tab, the mapping of the tasks of the User Interface to the state names are carried out.
5. Task Attributes –The focus control of the User Interface and the state to be defaulted on User Interface task execution (when state is not the outcome) is defined in this tab.
Select the “Specify UI State” link at the bottom of the “Specify User Interface” page.
The “Specify User Interface State” page appears.
The following details are displayed in the header:
|
Business Process |
The description of the business process. |
|
Component |
The description of the selected component under the business process. |
|
Activity |
The description of the selected activity under the component. |
|
User Interface |
The description of the selected user interface under the activity. |
There are five tabs displayed. They are - State Definition, Section Attributes, Control Attributes, Map Task States and Task Attributes.
This tab allows you to define the state details for an UI. In this tab, state id and state description are defined. You can also modify state details in this tab.
Click the “State Definition” tab to define the state details.
This tab is displayed by default on launch of the page.
Enter the following fields in the “State Definition” multiline:
|
State Id |
The identification code of the state. |
|
State Description |
The description of the state. |
Click “Save State Information”.
The state details for the specified user interface are saved.
To fetch default state id details
Click “Fetch State Information”.
The State details that have defined for the user interface are retrieved and displayed in the respective fields.
You can modify the details displayed.
Click “Save State Information” to save the modified details.
This tab enables you to define the behavioral attributes of the sections with respect to the state.
Click the “Section Attributes” tab to define the section attributes for the states of the user interface.
The “Section Attributes” tab is displayed.
Select an option from the following list box:
|
State |
Use the drop-down list box to specify the state for which the section attributes are to be defined. The combo is loaded with state ids defined in the “State Definition” tab. |
The system displays the following in the “Section Attribute Detail” multiline:
|
Page |
The name of the page or tab. |
|
Section |
The name of the section. |
Select the following:
|
Visible |
Use the drop-down list box to indicate whether the section should be visible or not. The combo is loaded with options “Yes” and “No”. |
|
Enable |
Use the drop-down list box to indicate whether the section should be enabled or not. The combo is loaded with options “Yes” and “No”. |
Click “Save State Attribute”.
The section attributes for the specified user interface are saved.
Note: To unmap the existing state definition, blank should be selected in the Visible and Enable drop-down list box.
If the control attributes for the section controls are already available then Section attributes cannot be saved for that section.
This tab enables you to define the behavioral attributes of the controls with respect to the state.
Click the “Control Attributes” tab to define the control attributes for a given page/tab in the user interface.
The “Control Attributes” tab is displayed.
Select an option from the following list box:
|
State |
Use the drop-down list box to specify the state for which the control attributes are to be defined. The combo is loaded with state ids defined in the “State Definition” tab. |
The system displays the following in the “Control Attribute Detail” multiline:
|
Control Name |
The name of the control. |
|
Column Name |
The name of the column. |
|
Page |
The name of the page or tab. |
|
Section |
The name of the section. |
Select the following:
|
Visible |
Use the drop-down list box to indicate whether the control should be visible or not. The combo is loaded with options “Yes” and “No”. |
|
Enable |
Use the drop-down list box to indicate whether the control should be enabled or not. The combo is loaded with options “Yes” and “No”. |
Click “Save State Control Attribute”.
The control attributes for the specified user interface are saved.
Note: To unmap the existing state definition, blank should be selected in the Visible and Enable drop-down list box.
If the Section attributes for the controls are already available then Control attributes cannot be saved.
This tab enables you to map the states of the UI to the tasks of the user interface.
Click the “Map Task States” tab to map the states to the task.
The “Map Task States” tab is displayed.
Select an option from the following list box:
|
Task |
Use the drop-down list box to specify the task to which the states are to be mapped. The combo is loaded with the tasks defined for the user interface as options. |
The system displays the following in the multiline:
|
State Description |
The description of the state which is to be mapped to the task. |
|
State Id |
The identification code of the state which is to be mapped to the task. |
Select the following field:
|
Map State |
Click the check box to map the state to the task selected in the header. |
Click “Save Map Task State”.
The system saves the mapping of the states to the task.
Note: State is not applicable for Initialize and Report tasks and will not be loaded here.
This tab enables you to define the focus control after service execution and to specify the default state when the state details are not available in the service execution.
Click the “Task Attributes” tab to define the task attributes for the user interface.
The “Task Attributes” tab is displayed.
The system displays the following in the “Task Attribute Detail” multiline:
|
Task |
The name of the tasks defined for the user interface. |
|
Page |
The name of the page. |
Select any option from the drop-down list box:
|
Focus Control |
Use the drop-down list box to select the focus of control. |
|
Default |
This dropdown list will load the mapped state details for the task. Selected state name will be defaulted when state information is not available in the service execution. |
Click “Save Task Attribute”.
The task attributes of the user interface are saved.
To fetch task attributes
Click “Fetch Task Attribute” if you want to retrieve the task attributes for the user interface.
The task attributes that have defined for the user interface are retrieved and displayed in the respective fields.
You can modify the details displayed.
Click “Save Task Attribute” to save the modified details
Getting familiar with the pages inside
|
Go to page… |
For… |
|
Specify User Interface State |
Business process, components, activities ,user interfaces and controls should have been defined.