I am having difficulty populating a control structure directly from a query. My goal being to read from a user table and populate a select structure with the users that match the criteria set forth in the query. However, when I do this:
<xforms:select1 ref="users" id="user-select">
<xforms:label>Active Users </xforms:label>
<xforms:item>
<xforms:label>Choose One...</xforms:label>
<xforms:value/>
</xforms:item>
<xforms:repeat nodeset="users" id="users-repeat">
<xforms:item>
<xforms:label ref="name_concat"/>
<xforms:value ref="user_id"/>
</xforms:item>
</xforms:repeat>
</xforms:select1>
only the first person the query returns shows up in the list. I have included a regular xforms:output into a table above to make sure my results are all coming through; which they are... So how to I take information from the query and populate my select structure properly?
I have attached a tar of the relevant bits of my project, hopefully it will be a simple mistake on my part.
dynamic-control-population.tar.gz