Hi Thiago, Thanks!!
Yes I have already done this with css and its pretty simple( much more than modifying .less file). I had a servlet before doing this for me , but now with the requirement to modify .less files. I converted the Servlet into the Request Filter( added that filter into the AppModule class). Doing this yields me the desired output, but only in development mode(not in production mode). I want to achieve the same behavior in production mode. I debugged into the Request transfomer class and found that the resources are looked for changes(not without a server restart), only in the development mode. Wondering, how can I get a solution for it. Regards Akshay On Thu, Sep 25, 2014 at 11:37 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Thu, 25 Sep 2014 17:59:33 -0300, akshay <akshayestat...@gmail.com> > wrote: > > Hi, >> > > Hi! > > I am working on Theming the website and have a requirement where in I can >> directly change the Less variables dynamically(something like color) of >> the menu bar, before they are compiled into the css. >> Do we have any hook around for this? >> > > Without Less, I add a <style> element to my template inside <body> and > output the dynamic parts there, while keeping the static parts in a .css > file. > > With Less, you can try figuring out what's the Tapestry-IoC which compiles > Less and use directly, probably creating a Tapestry page to return the > resulting CSS wrapped in a StreamResponse. > > -- > Thiago H. de Paula Figueiredo > Tapestry, Java and Hibernate consultant and developer > http://machina.com.br > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- Cheers!! Akshay