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

Javascript error 'effectMethod is undefined' when using JQueryEffectContainer #251

Closed Patrick1701 closed 8 years ago

Patrick1701 commented 8 years ago

Hi Sebastien, just found a bug in the JQueryEffectContainer.

grafik

kind regards Patrick

sebfz1 commented 8 years ago

Oops, seems to be a javascript error in the page rendering... Thanks for reporting, Patrick!

Patrick1701 commented 8 years ago

Maybe for 6.25.1? :-D

sebfz1 commented 8 years ago

humm, seems to be wicket related or a wrong usage which was tolerated before. I will try to investigate later...

WARN  - AjaxButton                 - unexpected invocation of #onSubmit() on [AjaxButton [Component id = button]]
sebfz1 commented 8 years ago

The issue was actually due to an empty effect at the JQueryEffectContainer initialization, which was attempted to be played. Somehow, it used to break something in the javascript, leading to weird behaviors...

Patrick1701 commented 8 years ago

Ok, sounds a bit like, I also have to do some changes concerning effects, right? Or should it work again out-of-the-box? (also needed for 6.25.1)

sebfz1 commented 8 years ago

It should work back as normal, and the commit will be part of 6.25.1 You can checkout wicket6.x branch and test the sample if you would like to double check...