Re: struts 1.2.9 and cancel button

2007-12-10 Thread Paul Benedict
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

RE: struts 1.2.9 and cancel button

2007-12-07 Thread Garner, Shawn
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

Re: struts 1.2.9 and cancel button

2007-12-07 Thread Alberto A. Flores
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&

RE: struts 1.2.9 and cancel button

2007-12-07 Thread Garner, Shawn
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

Re: struts 1.2.9 and cancel button

2007-12-06 Thread Paul Benedict
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

RE: struts 1.2.9 and cancel button

2007-12-06 Thread Garner, Shawn
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: >

Re: struts 1.2.9 and cancel button

2007-12-06 Thread Paul Benedict
> > > > 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

RE: struts 1.2.9 and cancel button

2007-12-06 Thread Garner, Shawn
ble is > returning false. > How can this 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

Re: struts 1.2.9 and cancel button

2007-12-06 Thread mgainty
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

Re: struts 1.2.9 and cancel button

2007-12-06 Thread Alberto A. Flores
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

2007-12-06 Thread Garner, Shawn
.process(ActionServlet.java:1196) 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 righ

RE: struts 1.2.9 and cancel button

2007-12-06 Thread Garner, Shawn
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

RE: struts 1.2.9 and cancel button

2007-12-06 Thread Garner, Shawn
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

RE: struts 1.2.9 and cancel button

2007-12-06 Thread Garner, Shawn
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

RE: struts 1.2.9 and cancel button

2007-12-06 Thread Garner, Shawn
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

Re: struts 1.2.9 and cancel button

2007-12-06 Thread Paul Benedict
And what does the rendered HTML look like for the cancel button?

RE: struts 1.2.9 and cancel button

2007-12-06 Thread Garner, Shawn
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

Re: struts 1.2.9 and cancel button

2007-12-06 Thread Alberto A. Flores
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

Re: struts 1.2.9 and cancel button

2007-12-06 Thread Paul Benedict
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