lost form data when validate returns errors

2003-06-13 Thread Sashi Ravipati
Hi I have the form info in my action and it passes the form's validation, but if I add an error the displayed page doesn't have the form info. The error displays properly, but I lose all the form data.? Will the reset() method be called when a validation error occurs? Sashi

RE: lost form data when validate returns errors

2003-06-13 Thread Mark Galbreath
A very similar discussion is taking place on irc.darkmyst.org 6667 right now -Original Message- From: Sashi Ravipati [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2003 8:44 AM To: [EMAIL PROTECTED] Subject: lost form data when validate returns errors Hi I have the form info

Re: lost form data when validate returns errors

2003-06-13 Thread Sandeep Takhar
reset() populate() validate() I believe sandeep --- Sashi Ravipati [EMAIL PROTECTED] wrote: Hi I have the form info in my action and it passes the form's validation, but if I add an error the displayed page doesn't have the form info. The error displays properly, but I lose all the

RE: RE: lost form data when validate returns errors

2002-04-04 Thread mtStruts
bean back to nothing. -- Larry Maturo   [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 03, 2002 11:04 AM To: Struts Users Mailing List Subject: Re: lost form data when validate returns errors Dan, I am having the exact

RE: lost form data when validate returns errors]

2002-04-04 Thread mtStruts
just sets the member variables in the form bean back to nothing. -- Larry Maturo   [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 03, 2002 11:04 AM To: Struts Users Mailing List Subject: Re: lost form data when validate

Re: lost form data when validate returns errors

2002-04-03 Thread mtStruts
Dan, I am having the exact same problem! In my struts-config.xml I have my formBeans set to request scope, so I suspect that this causes the information in my form to disappear. I don't want to have the bean persist for the whole session because users will be coming back to this page.

RE: lost form data when validate returns errors

2002-04-03 Thread Maturo, Larry
. -- Larry Maturo [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 03, 2002 11:04 AM To: Struts Users Mailing List Subject: Re: lost form data when validate returns errors Dan, I am having the exact same problem! In my

Re: lost form data when validate returns errors

2002-01-30 Thread Antony Stace
Re: lost form data when validate returns errors Ted Husted wrote: Dan Tanner wrote: I'm having the problem of losing form data when my action class returns errors. The error displays properly, but I lose all the form data. If you are talking about form data that is generated by an Action

Re: lost form data when validate returns errors

2001-12-08 Thread David Winterfeldt
--- Ted Husted [EMAIL PROTECTED] wrote: Calling reset is a prelude to autopopulation. Unless the request is being redirected along the way, this should just put the same values back into the ActionForm. Reset must be called to ensure that the properties for some controls, like

lost form data when validate returns errors

2001-12-07 Thread Dan Tanner
I'm having the problem of losing form data when my action class returns errors. The error displays properly, but I lose all the form data. Looking at older posts, I've seen the same problem, but haven't seen a fix or workaround yet. I've included the relevant code snippets. Also, I like the

RE: lost form data when validate returns errors

2001-12-07 Thread See Yam Lim
. See-Yam -Original Message- From: Dan Tanner [mailto:[EMAIL PROTECTED]] Sent: Friday, December 07, 2001 2:11 PM To: [EMAIL PROTECTED] Subject: lost form data when validate returns errors I'm having the problem of losing form data when my action class returns errors

Re: lost form data when validate returns errors

2001-12-07 Thread David Winterfeldt
--- Dan Tanner [EMAIL PROTECTED] wrote: I'm having the problem of losing form data when my action class returns errors. The error displays properly, but I lose all the form data. Maybe there is an issue with the reset method in your ActionForm? The validation error messages make sense?

Re: lost form data when validate returns errors

2001-12-07 Thread Ted Husted
Dan Tanner wrote: I'm having the problem of losing form data when my action class returns errors. The error displays properly, but I lose all the form data. If you are talking about form data that is generated by an Action, and not passed back through the HTTP request, then you may need to

Re: lost form data when validate returns errors

2001-12-07 Thread Dan Tanner
I'm having the problem of losing form data when my action class returns errors. The error displays properly, but I lose all the form data. Maybe there is an issue with the reset method in your ActionForm? The validation error messages make sense? If they do then the data is being