struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Huber <gregh3...@gmail.com>
Subject Re: beta3 testing
Date Sun, 06 Mar 2016 10:50:41 GMT
Here is MyStack:

<interceptor-stack name="MyStack">
                <interceptor-ref name="exception" />
                <interceptor-ref name="servletConfig" />
                <interceptor-ref name="chain" />
                <interceptor-ref name="fileUpload" />
                <interceptor-ref name="checkbox" />
                <interceptor-ref name="multiselect" />
                <interceptor-ref name="actionMappingParams" />
                <interceptor-ref name="params" />
                <interceptor-ref name="conversionError" />

                <!-- Custom Interceptors -->
                <interceptor-ref name="ActionPrepareInterceptor">
                    <param name="excludeMethods">cancel*</param>
                </interceptor-ref>
                <interceptor-ref name="DMIAwareValidationInterceptor">
                    <param name="excludeMethods">execute,cancel*</param>
                </interceptor-ref>

                <interceptor-ref name="workflow">
                    <param name="excludeMethods">execute,cancel*</param>
                </interceptor-ref>

            </interceptor-stack>

It is the ActionPrepareInterceptor & DMIAwareValidationInterceptor that
does not get called.

On 6 March 2016 at 10:41, Lukasz Lenart <lukaszlenart@apache.org> wrote:

> 2016-03-06 11:37 GMT+01:00 Greg Huber <gregh3269@gmail.com>:
> > It definitely does not include/call myStack, as I can see it does not
> call
> > an initialise method I use.
> >
> > here is the action:
> >
> >         <action name="mySelect" method="submit"
> >                 class="mypackage.MySelect">
> >             <!-- Save context from redirect success action -->
> >             <interceptor-ref name="store">
> >                 <param name="operationMode">STORE</param>
> >             </interceptor-ref>
> >             <!-- <interceptor-ref name="myStack" /> -->
> >             <result name="success" type="redirectAction">
> >                 <param name="actionName">favourites</param>
> >                 <param name="pgn">${pageNum}</param>
> >                 <param name="searchString">${searchString}</param>
> >                 <param name="suppressEmptyParameters">true</param>
> >             </result>
> >             <result name="error" type="chain">favourites</result>
> >         </action>
>
> Are you sure that the session was created and it's available?
>
> What interceptors do you have in "myStack"? Maybe it's a side effect
> of changes in ActionInvocation and some other interceptor was
> depending on that.
>
>
> Regards
> --
> Ɓukasz
> + 48 606 323 122 http://www.lenart.org.pl/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message