On Wed, Mar 25, 2009 at 2:56 PM, Martin Gainty <mgai...@hotmail.com> wrote: > > could you explain how sitemesh installs to (presumably the) template folder? > which sitemesh parameters are configurable? > > thanks, > Martin
[snip] >> > My requirement is we have set buttons in our applications with >> > different colors. >> > >> > For,ex in orkut and gmail change theme options the same way i want >> > to >> > implement in my application. I'm using struts 2 framework, if it any >> > template >> > based stuff, give me a suggestions I read his request to mean that he wants for users to be able to quickly change the overall look and feel of their app, as opposed to being able to change from xhtml to simple theme in struts. In a case like that, you can construct a link that will trigger sitemesh to choose a different decorator. SiteMesh delegates the choice of decorator to decorator mappers, and one if them, the ParameterDecoratorMapper makes it pretty easy to allow users to change their decorator. As far as you question, sitemesh does not install to the template folder... I figured that when the OP asked about templates, he wasn't necessarily talking about Struts2 templates. If he was, I don't think his problem is best solved with the Struts2 tag templating. -Wes -- Wes Wannemacher Author - Struts 2 In Practice Includes coverage of Struts 2.1, Spring, JPA, JQuery, Sitemesh and more http://www.manning.com/wannemacher --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org