ever went right to a JSP page and this seems to be pretty
> common from the Struts Apps I've seen.
> > I'd say after the action has been processed it would be a good idea to
> clear it from the request like you said.
> >
> > Shawn
> > -----Original Messa
07, 2007 8:48 AM
To: Struts Users Mailing List
Subject: Re: struts 1.2.9 and cancel button
By the way, have you considered using Struts 1.3.8? I have code
(currently) that works just fine and that does what you need (forward to
a *.do on cancel).
Clearly, you don't need to upgrade right now (you
e a good idea to clear it
from the request like you said.
Shawn
-Original Message-
From: [EMAIL PROTECTED] on behalf of Paul Benedict
Sent: Thu 12/6/2007 10:24 PM
To: Struts Users Mailing List
Subject: Re: struts 1.2.9 and cancel button
Unless you actually have processing to do, there&
ssage-
From: [EMAIL PROTECTED] on behalf of Paul Benedict
Sent: Thu 12/6/2007 10:24 PM
To: Struts Users Mailing List
Subject: Re: struts 1.2.9 and cancel button
Unless you actually have processing to do, there's no reason to forward to
/landingPage.do. You should be forwarding straight
ROTECTED]
> On Behalf Of Paul Benedict
> Sent: Thursday, December 06, 2007 4:38 PM
> To: Struts Users Mailing List
> Subject: Re: struts 1.2.9 and cancel button
>
> Have you attempted to set a breakpoint in the Controller and step
> through
> the cance
Sent: Thursday, December 06, 2007 4:38 PM
To: Struts Users Mailing List
Subject: Re: struts 1.2.9 and cancel button
Have you attempted to set a breakpoint in the Controller and step
through
the cancellable check?
On Dec 6, 2007 4:17 PM, Garner, Shawn <[EMAIL PROTECTED]>
wrote:
>
>
>
>
> And there is only one defined in the struts config.
>
> -Original Message-
> From: Alberto A. Flores [mailto:[EMAIL PROTECTED]
> Sent: Thursday, December 06, 2007 2:46 PM
> To: Struts Users Mailing List
> Subject: Re: struts 1.2.9 and cancel bu
: struts 1.2.9 and cancel button
Can you confirm that your form is pointing to the right path?
Also, check that you are not overriding the same path (in struts config)
with a similar path are overrideable.
Garner, Shawn wrote:
>>From the stack track it looks like the Mapping.isCancella
can you display the form
and display the configuration for your Action class
M-
- Original Message -
Wrom: ZAAFXISHJEXXIMQZUIVOTQNQEMSFDULHPQQWOYIYZUNN
To: "Struts Users Mailing List"
Sent: Thursday, December 06, 2007 2:27 PM
Subject: RE: struts 1.2.9 and cancel button
I wo
be? It is in the struts-config.xml under the right action.
Shawn
-Original Message-
From: Garner, Shawn
Sent: Thursday, December 06, 2007 1:27 PM
To: Struts Users Mailing List
Subject: RE: struts 1.2.9 and cancel button
I wonder if it is because we are using ValidatorPlugin or
RE: struts 1.2.9 and cancel button
I wonder if it is because we are using ValidatorPlugin or
LookupDispatchAction.
Seems like it isn't getting past the validations so it never gets to the
action:
2007,org.apache.struts.action.InvalidCancelException
org.apache.struts.action.InvalidCancelE
12:38 PM
To: Struts Users Mailing List
Subject: RE: struts 1.2.9 and cancel button
Which there is no bCancel variable in the source
Shawn
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Paul Benedict
Sent: Thursday, December 06, 2007 12:24 PM
To: Struts
6)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at
-Original Message-
From: Garner, Shawn
Sent: Thursday, December 06, 2007 12:39 PM
To: Struts Users Mailing List
Subject: RE: struts 1.2.9 and cancel button
I verified it was the right action, the one in the JSP
Subject: Re: struts 1.2.9 and cancel button
Did you add to the correct action mapping?
On Dec 6, 2007 9:42 AM, Garner, Shawn <[EMAIL PROTECTED]>
wrote:
> We trying to use the htm:cancel button but it is not working.
>
> I've followed the instructions here
>
>
htt
Which there is no bCancel variable in the source
Shawn
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Paul Benedict
Sent: Thursday, December 06, 2007 12:24 PM
To: Struts Users Mailing List
Subject: Re: struts 1.2.9 and cancel button
And what does the
And what does the rendered HTML look like for the cancel button?
Wer'e doing something like this:
-Original Message-
From: Alberto A. Flores [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 06, 2007 10:19 AM
To: Struts Users Mailing List
Subject: Re: struts 1.2.9 and cancel button
Can you post the snippet of the way you are using
Can you post the snippet of the way you are using
The "html:cancel" (Struts 1.x) tag still submits with interesting behavior:
- If the "property" attribute is "set", then the isCancelled() method
will not pick it up. Validation will still occurs (submission is attempted).
- If the "property" a
Did you add to the correct action mapping?
On Dec 6, 2007 9:42 AM, Garner, Shawn <[EMAIL PROTECTED]> wrote:
> We trying to use the htm:cancel button but it is not working.
>
> I've followed the instructions here
>
> http://wiki.apache.org/struts/StrutsUpgradeNotes128to129#head-e417741603
> dac43
We trying to use the htm:cancel button but it is not working.
I've followed the instructions here
http://wiki.apache.org/struts/StrutsUpgradeNotes128to129#head-e417741603
dac43bb4fbde589271c568309643e4
but we are still getting a
org.apache.struts.action.InvalidCancelException
We're using
20 matches
Mail list logo