OK thanks Lukasz,
i hadn’t put the default constructor in the model class. Now it works!
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
2018-01-03 7:23 GMT+01:00 Yasser Zamani :
> On 1/3/2018 1:08 AM, José Antonio Delgado Trujillo wrote:
>> If you have a form linked to a bean using key attribute, then when you
>> submitted, must you instantiate the bean before the call action populate the
>> properties? Or Strust2 instantiate aut
On 1/3/2018 1:08 AM, José Antonio Delgado Trujillo wrote:
> If you have a form linked to a bean using key attribute, then when you
> submitted, must you instantiate the bean before the call action populate the
> properties? Or Strust2 instantiate automatically after you call the action.
You mu
2018-01-02 22:38 GMT+01:00 José Antonio Delgado Trujillo :
> If you have a form linked to a bean using key attribute, then when you
> submitted, must you instantiate the bean before the call action populate the
> properties? Or Strust2 instantiate automatically after you call the action.
>
>
>
I think Strus2 don’t instantiate the bean so you must instantiate perhaps in
the prepare method or in the definition of the property class.
> On 2 Jan 2018, at 21:38, José Antonio Delgado Trujillo
> wrote:
>
> If you have a form linked to a bean using key attribute, then when you
> submitted,
If you have a form linked to a bean using key attribute, then when you
submitted, must you instantiate the bean before the call action populate the
properties? Or Strust2 instantiate automatically after you call the action.
//The method execute of the A class action
public class A e
6 matches
Mail list logo