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. For them , how do I get the select state restored ? As of now , they take the default value even after making a different selection.
regards, Pundarik On Wed, Mar 24, 2010 at 11:29 PM, adam pinder <apin...@hotmail.co.uk> wrote: > > > as long as you are simply re-displaying the same form associated with the > same action it should work like any other page - the input fields are > struts2 tags and there are getters for each property in the action 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 > > From: pundari...@gmail.com > > To: user@struts.apache.org > > > > 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 > display, > > all the form fields become empty. How do I retain the values in the form > > fields, any idea ? > > > > regards, > > Pundarik > _________________________________________________________________ > Send us your Hotmail stories and be featured in our newsletter > http://clk.atdmt.com/UKM/go/195013117/direct/01/ > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > >