Thanks matt Tried what you suggested but it doesnt work either
My first thought was, as you said, to change the order of the decorators in the XML file hoping it would effect their presendence but after the switch there is know difference. I then figured it was the string used for the match (the * matching everything), when i removed this decorator and tested my page it worked i.e. my page was decorated with the "install.jsp" as expected. Could this be a bug or maybe me missing something else where in the configuration of my decorator? mraible wrote: > > I would try moving your install decorator so it comes after the default > one. > > If that doesn't work, add /WEB-INF/pages/performInstall.jsp as a > pattern as well. Since SiteMesh is mapped to both REQUEST and FORWARD, > you need to include both patterns. > > Matt > > On 6/20/07, mark.forster <[EMAIL PROTECTED]> wrote: >> >> Can you elaborate as to how to do this. >> >> I am trying to do this too. I know what i need to do with the decorators >> but >> my implementation does not seem to work (See below) >> >> Basically i want an install page to NOT be decorated with the default.jsp >> but with the install.jsp. >> >> So, when the user types "performInstall.html", the install decorator >> decorates my page. >> >> P.S., i am a newbie and have scoured the web for answers please help >> <decorators defaultdir="/decorators"> >> <excludes> >> <pattern>/*ajax=true*</pattern> >> <pattern>/struts/dojo/*</pattern> <!-- OK to remove if you're not >> using Struts --> >> <pattern>/resources/*</pattern> >> </excludes> >> >> >> >> <decorator name="install" page="install.jsp"> >> <pattern>/performInstall.*</pattern> >> </decorator> >> >> <decorator name="default" page="default.jsp"> >> <pattern>/*</pattern> >> </decorator> >> </decorators> >> >> melinate wrote: >> > >> > I believe that the menu is added to the page using SiteMesh. One >> option >> > would be to have two sitemesh decorators--one with the menu and one >> > without. Then make all the pages that should not have the menu match >> some >> > pattern so SiteMesh can apply the proper decorator. >> > >> > Nathan >> > >> > >> > ----- Original Message ----- >> > From: "Stelios Togias" <[EMAIL PROTECTED]> >> > To: [email protected] >> > Sent: Thursday, May 3, 2007 11:34:59 AM (GMT-0800) America/Los_Angeles >> > Subject: [appfuse-user] Excluding certain pages from the default menu >> > >> > Hi, >> > >> > I need to have some pages excluded from having the default appfuse >> menu. >> > Actually not having anything added to them. Just do them manualy. I've >> > seen that in menu-config.xml is where the menus are defined but not >> thats >> > all I found. Any ideas? >> > >> > thanks >> > stelios >> > >> > --------------------------------------------------------------------- >> > To unsubscribe, e-mail: [EMAIL PROTECTED] >> > For additional commands, e-mail: [EMAIL PROTECTED] >> > >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/Excluding-certain-pages-from-the-default-menu-tf3689251s2369.html#a11215262 >> Sent from the AppFuse - User mailing list archive at Nabble.com. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > > -- > http://raibledesigns.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Excluding-certain-pages-from-the-default-menu-tf3689251s2369.html#a11216271 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
