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
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
>
>
>
>
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
3 matches
Mail list logo