Decorating WW2 Actions with an exclude

Matt Dowell <[email protected]>
Newsgroups gmane.comp.web.sitemesh.general
Message-ID <20552421.1112235229137.JavaMail.os-j2ee@opensymphony01.contegix.com>
Want to decorate my whole Webwork application, except for the login pages. First question, do I map the .action path, or the view path (jsp)? Second question, how come the following mapping does not work (it doesn't map anything) Here is my mapping that is not working:

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

    <decorator name="main" page="group/group_main.jsp">
        <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>
    </decorator>

</decorators>
[/code]

Thanks for the help.

Matt Dowell

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


---------------------------------------------------------------------
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.