Re: Struts2 POJO Forms

2007-08-24 Thread Piero Sartini
On Thursday 23 August 2007 23:43:40 Pavel Sapozhnikov wrote: Hi everybody. I remember in Struts1 we have those things ActionForms and when you submit a form everything gets copied to into a form in fact you can make your own form in Struts1. Is the same possible in Struts2 for instance I heard

Re: Struts2 POJO Forms

2007-08-24 Thread Laszlo Borsos
I also think about using Model-Driven interceptor. If some properties are in the action bean (e.g. hidden fields) and others in the model bean, will both be populated, because both object are found on the stack? If so, is the model object the upmost stack element? kuvera Piero Sartini írta: On

Re: Struts2 POJO Forms

2007-08-24 Thread Piero Sartini
On Friday 24 August 2007 12:29:23 Laszlo Borsos wrote: If some properties are in the action bean (e.g. hidden fields) and others in the model bean, will both be populated, because both object are found on the stack? If so, is the model object the upmost stack element? I am not sure if both

Re: Struts2 POJO Forms

2007-08-24 Thread Laszlo Borsos
Thank you. Actually that's exactly what I meant and what I need. Piero Sartini írta: On Friday 24 August 2007 12:29:23 Laszlo Borsos wrote: If some properties are in the action bean (e.g. hidden fields) and others in the model bean, will both be populated, because both object are found on

Struts2 POJO Forms

2007-08-23 Thread Pavel Sapozhnikov
Hi everybody. I remember in Struts1 we have those things ActionForms and when you submit a form everything gets copied to into a form in fact you can make your own form in Struts1. Is the same possible in Struts2 for instance I heard about the POJO Forms. How would I tell struts to use that POJO