struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <newton.d...@yahoo.com>
Subject Re: [S2] Iterate through two lists
Date Wed, 20 Aug 2008 14:55:35 GMT
--- On Wed, 8/20/08, Milan Milanovic wrote:
> No, this doesn't work. I get: "500 Internal Server
> Error" if I use this.

First of all, it should be rowStatus.index, which is zero-based (count is one-based).

Second of all, is there anything in the log?

Dave

> &quot;Stephan Schröder&quot; wrote:
> > 
> > I'm not sure whether the syntax is completly right
> but it should work like
> > this:
> > 
> > <s:iterator value="fruits1"
> status="rowstatus">
> > 
> >     <s:property value="name" />
> > 
> >     <s:push
> value="fruits2[#rowstatus.count]">
> >         <s:property value="name" />
> >     </s:push>
> > 
> > </s:iterator>
> > 
> >> View this message in context:
> >>
> http://www.nabble.com/-S2--Iterate-through-two-lists-tp19052842p19052842.html
> > -- 
> > Der GMX SmartSurfer hilft bis zu 70% Ihrer
> Onlinekosten zu sparen! 
> > Ideal für Modem und ISDN:
> http://www.gmx.net/de/go/smartsurfer
> > 
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> user-unsubscribe@struts.apache.org
> > For additional commands, e-mail:
> user-help@struts.apache.org
> > 
> > 
> > 
> 
> -- 
> View this message in context:
> http://www.nabble.com/-S2--Iterate-through-two-lists-tp19052842p19069992.html
> Sent from the Struts - User mailing list archive at
> Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail:
> user-help@struts.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message