struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Sherman <a...@tritus.ca>
Subject RE: Populating a Form
Date Sun, 30 Mar 2003 17:10:17 GMT
On 03/30/03 09:59:54 -0700 Sterin, Ilya wrote:

> I still think it's the same, it inherits from ActionForm I believe, so
> reset should still be there.

I think we aren't on the same page.

Given some JSP:

<html:form action="/sender/update" focus="name">
	<html:text property="name" value="${LOADED_SENDER.name}" />
	<html:submit property="submit" value="Submit" />
</html:form>

The action is setup with 'validate="true"', so that validation occurs 
before the action gets called. My problem is that the value of the text 
field gets overwritten when the form is redrawn if validation fails.

Thanks,

A.


--
Adam Sherman
Tritus CG Inc.
http://www.tritus.ca/
+1 (613) 797-6819

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message