struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marc Eckart" <marc.eck...@googlemail.com>
Subject Re: Struts2: Nested Iterators
Date Tue, 04 Dec 2007 17:24:53 GMT
I tried this with the var in the iterator tag and tomcat e.g. jasper
complained about that var is not defined in the tag. Is it deprecated or new
or something like this. Maybe I have to update my struts jar?

Marc

2007/12/4, Dave Newton <newton.dave@yahoo.com>:
>
> Sure.
>
> Did you try it and had an issue, or did you think it would be quicker to
> wait
> for a response on the list?
>
> d.
>
> --- Marc Eckart <marc.eckart@googlemail.com> wrote:
>
> > Hi,
> >
> > I have a common problem :-) I have a collection of Objects and these
> > Objects
> > also contains Collections. How can I iterate through the child
> collection?
> >
> > Something like this:
> >
> >         <s:iterator value="accountSearchResults.accounts"
> > status="rowstatus"
> > var="account">
> >
> >
> >             <s:iterator value="#account.attorneys" status="rowstatus"
> > var="attorney">
> >
> >             </s:iterator>
> >
> >            </s:iterator>
> >
> >
> > Is this possible?
> >
> > Best Regards,
> > Marc
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message