You could take a look at wro4j: http://code.google.com/p/wro4j/ . It helps
you keep you javascripts (and css) organized in a single location, merge and
minimize them. It is also very easy configurable
(http://code.google.com/p/wro4j/wiki/GettingStarted) and extensible (allow
provide your own implementation of js or css minification algorithm). Also
it provides a maven plugin (http://code.google.com/p/wro4j/wiki/MavenPlugin)
for build time merging and minification. You can see a complete list of
features here: http://code.google.com/p/wro4j/wiki/Features

Alex


AppleGrew wrote:
> 
> Hi All,
> 
> I have put all my JS files in WEB-INF. To let Wicket find them I have
> created my own ResourceStreamLocator. The locator on getting class scope
> as
> Application simply locates the JS files from 'WEB-INF/js'. The problem is
> how do I enable Wicket's built-in Javascript compression?
> 
> I tried the following code with a form:-
> add(JavascriptPackageResource.getHeaderContribution(ApplicationCore.class,
> "js/form.js"));
> 
> I can still see the white spaces in the JS code when I try to access them
> from my browser. Pls guide.
> 
> Regards,
> Apple Grew
> my blog @ http://blog.applegrew.com/
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Javascript-Compression-not-working.-tp28164115p28166133.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to