I do that :
- Launch the projectCreator command line
- Launch the applicationCreator command line
- Add my project to Eclipse
- Add the external JAR smartJWT to the classpath and to the Appli-Shell.cmd
- Launch the Appli-shell.cmd
I have this problem :
I have that code :
In the entrypoint :
In the class tableauComposant :
What is the problem ? Maybe it is not the correct way to create a SmartGWT application ? Or is it another problem ?
Thank you by advance for your explanations.
- Launch the projectCreator command line
- Launch the applicationCreator command line
- Add my project to Eclipse
- Add the external JAR smartJWT to the classpath and to the Appli-Shell.cmd
- Launch the Appli-shell.cmd
I have this problem :
Code:
[ERROR] Line 8: No source code is available for type com.smartgwt.client.widgets.layout.VLayout; did you forget to inherit a required module?
In the entrypoint :
Code:
package org.gwtbook.client;
import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.ui.RootPanel;
public class Sopra implements EntryPoint {
public void onModuleLoad() {
tableauComposant tableau = new tableauComposant();
RootPanel.get().add(tableau);
}
}
Code:
package org.gwtbook.client;
import com.google.gwt.user.client.ui.Composite;
import com.smartgwt.client.widgets.layout.VLayout;
public class tableauComposant extends Composite {
private VLayout layout = new VLayout(15);
public tableauComposant(){
layout.draw();
}
}
Thank you by advance for your explanations.
Comment