Welcome, guest ( Login )

WikiHome » JotForums » DevForum » 1177

1177

Version 1, changed by josh@sinu.com@sinu. 06/16/2005.   Show version history

I want to bind to a node inside a loop. The path to the node I bind to chenges for each loop iteration. This is the code:

<wiki:search set="sections" forFormName="SectionForm" order="SectionForm/order" />

<wiki:loop over="sections" set="section">
    <wiki:nodeinfo name="thisnode" path="${section/name}" />
    Do some stuff with the thisnode...
</wiki:loop>

My problem is that once thisnode is bound in the first loop iteration, it stays bound to that node and isn't rebound in subsequent iteration. What can I do about this? Can I unbind the node at the end of the loop somehow? Thanks.

Attachments (0)

  File By Size Attached Ver.