You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by dmalescot <d....@gmail.com> on 2014/04/09 10:13:29 UTC

Error loading jQuery JS in wicket > 6.7.0 (IE)

Hello,

I would like to know if someone can explain my problem :
 - In production, when my application use wicket 6.7.0 everything is OK and
no error
 - In production, when my appication use wicket > 6.7.0 (6.12.0 actually)
everything is KO because Javascript are not loaded. In fact i have lots of
JS errors in IE console like that :

"Message : Acces forbidden

Ligne : 4
Caractère : 12122
Code : 0
URI :
http://XXX:5000/my-application/wicket/resource/org.apache.wicket.resource.JQueryResourceReference/jquery/jquery-1.10.1.min-ver-33D85132F0154466FC017DD05111873D.js"

I know this problem is really strange and i can't explain it :(

Someone knows if something has changed in JS loading/access after wicket
6.7.0 ?

Thanks a lot.

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Error-loading-jQuery-JS-in-wicket-6-7-0-IE-tp4665308.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: Error loading jQuery JS in wicket > 6.7.0 (IE)

Posted by dmalescot <d....@gmail.com>.
It works since 6.14.0 ;)

Thanks a lot

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Error-loading-jQuery-JS-in-wicket-6-7-0-IE-tp4665308p4665354.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: Error loading jQuery JS in wicket > 6.7.0 (IE)

Posted by Martin Grigorov <mg...@apache.org>.
I think someone mentioned having issues with jQuery 1.10.1 on IE.
Newer versions of Wicket use jQuery 1.11.0

You can also setup a custom version with
app.getJavaScriptLibrarySettings().setJQueryReference(someReference)

Martin Grigorov
Wicket Training and Consulting


On Wed, Apr 9, 2014 at 12:31 PM, dmalescot <d....@gmail.com> wrote:

> thank for your quick answer.
>
> So the error is access denied on ie (works on FF). After some search on
> internet, it seems to be this problem :
>
>
> http://stackoverflow.com/questions/17370482/preventing-script5-access-is-denied-error-in-ie?rq=1
> http://bugs.jquery.com/ticket/13980
>
> So I think it's a 1.10.1 bug on IE.
>
> I do a quick test :
>
> Create a index.html file on local which is loading a wicket application in
> an iFrame :
>  - OK on FF
>  - KO on IE (no css, no javascript)
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Error-loading-jQuery-JS-in-wicket-6-7-0-IE-tp4665308p4665313.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: Error loading jQuery JS in wicket > 6.7.0 (IE)

Posted by dmalescot <d....@gmail.com>.
thank for your quick answer.

So the error is access denied on ie (works on FF). After some search on
internet, it seems to be this problem :

http://stackoverflow.com/questions/17370482/preventing-script5-access-is-denied-error-in-ie?rq=1
http://bugs.jquery.com/ticket/13980

So I think it's a 1.10.1 bug on IE. 

I do a quick test :

Create a index.html file on local which is loading a wicket application in
an iFrame :
 - OK on FF
 - KO on IE (no css, no javascript)

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Error-loading-jQuery-JS-in-wicket-6-7-0-IE-tp4665308p4665313.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: Error loading jQuery JS in wicket > 6.7.0 (IE)

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

There are no changes in the way JS resources are loaded.
jQuery has been updated in 6.9.0 to a newer version (from 1.8.3 to 1.10.1,
I think) but this doesn't look like what breaks in your application.

What is the error code when requesting the JS file ?

Martin Grigorov
Wicket Training and Consulting


On Wed, Apr 9, 2014 at 11:13 AM, dmalescot <d....@gmail.com> wrote:

> Hello,
>
> I would like to know if someone can explain my problem :
>  - In production, when my application use wicket 6.7.0 everything is OK and
> no error
>  - In production, when my appication use wicket > 6.7.0 (6.12.0 actually)
> everything is KO because Javascript are not loaded. In fact i have lots of
> JS errors in IE console like that :
>
> "Message : Acces forbidden
>
> Ligne : 4
> Caractère : 12122
> Code : 0
> URI :
>
> http://XXX:5000/my-application/wicket/resource/org.apache.wicket.resource.JQueryResourceReference/jquery/jquery-1.10.1.min-ver-33D85132F0154466FC017DD05111873D.js
> "
>
> I know this problem is really strange and i can't explain it :(
>
> Someone knows if something has changed in JS loading/access after wicket
> 6.7.0 ?
>
> Thanks a lot.
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Error-loading-jQuery-JS-in-wicket-6-7-0-IE-tp4665308.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
>
>