Is this what you're looking for?

http://struts.apache.org/2.0.12/docs/interceptors.html#Interceptors-InterceptorParameterOverriding

Nils-H

On Thu, Oct 23, 2008 at 1:09 PM, Torsten Krah
<[EMAIL PROTECTED]> wrote:
> I am using my own Stack and wonder why parameter setting fails although i did
> exclude them:
>
>                                <interceptor-ref name="params">
>                                        <param 
> name="excludeParams">dojo\..*,d-.*-(p|s|o),^struts\..*</param>
>                                </interceptor-ref>
>
> I debugged a little bit and the fault is the "renderDirect" Action declared at
> struts-portlet-default.xml.
>
> ...
>        <default-interceptor-ref name="portletDefaultStack"/>
>
>        <action name="renderDirect"
> class="org.apache.struts2.portlet.dispatcher.DirectRenderFromEventAction">
>            <result name="success">${location}</result>
>        </action>
>
> ...
>
> It uses the portletDefaultStack and the defaultStack does include the params
> Interceptor which is configured to only exclude dojo ones.
> How can i change the behaviour? Afaik i can not overwrite existing stack
> definitions, amd i right?
> The only way i see at the moment is to patch the source xmls to confirm to my
> needs.
> I tried to overwrite everything and do not import the portlet default one but
> i cant get it work? Any ideas?
>
>
> --
> Bitte senden Sie mir keine Word- oder PowerPoint-Anhänge.
> Siehe http://www.gnu.org/philosophy/no-word-attachments.de.html
>
> Really, I'm not out to destroy Microsoft. That will just be a
> completely unintentional side effect."
>        -- Linus Torvalds
>

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

Reply via email to