hi list,

somehow i'm always fighting with the decorator i want to decorator
files. one default and one for some pages.
i have this:

<decorators defaultdir="/decorators">
    <excludes>
        <pattern>/*decorate=false*</pattern>
        <pattern>/struts/dojo/*</pattern> <!-- OK to remove if you're
not using Struts -->
        <pattern>/resources/*</pattern>
        <pattern>/newSubscribe.html*</pattern>       
        <pattern>/newSubscribe.jsp*</pattern>       
        <pattern>/thanks.html*</pattern>       
        <pattern>/thanks.jsp*</pattern>       
    </excludes>
    <decorator name="default" page="default.jsp">
        <pattern>/*</pattern>
    </decorator>
    <decorator name="defaultNoAjax" page="defaultNoAjax.jsp">
        <pattern>/*ajax=false</pattern>
    </decorator>
</decorators>


i expect to have the default.jsp with all pages unless there is a
ajax=false in the url.
but all my pages use the default.jsp


thanks,

tibi

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

Reply via email to