Vitaly Tsaplin wrote:
   I mean sometimes the library like prototype or whatever is
necessary just to make some decorations in a markup.
 A good example is
100% height correction. So there is no reason to start a web server
just to see a page markup with a working script.
What do you mean? Wicket needs to run in a servlet container.... Ahh you mean if youre designing the page?
And what about
duplicating entries of the same library?
Yup that can be a problem if your using different versions of the library, im not sure if wicket scans for duplicates?
 For instance datepicker which
is using YUI has it included locally in its package. So any other
component is going to include the same library again blowing out the
project?

On Fri, Apr 25, 2008 at 4:51 PM, Nino Saturnino Martinez Vazquez Wael
<[EMAIL PROTECTED]> wrote:
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]



---------------------------------------------------------------------
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]

Reply via email to