Once the configuration is done the final step is the write the UIM necessary to display the pop-up search.
Figure 1. UIM to Use Multiple Pop-up Windows<CONTAINER LABEL="Label.person">
<FIELD LABEL="Field.Label">
<CONNECT>
<TARGET PROPERTY="popupType" NAME="ACTION"/>
</CONNECT>
</FIELD>
<FIELD LABEL="Field.Label">
<CONNECT>
<TARGET PROPERTY="clientID" NAME="ACTION"/>
</CONNECT>
</FIELD>
</CONTAINER>
The main points to note are:
- A CONTAINER and two FIELD elements are required, one for the drop-down list, the other for the value which will be returned from the pop-up. The container must not include any other FIELD elements.
- The first field should be based on a code-table domain which contains a list of codes which corresponds to the CT_CODE element described earlier.
- The second field should have a target connection which is based on a domain using the MULTIPLE_POPUP_DOMAIN element.