Sitemesh 3 Custom Properties

This articles will show you how to use custom properties in sitemesh 3.  

Configure sitemesh3.xml

sitemesh_tag_rule  

Decorator file

Add the div ID to the decorator file at the location you want the property to show up.

sitemesh_decorator_file

Actual template file

In the JSP or HTML file that you want to insert the custom property in, add the line.

sitemesh_element_to_write  

Use CSS to hide the element

sitemesh_hide_element  

Thanks for stopping by.  

Add new comment