Re: ActionForm is been called once only

2009-08-30 Thread Paweł Wielgus
Hi again, just to clarify, i'm talking about reset method inside any form that is a subclass of this one below: http://struts.apache.org/1.x/apidocs/org/apache/struts/action/ActionForm.html#reset(org.apache.struts.action.ActionMapping, javax.servlet.http.HttpServletRequest) and on every request t

Re: ActionForm is been called once only

2009-08-29 Thread sharadsingh
thanks Pawel for the help.. in the previous mail you told me about configuring. So i was just going through my struts-config file where i saw that i didnt specified the scope in the action mapping. Then i realized that reset is called whenever there is a new session, which means by default the sco

Re: ActionForm is been called once only

2009-08-29 Thread Paweł Wielgus
Hi, i was thinking about redirect scenario where You load some page through a redirect so there are two actions involved, and after redirect only one action is called. But that's just a wild guesing, so please send struts-config.xml and the action that You are reffering and form, so maybe i or some

Re: ActionForm is been called once only

2009-08-28 Thread sharadsingh
well all the points you said is ok for me the only thing i dont know about is the configuration. What kind of configuration you are talking about? Actually i am quite new to struts and so may be i dont know about some in-depth concepts. Paweł Wielgus wrote: > > Hi, > if it's not browser fault,

Re: ActionForm is been called once only

2009-08-28 Thread musomesa
In the time between the first time you go to the page and the second time where in your application is the data supposed to be? Chris -Original Message- From: Paweł Wielgus To: Struts Users Mailing List Sent: Fri, Aug 28, 2009 5:34 am Subject: Re: ActionForm is been

Re: ActionForm is been called once only

2009-08-28 Thread Paweł Wielgus
Hi, if it's not browser fault, then maybe configuration, are You dealing with redirect in this case? Or maybe You have some king of logic inside form's reset method. One another thing is action beeing defined twice with two different forms? Other than that i don't know, reset works always for me.

Re: ActionForm is been called once only

2009-08-28 Thread sharadsingh
well i applied break points on both "actionform" and "action" of the form and did both refresh and brand new request. It is been caught in both the times with the break point in the action but not in the actionform Paweł Wielgus wrote: > > Hi, > what do You mean by saying: > "if i try to open th

Re: ActionForm is been called once only

2009-08-28 Thread Paweł Wielgus
Hi, what do You mean by saying: "if i try to open the page again" what does that mean for real? hitting F5 or refresh button in browser? or a real brand new request. Best greetings, Paweł Wielgus. 2009/8/28 sharadsingh : > > i have an action form which i use to collect form data and also to set