Heyvaert / wiquery

Automatically exported from code.google.com/p/wiquery
0 stars 0 forks source link

Wrong javascript order in html #203

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
I migrated from wicket 1.4 and I'm now using wicket 1.5RC5.1 with Wiquery 1.5M2
using the autocomplete component, I get following error in the firebog console:

jquery.ui.core-ts1313146650118.js:
jQuery is not defined
})( jQuery ); 

when I look into the html, I see that the order of the included javascripts is 
as following:

<script type="text/javascript" 
src="wicket/resource/org.odlabs.wiquery.ui.core.CoreUIJavaScriptResourceReferenc
e/jquery.ui.core-ts1313146650118.js"></script>

<script type="text/javascript" 
src="wicket/resource/org.odlabs.wiquery.core.commons.CoreJavaScriptResourceRefer
ence/jquery/jquery-1.5.2-ts1313146650562.js"></script>

shouldn't it be the other way around to work?

Original issue reported on code.google.com by dieter.m...@gmail.com on 12 Aug 2011 at 11:47

GoogleCodeExporter commented 9 years ago
Have you tried wiquery 1.5M3?

Original comment by hielke.hoeve on 15 Aug 2011 at 4:02

GoogleCodeExporter commented 9 years ago

Original comment by hielke.hoeve on 16 Aug 2011 at 6:33

GoogleCodeExporter commented 9 years ago

Original comment by hielke.hoeve on 16 Aug 2011 at 6:34

GoogleCodeExporter commented 9 years ago

Original comment by hielke.hoeve on 16 Aug 2011 at 6:36

GoogleCodeExporter commented 9 years ago

Original comment by hielke.hoeve on 16 Aug 2011 at 6:46

GoogleCodeExporter commented 9 years ago
Haven't tried 1.5M3 yet. I'm on vacation til beginning of Sept and 
unfortunately won't Be able to try it out til then :(

Original comment by dieter.m...@gmail.com on 17 Aug 2011 at 5:49

GoogleCodeExporter commented 9 years ago
It should work, unless I made another error, because the resource references 
now are of a special subclass which make wicket import resources in a 
predefined order.

Original comment by hielke.hoeve on 17 Aug 2011 at 7:04

GoogleCodeExporter commented 9 years ago
I used 1.5M3 and it's working now! Thx

Original comment by dieter.m...@gmail.com on 6 Sep 2011 at 2:22

GoogleCodeExporter commented 9 years ago

Original comment by hielke.hoeve on 12 Sep 2011 at 8:23