Re: Instancia the bean

2018-01-03 Thread José Antonio Delgado Trujillo
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

Re: Instancia the bean

2018-01-02 Thread Lukasz Lenart
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

Re: Instancia the bean

2018-01-02 Thread 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 automatically after you call the action. You mu

Re: Instancia the bean

2018-01-02 Thread Lukasz Lenart
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. > > >

Re: Instancia the bean

2018-01-02 Thread José Antonio Delgado Trujillo
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,

Instancia the bean

2018-01-02 Thread 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. //The method execute of the A class action public class A e