Thanks for the response. We don't have that in our current version of
the decorator, so I must have accidentally deleted it at some point.
I'll add it back in.

 

Thanks again.

-- Corey

 

________________________________

From: Michael Horwitz [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 12, 2007 1:53 PM
To: [email protected]
Subject: Re: [appfuse-user] Where does currentMenu come from in
cssHorizontalMenu.vm?

 

It is set by sitemesh when it assembles the page. If you look in
/decorator/default.jsp:

 

<c:set var="currentMenu" scope="request"><decorator:getProperty
property="meta.menu"/></c:set>

 

And you will see that each page has an entry of the form <meta
name="menu" content="UserMenu"/> in its head.

 

Mike.

 

On 3/12/07, Sanders, Corey <[EMAIL PROTECTED]> wrote: 

I am working on customizing the menu display in cssHorizontalMenu.vm and
I am having some trouble with the currentMenu variable. It doesn't seem
to ever get a value. Where is the currentMenu variable populated? 

 

Thanks,

 

---

Corey Sanders

Senior Software Developer

Sterling Commerce, an AT&T Company

Phone: (614) 659-6860

Fax: (614) 793-7045

 

 

Reply via email to