you are not setting the regular expression in the "excludeParameters"
attribute of the interceptor.

musachy

On Thu, Dec 4, 2008 at 12:11 PM, RajibJana <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I am using Struts 2.0.14  and dojo 1.2.2 to build a RIA application.
>
> In the application, I use dojo form widget to submit the form value to
> action class using POST method.
>
> In the form widget, I have userid and password field that are mapped to
> action class fields, but there is a dojo button for which there is no
> mapping field. The parametersinterceptor is trying to set the value for
> submit button in the action class and is giving problems.
>
> I build a interceptor stack that includes the param interceptor and set the
> excludeparams to a regular expression.
>
> <interceptors>
>            <interceptor-stack name="appStack">
>                <interceptor-ref name="params" >
>
>                       _\D+?
>
>                 </interceptor-ref>
>               <interceptor-ref name="defaultStack" />
>            </interceptor-stack>
> </interceptors>
>
> The submit button name is "_submitButton". Still I am getting
> parametersinterceptor error.
>
> Help is needed.
>
> Rajib
> --
> View this message in context: 
> http://www.nabble.com/ExcludeParams-in-params-interceptor-is-not-working-tp20837906p20837906.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to