Re: GZip Filter getting in the way of my LessCSS Filter

2011-06-16 Thread redijedi
Thanks for all of your help! I ended up hacking up the URI from the request and creating context: and classpath: resource paths manually. Seems clunky, but works. -- View this message in context: http://tapestry.1045711.n5.nabble.com/GZip-Filter-getting-in-the-way-of-my-LessCSS-Filter

GZip Filter getting in the way of my LessCSS Filter

2011-06-15 Thread Todd Orr
I am trying to integrate LessCSS into T5 as a request filter. I have an admittedly naive implementation on GitHub ( https://github.com/redijedi/tapestry-less). It works, kind of. There is a test app that can be run via maven (mvn clean jetty:run). Hitting http://localhost:8080/ will cause a stack

Re: GZip Filter getting in the way of my LessCSS Filter

2011-06-15 Thread Thiago H. de Paula Figueiredo
On Wed, 15 Jun 2011 12:10:58 -0300, Todd Orr torr0...@gmail.com wrote: I am trying to integrate LessCSS into T5 as a request filter.I have an admittedly naive implementation on GitHub ( https://github.com/redijedi/tapestry-less). It works, kind of. filter gets it and therefore cannot be

Re: GZip Filter getting in the way of my LessCSS Filter

2011-06-15 Thread Howard Lewis Ship
This kind of thing is easier in Tapestry 5.3. On Wed, Jun 15, 2011 at 8:10 AM, Todd Orr torr0...@gmail.com wrote: I am trying to integrate LessCSS into T5 as a request filter. I have an admittedly naive implementation on GitHub ( https://github.com/redijedi/tapestry-less). It works, kind of.

Re: GZip Filter getting in the way of my LessCSS Filter

2011-06-15 Thread Todd Orr
The pipeline seems to be created as expected...Perhaps there's something else going on...Yes very strange. I've added a few more css/less files to try to isolate the problem. It appears as though index.less works as: @bgcolor: red; .rounded-corners { border-radius: 5px; } p {

Re: GZip Filter getting in the way of my LessCSS Filter

2011-06-15 Thread Todd Orr
I have narrowed it down somewhat. I set a breakpoint after the handler(...) call to view the responses. All .less files that are very simple return this response (or something like it): HTTP/1.1 200 Last-Modified: Wed, 15 Jun 2011 18:15:46 GMT Content-Length: 57 Content-Type:

Re: GZip Filter getting in the way of my LessCSS Filter

2011-06-15 Thread Thiago H. de Paula Figueiredo
On Wed, 15 Jun 2011 17:10:52 -0300, Todd Orr torr0...@gmail.com wrote: HTTP/1.1 200 Last-Modified: Wed, 15 Jun 2011 18:15:46 GMT Content-Length: 57 Content-Type: application/octet-stream Your CSS is being delivered with the wrong MIME type. It should be text/css. Anything that is even

Re: GZip Filter getting in the way of my LessCSS Filter

2011-06-15 Thread Josh Canfield
GZIPFilter has a min_gzip_size which defaults to 100, according to the docs. From your LessRequestFilter: LessRequestWrapper lessRequest = new LessRequestWrapper(request); LessResponseWrapper lessResponse = new LessResponseWrapper(response); // Send the

Re: GZip Filter getting in the way of my LessCSS Filter

2011-06-15 Thread redijedi
? -- View this message in context: http://tapestry.1045711.n5.nabble.com/GZip-Filter-getting-in-the-way-of-my-LessCSS-Filter-tp4491550p4493252.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e