Decorating WW2 Actions with an exclude

Matt Dowell <[email protected]>
Newsgroups gmane.comp.web.sitemesh.general
Message-ID <24197894.1112279854094.JavaMail.os-j2ee@opensymphony01.contegix.com>
I answered my own question. Here is how I got it to work. Do the leading '/' have an effect?

[code]
<decorators defaultdir="/decorators">

    <decorator name="main" page="group/group_main.jsp">
        <pattern>/*.jsp</pattern>
        <pattern>/*.action</pattern>
        <pattern>*.jsp</pattern>
        <pattern>*.action</pattern>
    </decorator>

    <decorator name="main_login" page="group/group_login.jsp">
        <pattern>listGroups.action</pattern>
        <pattern>loginGroup.action*</pattern>
        <pattern>login.jsp</pattern>
        <pattern>UserGroupList.jsp</pattern>
        <pattern>/listGroups.action</pattern>
        <pattern>/loginGroup.action*</pattern>
        <pattern>/login.jsp</pattern>
        <pattern>/UserGroupList.jsp</pattern>
    </decorator>

</decorators>
[/code]

---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=1171&messageID=3787#3787


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.