Page Content Meta-data

The main content area of an application allows server data to be displayed and entered. The basic unit of data is a field. Each field is either an output or input parameter of a server interface.

Various XML elements correspond to the user interface elements described above PAGE, FIELD, CLUSTER, LIST, ACTION_CONTROL, ACTION_SET and so on. Other elements such as PAGE_PARAMETER and SERVER_INTERFACE do not have visual representations, but are important to the functionality of the page. The CONNECT element is an important construct that allows fields to be associated with parameters to Server Interfaces. As well as mapping fields, connections can also map page parameters and static text. The latter is not stored directly in the UIM, but is externalized in a property file which facilitates easier language localization of user interfaces.

Page Content Meta-data contains an extract of UIM used to create the content area. This extract displays how the major elements that make up a screen of content area, such as clusters and lists, are represented in UIM. UIM Reference is a full UIM reference. Refer to User Interface Element 15 in Application User Interface Overview to see an example of a configured page content area.

Figure 1. Page UIM Example
<PAGE PAGE_ID="Person_search">

  <PAGE_TITLE>
    <CONNECT>
      <SOURCE NAME="TEXT"
              PROPERTY="PageTitle.StaticText1"/>
    </CONNECT>
  </PAGE_TITLE>

  <SERVER_INTERFACE NAME="ACTION"
    CLASS="Person_fo"
    OPERATION="search"
    PHASE="ACTION" />

  <CLUSTER NUM_COLS="2"
              TITLE="Cluster.Title.SearchCriteria">

    <FIELD LABEL="Field.Label.ReferenceNumber">
      <CONNECT>
        <TARGET NAME="ACTION" PROPERTY="referenceNumber"/>
      </CONNECT>
    </FIELD>

    <FIELD CONTROL="SKIP"/>

  </CLUSTER>

  <CLUSTER NUM_COLS="2"
              TITLE="Cluster.Title.AdditionalSearchCriteria">

    <FIELD LABEL="Field.Label.FirstName">
      <CONNECT>
        <TARGET NAME="ACTION" PROPERTY="forename"/>
      </CONNECT>
    </FIELD>

    ... more <FIELD> elements...

    <ACTION_SET ALIGNMENT="CENTER" TOP="false">

        <ACTION_CONTROL LABEL="ActionControl.Label.Search"
                           IMAGE="SearchButton"
                           TYPE="SUBMIT">
        <LINK PAGE_ID="THIS"/>
      </ACTION_CONTROL>

      <ACTION_CONTROL LABEL="ActionControl.Label.Reset"
                         IMAGE="ResetButton">
        <LINK PAGE_ID="Person_search"/>
      </ACTION_CONTROL>

    </ACTION_SET>
  </CLUSTER>

  <LIST TITLE="List.Title.SearchResults">

    <FIELD LABEL="Field.Title.Name" WIDTH="44">
      <CONNECT>
        <SOURCE NAME="ACTION"
                PROPERTY="personName"/>
      </CONNECT>
    </FIELD>
    ... more <FIELD> elements...
  </LIST>

</PAGE>