You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Niall Pemberton <ni...@gmail.com> on 2007/01/03 03:44:57 UTC

Re: InvalidCancelException

Is tiles using an action to render the view - looks that way from the
stack trace.

Niall


On 12/28/06, Hehl, Thomas <Th...@acs-inc.com> wrote:
> We just upgraded to struts 1.2.9 and started getting this message when I
> pressed the cancel button. I fixed it once before, but it's popped up on
> another screen. So I went through the docs again and did as they instructed,
> but the problem continues. Here's the problem code:
>
>                 <action         path="/deferTruth"
>
> type="org.springframework.web.struts.DelegatingActionProxy"
>                                         name="DeferForm"
>                                         validate="true"
>                                         input="defer.start"
>
>                                         >
>                                         <set-property property="cancellable"
> value="true"/>
>                                         <forward name="success"
> path="defer.truth"/>
>                                         <forward name="skip"
> path="/do/deferProcess"/>
>                                         <exception key="errors.cancel"
>
> type="org.apache.struts.action.InvalidCancelException"
>
> path="/do/workflowMgr?flowName=showStatus"/>
>                 </action>
>
>                 <action         path="/deferTruthProcess"
>
> type="com.acs.gs.eJuror.web.actions.BaselineTruthProcessAction"
>                                         name="DeferForm"
>                                         validate="false"
>                                         >
>                                         <set-property property="cancellable"
> value="true"/>
>                                         <forward name="success"
> path="/do/deferProcess"/>
>                                         <forward name="cancel"
> path="/do/workflowMgr?flowName=showStatus"/>
>                                         <exception key="errors.cancel"
>
> type="org.apache.struts.action.InvalidCancelException"
>
> path="/do/workflowMgr?flowName=showStatus"/>
>                 </action>
>
>
> /deferTruth displays the JSP from defer.truth that possesses the cancel
> button. The action for the form points to /deferTruthProcess. Does anyone
> know why this error persists?
>
> Thanks.
>
> org.apache.struts.action.InvalidCancelException
>
> org.apache.struts.action.RequestProcessor.processValidate(RequestProcessor.j
> ava:942)
>
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:207)
>
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
>
> org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
>         javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
>         javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>
> org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:10
> 85)
>
> org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcesso
> r.java:263)
>
> org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProces
> sor.java:398)
>
> org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequ
> estProcessor.java:318)
>
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:241)
>
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
>
> org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
>         javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
>         javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>
> org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:10
> 85)
>
> org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcesso
> r.java:263)
>
> org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProces
> sor.java:398)
>
> org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequ
> estProcessor.java:318)
>
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:241)
>
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
>
> org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
>         javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
>         javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>
> com.acs.gs.eJuror.web.servlet.SecurityFilter.doFilter(SecurityFilter.java:85
> )
>
>
> Thom Hehl
> Software Engineer, Juror Solutions
> * Office (859) 277-8800 x 144
> * Cell (419) 788-0642
> * Thomas.Hehl@acs-inc.com
>
> ACS, Inc.
> Government Solutions
> 1733 Harrodsburg Road
> Lexington, KY 40504-3617
>
> This e-mail message, including any attachments, is for the sole use of the
> intended recipient(s) and may contain confidential and privileged
> information.  Any unauthorized review, use, disclosure or distribution is
> prohibited.  If you are not the intended recipient, please contact the
> sender by reply e-mail and destroy all copies of the original message and
> notify sender via e-mail at Thomas.Hehl@acs-inc.com or by telephone at
> 859-277-8800 ext. 144.  Thank you.
>
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org