Hi,
I have a site that works ok with sitemesh2, but I want some of the new functionality in sitemesh3 so I am trying it out. I am doing the following:
On each decorated page I have a <meta name='menu' content='something'/> tag in the header. In the decorator I have navigation, and I am fetching the menu from the meta tag and highlighting the current menu and showing the appropriate submenu etc. I'm doing this with:
<c:set var="menu">
<decorator:getProperty ="meta.menu" default="overview" />
</c:set>
and then using jsp tags to show and hide the relevant parts of the menu. Not very attractive but it works.
The question is, how do I do this in sitemesh3? I've tried just replacing the decorator:getProperty tag with sitemesh:write property="meta.menu" /> but it doesn't work, I know I must be missing something...
thanks
Mark