java ee - Vaadin does not show client side Widget -


i know question bit abstract, still think can help. new vaadin , have created simple project (without maven) on have added 2 client widgets in way described in the tutorial. client side widgets not trivial, since depend on class hierarchy provides them functionality. in applicationn class try widgets appear in browser simple code:

@override     public void init() {         window mainwindow = new window("my application");          settheme("theme");         screen = new screen();         mainwindow.addcomponent(as);         setmainwindow(mainwindow);     }  

screen server side widget vscreen client side widget. in browser appear images set in server side code. real functionality of widget lie in client side widget not presented on browser.

it gives me impression client side code not run @ all. possible reason?

i use windows 8 , out of unknown reason not allow me install gwt developer plugin in chrome, to able debug on client side. of course, when set breakpoint in client side code, default debug not take account, since debug occurs default in server side of vaadin project.

moreover when try extend class touchkitapplication in myapplication included in vaadin add-on, throws classnotfoundexception.

public class myapplication extends touchkitapplication {      @override     public void init() {         super.init();     }      @override     public void onbrowserdetailsready() {         window mainwindow = new window("my application");          settheme("theme");         screen = new screen();         mainwindow.addcomponent(as);         setmainwindow(mainwindow);       }  }    

is somenthing missing in project?

what version of vaadin use? because vaadin 6 uses settheme() method, vaadin 7 uses @theme() annotation, , if theme not correct can result problem of widgets not showing if in own theme not import default 1 can cause problem well


Comments