How to display icons next to a select1 control with xxforms:tree appearance
- by user557060
Hi,
I display a list of items via select1 control using xxforms:tree appearance. They are displayed via a code block like:
<xforms:itemset nodeset="instance('dataInstance')/*">
<xforms:label ref="fn:concat(./NAME,', ','ID: ',./ID)"/>
<xforms:value ref="./ID"/>
</xforms:itemset>
</xforms:select1>
I want to display two icons for each item on the same row as the item: one icon for deleting and one for editing that item, which would all invoke XPL with the item ID as the parameter.
The question, how do I render those icons - does itemset support nested trigger elements? If not, how do I go about achieving it (clicking on the item results in an action other than edit or delete, so cannot use that; can show delete/edit on the page shown when user clicks on the item, but want to save that one click if the user just wants to delete the item for example).
Thanks.