thanks , good think i've asked , i would have had issues with the @Any
... still not sure how it works , but i understand it works :)

will try

On 11/30/05, Patrick Casey <[EMAIL PROTECTED]> wrote:
>
>        <span jwcid="@Foreach" source="ognl:parents" value="ognl:parent"
> id="parent">
>                <span jwcid="@Any" element="div" class="parent">
>                        Anything here is class DIV.parent
>                        <span jwcid="@Foreach" source="ognl:children"
> value="ognl:child" id="child">
>                                <span jwcid="@Any" element="div"
> class="child">
>                                        Anythign here is class DIV.child
>                                </span>
>                        </span>
>                </span>
>        </span>
> > -----Original Message-----
> > From: Cosmin Bucur [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, November 30, 2005 4:59 PM
> > To: Tapestry users
> > Subject: How to do inner loops ?
> >
> > 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]
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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

Reply via email to