I believe indexed attributes were first, then Arron contributed nested
and life got easier. Stick with it and don't go backwards.

-john

-----Original Message-----
From: Adam Hardy [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 11, 2003 11:52 PM
To: Struts Users Mailing List
Subject: Re: what setters do i implement in an indexed tag --NewBie
question


Sashi, your person bean must have getName(), setName() and getPhoneNo(),

setPhoneNo().

Everybody: I haven't come across the html:taglib indexed property 
before. This seems to do what nested: tags do - is this functional
overlap?

Generally with JST taglib as well, there seems to be a wide choice of 
taglibs to use - is this going to consolidate at some point in struts' 
development?

Adam


Sashi Ravipati wrote:
> Can some body help in as how to define get and set methods when we use
indexed tags.
> 
> eg:
> 
> <logic:iterate id="person" name="myFormBean" property="personList">
>   <tr>
>     <td>
>       <bean:write name="person" property="name"/>
>       <html:hidden name="person" property="name" indexed="true"/>
>     </td>
>     <td>
>       <html:text name="person" property="phoneNo" indexed="true"/>
>     </td>
>   </tr>
> </logic:iterate>
> 
> What will be the get and set methods. 
> 
> Thanks
> 


---------------------------------------------------------------------
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