I want to do an inner loop with forEach with for . But I see that both
take the argment of a html element .

So if I were to have :

<div jwcid="@Foreach" source="ognl:parents" value="ognl:parent"
element="div" id="parent">
    <span jwcid="DirectLink" listener="ognl:listeners.parentClick"  
parameters="ognl:parent.id" />

<div jwcid="@Foreach" source="ognl:parent.children" value="ognl:child"
element="div" id="child">
    <span jwcid="DirectLink" listener="ognl:listeners.childClick"  
parameters="ognl:child.id" />
</div>

</div>

where in css a parent would have a white bkg , black border and child
would have red bkg and blue border ...

The list of children divs would list inside the white bkg and black
border , when I would like to have all elements in the list on their
own , of the same size but different color background depending if
child or parent ...


How can I do this kind of thing with tapestry ?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to