wicket-jquery-ui icon indicating copy to clipboard operation
wicket-jquery-ui copied to clipboard

Wicket focussing broken for Kendo components

Open reckart opened this issue 7 years ago • 0 comments

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?

reckart avatar Dec 13 '17 22:12 reckart