You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Adam Sherman <ad...@tritus.ca> on 2003/03/30 05:48:47 UTC

Populating a Form

I feel this might be a RTFM, but have not found an answer.

How to I populate a form with values I want edited without those values 
reappearing when validation fails?

I have a chunk of JSP that I want to use for both the blank form and the 
"edit" form that would be pre-populated with existing values. Using the 
<html:text> tags "value" attribute seems to have the effect of the empty 
values reappearing after validation fails.

Maybe I'm approaching this completely wrong?

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