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
en 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?
> >
> > -Original Message-
>
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
, 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
: 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
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
6 matches
Mail list logo