Hi Al,
I was having what I think was the same problem and have come up with a way
to deal with it (which you may have already figured out by now).
I have my actions set up using Post-Redirect-Get, so that the processing of
a view (form) is its own action and the preparation of the subsequent vie
IH/NCI) [C] [mailto:[EMAIL PROTECTED]
Sent: 21 September 2007 17:54
To: Struts Users Mailing List
Cc: [EMAIL PROTECTED]
Subject: RE: [s2.0.9] Is there a better way to do this...
Hi Al,
I am having the same problem with s:select and validation. I found your
thread when I searched the user group f
o: 'Struts Users Mailing List'
Subject: RE: [s2.0.9] Is there a better way to do this...
Ok, Looks like the first part is confusion in terminology. I took Action
to
mean an action as defined in struts.xml, but I now see Richard meant a
single class used to declare two actions.
Your solutio
Al Sutton-4 wrote:
>
> Ok, Looks like the first part is confusion in terminology. I took Action
> to
> mean an action as defined in struts.xml, but I now see Richard meant a
> single class used to declare two actions.
>
> Your solution to the second part doesn't seem right to me. My
> underst
message passing between actions and allows validation to be
enabled.
Thanks for the suggestion though.
-Original Message-
From: cilquirm [mailto:[EMAIL PROTECTED]
Sent: 06 September 2007 16:32
To: user@struts.apache.org
Subject: RE: [s2.0.9] Is there a better way to do this...
Al
if ( !everythignChecksOut ) {
preparePrep();
return INPUT;
}
return SUCCESS;
}
}
HTH,
-a
Al Sutton-4 wrote:
>
>
>
> -Original Message-
> From: Richard Sayre [mailto:[EMAIL PROTECTED]
> Sent: 06 September 2007 13:33
> To: Struts Us
list from the database in the prepare
method?
Al.
-Original Message-
From: Richard Sayre [mailto:[EMAIL PROTECTED]
Sent: 06 September 2007 13:33
To: Struts Users Mailing List
Subject: Re: [s2.0.9] Is there a better way to do this...
I use the prepare method to populate my lists. See
I use the prepare method to populate my lists. See the Prepareable
interface.I also would put this in Action B. Is there a specific
reason why you are using 2 actions?
On 9/6/07, Al Sutton <[EMAIL PROTECTED]> wrote:
> Here's a problem I've come across a couple of times and the solution I hav
8 matches
Mail list logo