Re: Prepare method being invoked twice

2008-09-17 Thread Jayeshpowar
lass gets invoked twice > before getting to the intended method.In first invocation the variables > inside the action class are all null , However in second invocation they > all are prefilled from the page.Can anyone explain why it gets invoked > twice ?. > -- View this message i

Re: Prepare method being invoked twice

2008-08-14 Thread Laurie Harper
Kibo wrote: Hi When you see struts-default.xml, you find out that the paramsPrepareParamsStack call the interceptor params twice. You can set up your struts-default.xml or in struts.xml define your own modified interceptor stack:

Re: Prepare method being invoked twice

2008-08-14 Thread Kibo
: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Tomas Jurman Czech Republic -- View this message in context: http://www.nabble.com/Prepare-method-being-invoked-twice-tp18978969p18988306.html Sent from the Struts - User mailing list archive at Nabble.com

Re: Prepare method being invoked twice

2008-08-14 Thread Dave Newton
--- On Thu, 8/14/08, Lukasz Lenart wrote: > Just leave prepare() empty (you can also setup interceptor to don't > call prepare() method) and implement prepare() IMO it's preferable to simply not implement prepare() rather than leave it blank (which is misleading). Configuring a Preparable actio

Re: Prepare method being invoked twice

2008-08-14 Thread Dave Newton
> > Lukasz > > http://www.lenart.org.pl/ > > > > > ----------------- > > To unsubscribe, e-mail: > [EMAIL PROTECTED] > > For additional commands, e-mail: > [EMAIL PROTECTED] > > > >

Re: Prepare method being invoked twice

2008-08-14 Thread Lukasz Lenart
> Thanks Lukasz for quick reply.But the action class that has the prepare > method has four methods . Just leave prepare() empty (you can also setup interceptor to don't call prepare() method) and implement prepare() Regards -- Lukasz http://www.lenart.org.pl/ -

Re: Prepare method being invoked twice

2008-08-14 Thread Jayeshpowar
--- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Prepare-method-being-invoked-twice-tp18978969p18979442.html Sent fr

Re: Prepare method being invoked twice

2008-08-14 Thread Lukasz Lenart
> I have an action class which implements preparable . It works fine but i > noticed that the prepare method inside the action class gets invoked twice > before getting to the intended method.In first invocation the variables > inside the action class are all null , However in second invocation the

Prepare method being invoked twice

2008-08-14 Thread Jayeshpowar
all are prefilled from the page.Can anyone explain why it gets invoked twice ?. -- View this message in context: http://www.nabble.com/Prepare-method-being-invoked-twice-tp18978969p18978969.html Sent from the Struts - User mailing list archive at Nabble.com