Re: Populate nested properties

2018-01-03 Thread José Antonio Delgado Trujillo
Yes it is but i had a problem with instantiate the both beans. Now it works and i understand with the message Instancia the bean. Struts2/ONGL instantiate the beans but you must write the default constructor. Thanks > On 3 Jan 2018, at 05:52, Yasser Zamani wrote: > > > > On 1/3/2018 1:30 AM

Re: Populate nested properties

2018-01-02 Thread Yasser Zamani
On 1/3/2018 1:30 AM, José Antonio Delgado Trujillo wrote: > Suppose that i have a nested Bean in a model class. > > > public Class Bean_B{ > private String text; > private int number; > ... > } > > public Class Bean_A{ > private Bean_B beanB; > ... > } > > A form > > > >

Populate nested properties

2018-01-02 Thread José Antonio Delgado Trujillo
Suppose that i have a nested Bean in a model class. public Class Bean_B{ private String text; private int number; ... } public Class Bean_A{ private Bean_B beanB; ... } A form … When i submit the form the action class populate the nested properties text and