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

Wicket focussing broken for Kendo components #282

Open reckart opened 6 years ago

reckart commented 6 years ago

Some Kendo components make use of a hidden input field e.g. the ComboBox or the NumericTextBox. This prevents the Wicket JS code which saves/restores the focus during AJAX requests from obtaining the Wicket ID and from restoring the focus.

I have tried addressing this by monkey patching the Wicket Focus code: https://github.com/webanno/webanno/pull/777/commits/da9bc8f2bd77956e5c8e31d32e0764657758fb1d

Basically this hack is intercepting the Wicket focus saving/restoring code to handle specific Kendo components differently from regular input elements.

However, maybe there is a better alternative and some way to fix this directly in the Wicket/Kendo integration?