Matt's Spring Live book convinced me to give SiteMesh a try and move away from Tiles. So I have been using SiteMesh for a couple of weeks now, but I haven't really had to change the configuration until today. Today I wanted to use a different decorator than the default decorator and I had a rough time. I had a couple of different pages to help me out: Will Iverson's Intro Tutorial to SiteMesh, Rick Reumann's Strut'in SiteMesh Tutorial and of course the SiteMesh home page.
One of the points that got me confused was Will Iverson's tutorial talking about the default order that decorators will be applied. It is only the default if you have it setup that way in the sitemesh.xml file (IE you are using the sitemesh.xml that comes with sitemesh-blank.war). Once I figured out that the sitemesh.xml had to be altered, I still didn't know that order mattered. I feel like a dunce because it took me over two hours to figure out how to get a new decorator to work.
Posted by carl at October 30, 2004 04:17 PM
Comments