Deriving user interface from context

You can derive user interface from context by using the transaction editor dashboard.

Before you begin
You need to define the context before deriving context from it. Note you can derive context from data element.
About this task
This wizard help to generate a JSP file for user interface from the context you created before.
  1. In the dashboard, click the derive between the block Context and the block User Interface. The Context Transformation wizard opens.
  2. Type a filename for the target JSP file in the File name blank.
  3. In the Context drop-down list, select the context that you want to transform to user interface. The child nodes of the selected context automatically display in the list under Context drop-down list.
    1. Select the child nodes that you want to transform to user interface.
    2. Click Add> button add them to the UI Elements tree table.
    3. Optional: Click <Remove to remove useless child nodes.
    Note: When you select a context which have parent, all its parent display in the Parent drop-down list. Then all child nodes of the parent node displays in the list under Parent drop-down list, and you can add these child nodes to UI Elements tree table.
  4. Click Finish to finish the wizard.
Results

The output is a JSP file containing UI elements which corresponding to context you defined before. This file demonstrates a basic usage of the UI elements, you can reference to this automatically generated JSP file and write your own file.