This articles will show you how to use custom properties in sitemesh 3.
<content-processor>
<tag-rule-bundle class="org.sitemesh.content.tagrule.html.DivExtractingTagRuleBundle"/>
</content-processor>
Decorator file
Add the div ID to the decorator file at the location you want the property to show up.
<sitemesh:write property="div.page_breadcrumb"/>
Actual template file
In the JSP or HTML file that you want to insert the custom property in, add the line.
div#page_breadcrumb {
display:none;
}
Thanks for stopping by.