AW: Issue in Action Chaining

2009-04-22 Thread Anastasios Patrikis
Nachricht- Von: satyanarayana katta [mailto:saty.pra...@gmail.com] Gesendet: Mittwoch, 22. April 2009 08:04 An: Struts Users Mailing List; w...@wantii.com Betreff: Re: Issue in Action Chaining Hi Wesw, I also tried printing the object address and what you said is right!! It is creating a new

Re: Issue in Action Chaining

2009-04-21 Thread satyanarayana katta
Hi Wesw, I also tried printing the object address and what you said is right!! It is creating a new object. The object address is not same. Is there any other way of passing the data to the chained method? I want to use the redirect as the last option!! Rgds, Satya On Tue, Apr 21, 2009 at 10

Re: Issue in Action Chaining

2009-04-21 Thread satyanarayana katta
No it doesn't work. Chain is not accepting any of the parameters strings. Its going to the global error page directly. Rgds, Satya On Tue, Apr 21, 2009 at 10:22 PM, Nils-Helge Garli Hegvik wrote: > I'm not sure if this applies to the chain result, but you could give > it a shot: > http://strut

Re: Issue in Action Chaining

2009-04-21 Thread satyanarayana katta
Hi Wesw, Thanks for the reply. Yes, I meant to say testChain(). Thanks for that. So, how is the old data being retained. Does it take it from the http request and recreates the new instance? If that is the case, what other options do I have to get the changed data into the chained method? Tha

Re: Issue in Action Chaining

2009-04-21 Thread Nils-Helge Garli Hegvik
I'm not sure if this applies to the chain result, but you could give it a shot: http://struts.apache.org/2.1.6/docs/parameters-in-configuration-results.html Nils-H On Wed, Apr 22, 2009 at 6:36 AM, satyanarayana katta wrote: > Hi All, > I have a Action class > > class BaseAction extends ActionSu

Re: Issue in Action Chaining

2009-04-21 Thread Wes Wannemacher
On Wednesday 22 April 2009 00:36:36 satyanarayana katta wrote: > Hi All, > I have a Action class > > class BaseAction extends ActionSupport { > private Sting data; > > public void getData() { > return this.data; > } > >public String setData(String data){ >this.data =

Issue in Action Chaining

2009-04-21 Thread satyanarayana katta
Hi All, I have a Action class class BaseAction extends ActionSupport { private Sting data; public void getData() { return this.data; } public String setData(String data){ this.data = data; } } class Action extends BaseAction{ public String execute() throws E