I wish to create a script renderer that uses a more power full JS compressor (YUICompressor). So I'm attempting to extend a4j's ResourceRenderer facilities to take advantage of this script compressor instead of JSMin.
This works great for resources loaded by string. However, the scripts that are loaded through "ClientScript" appears to ignore the ResourceBuilder. Specifically I would like ClientScript to use the renderer returned by resourceBuilder.getResource() but it seems like that in general ClientScript should simply act as a delegate to the resource returned from resourceBuilder.getResource() instead of being a resource itself?