sebfz1 / wicket-jquery-ui

jQuery UI & Kendo UI integration in Wicket
http://www.7thweb.net/wicket-jquery-ui/
Other
93 stars 58 forks source link

KendoUIBehavior renders KendoUI Javascript References with priority #234

Closed Patrick1701 closed 8 years ago

Patrick1701 commented 8 years ago

Hi Sebastien, I think we already had this topic once... but I'm not sure.

Is there a special reason why do you render them with priority?

In some circumstances it happens, the KendoUI scripts trying to execute code before JQuerys references are loaded by the browser. Currently, I have this problem using the the KendoDataSource.

screen

kind regards Patrick

sebfz1 commented 8 years ago

Hi Patrick,

Yes we had a similar discussion in the past. What's strange is that jquery is loaded after kendo ui (it is a jquery plugin, with a dependency to jquery). Are you using the lastest version (just to be sure) ?

sebfz1 commented 8 years ago

Ah, you are using your own kendo-all resource reference :) Make it dependent from jquery and it should be ok...

Patrick1701 commented 8 years ago

Works... using JQueryPluginResourceReference now.

Thanx :) Patrick

sebfz1 commented 8 years ago

Perfect! I just forgot to tell you to look at the wiki :)