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]

Reply via email to