But this still does not fully support different versions of the lib.
So if one extension uses version 1.0 of javascript lib A and another
uses version 2.0, chances are you have a problem. because both
extensions call some api that might not be available or has changed in
the other version.

just my 2c,

Maurice

On Fri, Apr 25, 2008 at 6:24 PM, Nino Saturnino Martinez Vazquez Wael
<[EMAIL PROTECTED]> wrote:
>
>
>  Vitaly Tsaplin wrote:
>
> >   Isn't it often better to explicitly declare the list of javascript
> > libraries the component uses and let the user add this libraries to
> > the web content folder manually on his/her preferred location?
> >
> >
> >
>  I like that you package your component to run off the fly, and then you can
> overide so that you yourself can put in javascript libs, just like the
> prototip from minis, although I havent done this myself this gives full
> flexibility.
>
>
>
> > 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]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to