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? Regards Akshay On Thu, Sep 25, 2014 at 8:56 PM, Lance Java <lance.j...@googlemail.com> wrote: > Went would you want to do that? Css should be considered static. Tapestry > uses far future expire headers for css so that browsers can aggressively > cache them. > On 25 Sep 2014 15:23, "akshay" <akshayestat...@gmail.com> wrote: > > > Hi, > > > > Is there any way in tapestry 5.4 (*production mode) *where-in, I can > fire > > the tapestry compiling chain again ( so that my less file are compiled > > again). > > > > I am able to get this done in *development *mode, by adding a request > > filter(which picks my dynamic changes on the file), by adding my > > RequestHandler in AppModule class:- > > > > public void contributeRequestHandler( > > OrderedConfiguration<RequestFilter> configuration) { > > configuration.addInstance("XYZRequestFilter", > > XYZRequestFilter.class, "before:*"); > > } > > > > > > But the same approach, doesn't work in production mode( since the caching > > mechanism is different). > > > > Any idea/suggestions would be of great help. > > > > > > Regards, > > Akshay > > > -- Cheers!! Akshay