If I understand it correctly, right now resources accesses with ResourceTransformer will have same url as the source.
It would be nice to have somekind of transform resources mapping, lets say we want to transform less file or files to css: virtualTransformResource("/css/bootstrap.css", "/less/bootstrap.less") - virtual resource "/css/bootstrap.css" will be resource "/less/bootstrap.less" transformed using ResourceTransformer, mimetypes are extracted from file names. Transforming all files from specified context: virtualTransformContext( "/css/", "/less/", "text/css", "text/less") - with additional from/to mimetypes to recognize what kind of files need to be transformed. Rewriting could be another solution for this but not so friendly. Denis On 12.10.2011, at 0:03, Howard Lewis Ship wrote: > Just checked in some changes as discussed below; not in a preview release yet. > > On Mon, Oct 10, 2011 at 2:01 PM, Thiago H. de Paula Figueiredo > <thiag...@gmail.com> wrote: >> On Mon, 10 Oct 2011 17:50:12 -0300, Cezary Biernacki <cezary...@gmail.com> >> wrote: >> >>> Hi, >> >> Hi! >> >>> I like that proposition. Is it possible to change ResourceTransformer and >>> include ResourceDependencies in Tapestry 5.3.* ? >> >> Tapestry 5.3 is still a beta, so this possibility exists (but don't consider >> this a promise). Please file a JIRA about it. >> >> -- >> Thiago H. de Paula Figueiredo >> Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and >> instructor >> Owner, Ars Machina Tecnologia da Informação Ltda. >> http://www.arsmachina.com.br >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >> For additional commands, e-mail: users-h...@tapestry.apache.org >> >> > > > > -- > 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 > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org