Note that there are some explanatory texts on larger screens.

plurals
  1. POVaadin does not show client side Widget
    primarykey
    data
    text
    <p>I know that my question is a bit abstract, but I still think someone can help. I am new to <code>vaadin</code> and I have created a simple project (without maven) on which I have added two client widgets in the way described in <a href="https://vaadin.com/book/-/page/gwt.eclipse.html" rel="nofollow">the tutorial</a>. The client side widgets are not trivial, since the depend on a class hierarchy which provides them some functionality. In the <code>Applicationn</code> class I try to get the Widgets appear in the browser with the simple code:</p> <pre><code>@Override public void init() { Window mainWindow = new Window("My Application"); setTheme("theme"); Screen as = new Screen(); mainWindow.addComponent(as); setMainWindow(mainWindow); } </code></pre> <p><code>Screen</code> is the server side Widget with the <code>VScreen</code> as the client side Widget. However in the browser appear only the images which are set in the server side code. The real functionality of the widget lie in the client side widget but it is not presented on the browser. </p> <p>It gives me the impression that the client side code does not run at all. What could be a possible reason?</p> <p>I use Windows 8 and out of an unknown reason it does not allow me to install <code>GWT Developer Plugin</code> in <code>Chrome</code>, so as to be to able to debug it on the client side. Of course, when I set a breakpoint in the client side code, the default debug does not take it into account, since debug occurs by default only in the server side of a <code>vaadin</code> project. </p> <p>Moreover when I try to extend the class TouchKitApplication in MyApplication included in vaadin add-on, it throws a ClassNotFoundException.</p> <pre><code>public class MyApplication extends TouchKitApplication { @Override public void init() { super.init(); } @Override public void onBrowserDetailsReady() { Window mainWindow = new Window("My Application"); setTheme("theme"); Screen as = new Screen(); mainWindow.addComponent(as); setMainWindow(mainWindow); } } </code></pre> <p>Is somenthing missing in my project? </p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload