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. There is a > test app that can be run via maven (mvn clean jetty:run). Hitting > http://localhost:8080/ will cause a stack trace that describes what appears > to be a failed attempt to less-compile non-ascii text. However, strangely, > it seems to work for context assets (.less files), but doesn't work if the > CSS is imported in a component. Both examples are present in the test > project. The latter appears to have been gzipped prior to the point that my > filter gets it and therefore cannot be less-compiled. I have tried adding > this to the configuration with "before:GZIP" with no effect. As I am trying > to create a drop-in library, I don't think it would be nice to require gzip > to be disabled. > > Does anyone have any advice on altering the response in a filter without > having gzip step all over it? > > Thanks! >
-- Howard M. Lewis Ship Creator of Apache Tapestry The source for Tapestry training, mentoring and support. Contact me to learn how I can get you up and productive in Tapestry fast! (971) 678-5210 http://howardlewisship.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org