"Webwork in action" have a 20-page chapter on Type conversion. 

-----Original Message-----
From: Andrew Stepanenko [mailto:[EMAIL PROTECTED] 
Sent: den 6 december 2006 14:13
To: Struts Users Mailing List
Subject: Re: STRUTS 2 . Populating values in Action

Hello,

there is also a lot of posts on Type Conversion subject in the WebWork
forum:
http://forums.opensymphony.com/forum.jspa?forumID=1
AFAIK, type conversion belongs to XWork which WebWork and Struts2 use, so
you may find the answer in WW forum too.

Regards,
Andrew

On 12/6/06, Juan Espinosa <[EMAIL PROTECTED]> wrote:
> 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]
>
>

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