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 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 about the POJO Forms. How would I tell struts to use that
>> POJO Form for this action?
> 
> First, in s2 your action may be a POJO itself or implement "ModelDriven".
> See http://struts.apache.org/2.0.9/docs/model-driven-interceptor.html
> for more information.
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to