apply decorator base on url pattern or parameter?

Max Wang <[email protected]> Tue, 28 Jun 2005 04:21:28 CDT
Newsgroups gmane.comp.web.sitemesh.general,gmane.comp.lang.pnuts.user
Message-ID <29096398.1119950532223.JavaMail.os-j2ee@opensymphony01.contegix.com>
My website need a submenu in main menu! just like :
  Main--------
          |
          |-----store
          |
          |------forum

All  page's header and footer is same, but store and forum need different menu. How can i do it use sitemesh?
My thought is :
    I use one decorator decorate all pages, then decorator apply other decorators base on url pattern or parameter ,
But how can i do it???

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]