Yes i see this but its hard to understand....maybe if you know something that i can read...
Helpppp!!! -----Mensaje original----- De: Andrew Stepanenko [mailto:[EMAIL PROTECTED] Enviado el: MiƩrcoles, 06 de Diciembre de 2006 09:38 a.m. Para: Struts Users Mailing List Asunto: Re: STRUTS 2 . Populating values in Action Hello, have you looked at Type Conversion mechanism: http://cwiki.apache.org/WW/type-conversion.html ? Regards, Andrew Stepanenko, http://unf.tane.edu.ua On 12/6/06, Juan Espinosa <[EMAIL PROTECTED]> wrote: > Hi to all, i have a cuestion about populatin values in an action. I > have an action that implements the interface ModelDriven. The object > CUSTOMER has some string properties and a collection of users > > class MyAction implements ModelDriven{ > > Customer customer = null > > public Object getModel(){ > return new Customer(); > } > > } > > And a form with some text boxes > > <s:textbox name="age"/> > <s:textbox name="address"/> > <s:textbox name="users(0).userName"/> > <s:textbox name="users(0).password"/> > > The problem that im having is that i want to populate a user in the > collection of users, like the framework populates the value string i > want also populate in the collection a object of type User with the > values userName and password in it.... > > Anyone knows how to populate this kinds of values..... > > Regards, > > Juan > > -- > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.5.432 / Virus Database: 268.15.9/573 - Release Date: > 05/12/2006 > 04:07 p.m. > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.9/573 - Release Date: 05/12/2006 04:07 p.m. -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.9/573 - Release Date: 05/12/2006 04:07 p.m. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]