If you just need the javascript library, I also use header contribution.
You can also take a look at wicket input events or datepicker etc...
If you have your js files locally(in your project) you can use the
packagedRessource so it gets gziped..
http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-stuff-contrib-input-events
Vitaly Tsaplin wrote:
Hi everyone,
There are many usecases when it could be necessary to write some
javascript by hands directly in the html file. So I need to reference
the library I use in a head section of my html file. But having a
reusable component written in java which is depending on the same
javascript library I use a header contribution to inject a reference
to the library that I have somewhere in a java package. So what is the
preferred way to include a javascript library to a wicket project?
Vitaly
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
-Wicket for love
Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]