Meaningless Drivel is fun!*
The moose likes Struts and the fly likes text field not populating after validate() fails. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "text field not populating after validate() fails." Watch "text field not populating after validate() fails." New topic
Author

text field not populating after validate() fails.

Vikrama Sanjeeva
Ranch Hand

Joined: Sep 02, 2001
Posts: 756
Hi,

I have a form which consists of pull-down menus, radio button, text area and text fields. The form takes all the required input fields from user, validate them and if validation fail's, the same form is called with pre-populated values (as entered 1st time by user). This is true when there is NO form "name" and "type" is given in form tag. But when I give form "name" and "type" in form tag, only pull-down menus are populated if validation fails. Whereas, text field, text area and radio buttons are not pre-poulated.

I'm not sure what is going wrong here?? Below is the related code I'm using.



Bye,
Viki.
[ December 21, 2005: Message edited by: Vikrama Sanjeeva ]

Count the flowers of your garden, NOT the leafs which falls away!
Prepare IBM Exam 340 by joining http://groups.yahoo.com/group/IBM340Exam/
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: text field not populating after validate() fails.