Hi Thiago, Thanks for the idea. I have to give a try! whooo :( !!!!
I see another different problem occurring yesterday, that my streamed css response that is returned from the tapestry page gets overridden by the bootstrap.css. I have something like this in my layout component inside the header tag (which of course is not the best idea). <link href="${contextPath}/config/LessToCss" rel='stylesheet' type='text/css'/>. I already saw the tapestry mailing list about how to override the bootstrap.css , but my scenario is bit different as I have a Stream Response of css content ( and not a physically present css file). I need to have a way so that my Streamed css response get loaded after the bootstrap.css. Any help on this, I was unable to find a relevant documentation for this. Regards Akshay On Mon, Oct 6, 2014 at 11:45 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Mon, 06 Oct 2014 06:05:25 -0300, akshay <akshayestat...@gmail.com> > wrote: > > Hi Thiago, >> > > Hi! > > Yes, of course. I will share the solution, but I have one more >> withstanding >> problem. >> >> In my compiled CSS the image paths are wrong. >> >> In my less file the images are referenced with relative path, like >> >> @product: url(../images/product.svg); >> > > Do your really need relative paths? They usually mess up things when > inside an environment in which URLs may be mapped in a different way as in > the filesystem folders. As you're using some kind of template to generate > the Less file to be compiled, you could pass the prefix to these URLs > instead of using relative paths. > > I can figure out the problem that, in the tapestry way of compilation the >> images are loaded as an assets and tapestry gives the assets the specific >> URLs (as mentioned above) . Since in my case I am using the Less Compiler >> directly, the compiled CSS instead points to the relative path url >> (../images/product.svg). >> > > This could be avoided if you tried to figure out the code inside Tapestry > that deals with Less compilation. > > > -- > 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