You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by shetc <sh...@bellsouth.net> on 2015/10/08 20:12:13 UTC

3rd Party jQuery component wants jquery-2.1.1 but Wicket uses jquery-1.11.3

Hi Guys, 

I would like to use a nice 3rd Party jQuery component in my new Wicket 7
project. However, the 3rd Party jQuery component requires jQuery version
2.1.1 whereas Wicket 7 appears to be using jQuery version 1.11.3. Is there
any way to override the jQuery version for use with that particular 3rd
Party component?

Thanks very much,

Steve

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/3rd-Party-jQuery-component-wants-jquery-2-1-1-but-Wicket-uses-jquery-1-11-3-tp4672184.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: 3rd Party jQuery component wants jquery-2.1.1 but Wicket uses jquery-1.11.3

Posted by shetc <sh...@bellsouth.net>.
I used a burning cross to kill off IE 8 and 9 here at work 
<http://apache-wicket.1842946.n4.nabble.com/file/n4672188/d.jpg> 

So that is good news for me as we are only supporting IE 10 and upwards.
Thanks for your generous help, once again!

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/3rd-Party-jQuery-component-wants-jquery-2-1-1-but-Wicket-uses-jquery-1-11-3-tp4672184p4672188.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: 3rd Party jQuery component wants jquery-2.1.1 but Wicket uses jquery-1.11.3

Posted by shetc <sh...@bellsouth.net>.
Thanks Gabriel. I discovered that myself today as we are on IE 9 at my work.
The jQuery component works just fine. Overall, I'm rocking out another great
app using Wicket 7 and wicket-bootstrap :-)

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/3rd-Party-jQuery-component-wants-jquery-2-1-1-but-Wicket-uses-jquery-1-11-3-tp4672184p4672208.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: 3rd Party jQuery component wants jquery-2.1.1 but Wicket uses jquery-1.11.3

Posted by Gabriel Landon <gl...@piti.pf>.
A small rectification : on the official website for jquery 2.x they drop
support for IE6/7/8.
It should work with IE9.

http://jquery.com/browser-support/

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/3rd-Party-jQuery-component-wants-jquery-2-1-1-but-Wicket-uses-jquery-1-11-3-tp4672184p4672204.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: 3rd Party jQuery component wants jquery-2.1.1 but Wicket uses jquery-1.11.3

Posted by Martin Grigorov <mg...@apache.org>.
1) You can run Wicket JS tests to verify

2) 1.x is preferred because it supports IE 8 & 9.
If you know that you don't need to support old IE then use 2.x

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Thu, Oct 8, 2015 at 9:06 PM, shetc <sh...@bellsouth.net> wrote:

> Hi Martin,
>
> I was looking at
> How to check whether my custom version of the backing JavaScript library
> (jQuery) doesn't break Wicket internals somehow ?
> <
> https://cwiki.apache.org/confluence/display/WICKET/Wicket+Ajax#WicketAjax-HowtocheckwhethermycustomversionofthebackingJavaScriptlibrary%28jQuery%29doesn%27tbreakWicketinternalssomehow
> ?>
> , and noticed that the folder
> wicket-core/src/main/java/org/apache/wicket/resource/jquery holds both
> jquery-1.11.3 and jquery-2.1.4. Is there a reason that 1.11.3 prefered over
> 2.1.4?
>
> Thanks very much,
>
> Steve
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/3rd-Party-jQuery-component-wants-jquery-2-1-1-but-Wicket-uses-jquery-1-11-3-tp4672184p4672186.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

Re: 3rd Party jQuery component wants jquery-2.1.1 but Wicket uses jquery-1.11.3

Posted by shetc <sh...@bellsouth.net>.
Hi Martin,

I was looking at
How to check whether my custom version of the backing JavaScript library
(jQuery) doesn't break Wicket internals somehow ?
<https://cwiki.apache.org/confluence/display/WICKET/Wicket+Ajax#WicketAjax-HowtocheckwhethermycustomversionofthebackingJavaScriptlibrary%28jQuery%29doesn%27tbreakWicketinternalssomehow?>  
, and noticed that the folder
wicket-core/src/main/java/org/apache/wicket/resource/jquery holds both
jquery-1.11.3 and jquery-2.1.4. Is there a reason that 1.11.3 prefered over
2.1.4?

Thanks very much,

Steve


--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/3rd-Party-jQuery-component-wants-jquery-2-1-1-but-Wicket-uses-jquery-1-11-3-tp4672184p4672186.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: 3rd Party jQuery component wants jquery-2.1.1 but Wicket uses jquery-1.11.3

Posted by Martin Grigorov <mg...@apache.org>.
Hi,

See app.getJavaScriptLibrarySettings().setJQueryReference()

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Thu, Oct 8, 2015 at 8:12 PM, shetc <sh...@bellsouth.net> wrote:

> Hi Guys,
>
> I would like to use a nice 3rd Party jQuery component in my new Wicket 7
> project. However, the 3rd Party jQuery component requires jQuery version
> 2.1.1 whereas Wicket 7 appears to be using jQuery version 1.11.3. Is there
> any way to override the jQuery version for use with that particular 3rd
> Party component?
>
> Thanks very much,
>
> Steve
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/3rd-Party-jQuery-component-wants-jquery-2-1-1-but-Wicket-uses-jquery-1-11-3-tp4672184.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>