Download "user manual"

Transcript
3. You must now set the property that stores the user’s choice form the list. This popup list is
used in place of another field in the table, but we still want the value selected to be stored
in the original XForms Model element. We are replacing the name element in the
OrderTableRowData instance. Normally the XPath reference would look like that shown in
Example 5-12.
Example 5-12 XPath reference
instance('OrderTableRowData')/Row/line/name
Since this is part of a dynamic table, we have to use a relative path to ensure that the
value selected in one row does not change the value shown in all of the rows. The relative
path for this reference is name, as shown in Figure 5-65.
Figure 5-65 XForms reference
Chapter 5. Building the base scenario: stage 1
243