[prev in list] [next in list] [prev in thread] [next in thread]
List: struts-user
Subject: RE: Form beans with nested arrays
From: Kris Schneider <kris () dotech ! com>
Date: 2004-01-30 19:36:14
Message-ID: 1075491374.401ab22ebf9b2 () internal ! dotech ! com
[Download RAW message or body]
There are still some places where Struts tags trump JSTL ;-). I think you're
understanding is pretty accurate. If you haven't checked it out before, see the
author's (Arron Bates) site:
http://www.keyboardmonkey.com/
Quoting "Slattery, Tim - BLS" <Slattery.Tim@bls.gov>:
> > From: Kris Schneider [mailto:kris@dotech.com]
> > Subject: Re: Form beans with nested arrays
>
> > I think this might work:
>
> > <html:form action="...">
> > <nested:iterate property="itemList">
> > <tr>
> > <nested:iterate property="prices">
> > <td>
> > <nested:text property="price"/>
> > </td>
> > </nested:iterate>
> > </tr>
> > </nested:iterate>
>
> Can't be, it's much too easy!
>
> I did read the documentation for the "nested" tags, but couldn't figure it
> out, and examples were lacking.
>
> If I understand this right, the <nested:iterate> tag, besides iterating,
> sets the nesting level just as the <nested:nest> tag does, is that right?
> And the <nested:iterate> tag will get the right subscripts at all the right
> level too?
>
> Many thanks, this will help immensely!
>
> --
> Tim Slattery
> Slattery@bls.gov
--
Kris Schneider <mailto:kris@dotech.com>
D.O.Tech <http://www.dotech.com/>
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic