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
he request data?
--
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
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 reque
On Wed, 15 Jun 2011 17:10:52 -0300, Todd Orr 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 slightly more complic
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: application/octet
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 {
backgro
This kind of thing is easier in Tapestry 5.3.
On Wed, Jun 15, 2011 at 8:10 AM, Todd Orr 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. There is a
> test
On Wed, 15 Jun 2011 12:10:58 -0300, Todd Orr 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 less-compiled. I have
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 t