private void initChangeHandler ( ) { JQMChangeHandler handler = new JQMChangeHandler ( ) { @ Override public void onEvent ( JQMEvent < ? > event ) { DomEvent . fireNativeEvent ( Document . get ( ) . createChangeEvent ( ) , input ) ; } } ; JQMHandlerRegistration . registerJQueryHandler ( new WidgetHandlerCounter ( ) { @ Override public int getHandlerCountForWidget ( GwtEvent . Type < ? > type ) { return getHandlerCount ( type ) ; } } , this , handler , JQMComponentEvents . CHANGE , JQMEventFactory . getType ( JQMComponentEvents . CHANGE , JQMChangeHandler . class ) ) ; }
Standard GWT ChangeEvent is not working for search input that s why we have to activate it manually by listening jQuery change event .