GWT or Javascript? A Vaadin expert's opinion. by Haijian Wang

3e8bbe56bf459ee2b5f4ca79fd63efde?s=47 GWTcon
November 14, 2016

GWT or Javascript? A Vaadin expert's opinion. by Haijian Wang

GWT or Javascript? A Vaadin expert's opinion. by Haijian Wang
#GWTcon2016 - Firenze 14-15th November 2016

3e8bbe56bf459ee2b5f4ca79fd63efde?s=128

GWTcon

November 14, 2016
Tweet

Transcript

  1. 1.

    G W T O R J A V A S

    C R I P T ? A V A A D I N E X P E R T ’ S O P I N I O N H A I J I A N W A N G
  2. 17.

    Disable backspace navigation Event.addNativePreviewHandler(new NativePreviewHandler() { @Override public void onPreviewNativeEvent(NativePreviewEvent

    event) { if(event.getNativeEvent().getKeyCode() == KeyCodes.KEY_BACKSPACE) { if(!WidgetUtil.isFocusedElementEditable()) { event.getNativeEvent().stopPropagation(); event.getNativeEvent().preventDefault(); } } } });
  3. 19.

    Conclusion •GWT is NOT dead. •It’s fun to learn some

    JavaScript. •Choose whichever fits you best.