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]