Re: Form values getting empty After validation failure

2010-03-25 Thread Greg Lindholm
Does this FAQ entry help? http://struts.apache.org/2.x/docs/how-do-we-repopulate-controls-when-validation-fails.html - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.a

RE: Form values getting empty After validation failure

2010-03-25 Thread adam pinder
ct: Re: Form values getting empty After validation failure > From: pundari...@gmail.com > To: user@struts.apache.org > > Hi Adam, > > You are right. The problem is fixed now. However I am facing a different > issue now. I also have a couple of html select controls in the page. Fo

Re: Form values getting empty After validation failure

2010-03-24 Thread pundarik rajkhowa
ction it should > retrieve the value and re-display them > > i have a similar thing and it works fine. > > > > > > Date: Wed, 24 Mar 2010 11:45:49 +0530 > > Subject: Form values getting empty After validation failure > > Fro

RE: Form values getting empty After validation failure

2010-03-24 Thread adam pinder
works fine. > Date: Wed, 24 Mar 2010 11:45:49 +0530 > Subject: Form values getting empty After validation failure > From: pundari...@gmail.com > To: user@struts.apache.org > > Hi, > > I am using html file control to upload a file

Re: Form values getting empty After validation failure

2010-03-24 Thread Alex Rodriguez Lopez
Hi, don't know if it will be usefull, but some days ago someone in the user list suggested using the getters and setters of the properties that map to your form to call get() and put() methods of the current session ( ActionContext.getContext().getSession() ) , so you get "automatic" session

Form values getting empty After validation failure

2010-03-23 Thread pundarik rajkhowa
Hi, I am using html file control to upload a file. If file size exceeds a limit, then I return an error from Action class through ActionMessages object. The errors are displayed fine.The problem is that the input form has around 10 fields and after I return control to it for file size limit error