| Project: | formsPlayer |
| Version: | 1.5.2 |
| Component: | Code |
| Category: | bug |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Description
xf:itemset can be used with xf:select1 to specify a list of choices that originate from the instance data. Typical usage is like this:
<xf:select1 ref="a" appearance="minimal">
<xf:label>Select</xf:label>
<xf:itemset nodeset="../b">
<xf:label ref="." />
<xf:value value="." />
</xf:itemset>
</xf:select1>
But it's also possible to place xf:output controls in the label, to create more complex output:
<xf:select1 ref="a" appearance="minimal">
<xf:label>Select</xf:label>
<xf:itemset nodeset="../b">
<xf:label>
<xf:output ref="." />
</xf:label>
<xf:value value="." />
</xf:itemset>
</xf:select1>
Currently, the display of the label is the full mark-up that lies between the opening and closing tags of xf:label. Sample code is available in test 4 in the select1 itemset test.


Recent comments
3 days 18 hours ago
3 days 23 hours ago
5 days 17 hours ago
6 weeks 3 days ago
6 weeks 3 days ago
10 weeks 1 day ago
11 weeks 4 days ago
11 weeks 4 days ago
11 weeks 4 days ago
11 weeks 6 days ago