RE: Struts Form Beans Question

2004-05-05 Thread Daniel Kalcevich
Cool. It works great now. Thanks Hubert! -Original Message- From: Hubert Rabago [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 05, 2004 9:47 AM To: Struts Users Mailing List Subject: RE: Struts Form Beans Question Messages sent as recently as a few hours ago say you'd run

RE: Struts Form Beans Question

2004-05-05 Thread Hubert Rabago
05, 2004 9:12 AM > To: Struts Users Mailing List > Subject: RE: Struts Form Beans Question > > When validation fails during the call to /executeSearchResults, Struts > will > show the resource specified in the input attribute (".search") using the > form > that failed

RE: Struts Form Beans Question

2004-05-05 Thread Daniel Kalcevich
It works, but only if I use the name attribute on my tag. I set it to name="searchForm". Although my first part of my form tag is mailto:[EMAIL PROTECTED] Sent: Wednesday, May 05, 2004 9:12 AM To: Struts Users Mailing List Subject: RE: Struts Form Beans Question When validation fa

RE: Struts Form Beans Question

2004-05-05 Thread Hubert Rabago
, the searchForm validate() is called. > When it fails, I need to put the searchForm back into the request so > that it can return to the /search page. But if that happened, would the > values be populated because there is the searchForm object in the > request? > > -Origi

RE: Struts Form Beans Question

2004-05-05 Thread Daniel Kalcevich
: Hubert Rabago [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 05, 2004 8:53 AM To: Struts Users Mailing List Subject: Re: Struts Form Beans Question Yes. As long as your mappings are correct (and they would be if you're already seeing the behavior you described), Struts will preserve the values in

Re: Struts Form Beans Question

2004-05-05 Thread Hubert Rabago
Yes. As long as your mappings are correct (and they would be if you're already seeing the behavior you described), Struts will preserve the values in case of a validation error and allow the user to correct the mistakes. --- Daniel Kalcevich <[EMAIL PROTECTED]> wrote: > Is there a way that I can u

Struts Form Beans Question

2004-05-05 Thread Daniel Kalcevich
Is there a way that I can use "request" scope on an action mapping and have the submitted form bean be returned in the case of errors? What I have is a search form that when its submitted, calls the Validator and the Form Beans validate() method. Can I like set the form bean back into the request