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.
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?
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?