With some limitations, the cell item can be used instead of <xforms:select1> or <xforms:select> to populate combobox, list and popup items
A cell can belong to multiple comboboxes, lists and popups, based on having a common <group> option setting.
Cells fall into two categories according to their behavior:
activated, active, data, datagroup, enclosuresettings (action cell of type enclose only), group, label, itemnext, itemprevious, printsettings, saveformat, transmitdatagroups, transmitformat, transmitgroups, transmititemrefs, transmititems, transmitnamespaces, transmitoptionrefs, transmitoptions, transmitpagerefs, type, url, value
This example shows a popup that contains a list of action cells. When the user activates the popup and selects one of the actions, the action is performed. In the example, the available actions are to save the form, to close the form, or to print the form.
<popup sid="Gender">
<label>Select an action</label>
<group>action_list</group>
</popup>
<cell sid="saveform_cell">
<value>Save this form</value>
<type>saveform</type>
<group>action_list</group>
</cell>
<cell sid="cancel_cell">
<value>Close this form</value>
<type>cancel</type>
<group>action_list</group>
</cell>
<cell sid="print_cell">
<value>Print this form</value>
<type>print</type>
<group>action_list</group>
</cell>
This example shows a popup that displays the text Select a gender. After the user makes a selection, the popup displays either Male or Female, depending on the selection made by the user.
<popup sid="Gender">
<label>Select a gender</label>
<group>gender_list</group>
</popup>
<cell sid="male_cell">
<label>Male</label>
<value>M</value>
<group>gender_list</group>
</cell>
<cell sid="female_cell">
<label>Female</label>
<value>F</value>
<group>gender_list</group>
</cell>
page_tag.list_tag.value->value
Similarly, to obtain the <label> of the chosen cell of type select:
page_tag.list_tag.value->label
Similarly, to obtain the sid of the chosen cell of type select:
page_tag.list_tag.value
For example:
compute="PAGE1.Gender.value->value"
compute="PAGE1.Gender.value->label"
compute="PAGE1.Gender.value"