mardi 28 octobre 2014

Acris and GXT 3.1.1 not Working?

Hello,

Is Acris working with GXT 3.1.1?


I have a class:



Code:



public class RuntimeForm extends Composite {
interface DynamicallyFormUiBinder extends DynamicUiBinder<Widget, RuntimeForm> {}

private static DynamicallyFormUiBinder uiBinder = GWT.create(DynamicallyFormUiBinder.class);

interface RuntimeFormUiBinder extends UiBinder<Widget, RuntimeForm> {
}

public RuntimeForm() {
uiBinder.setViewTemplate("<ui:UiBinder xmlns:ui=\"urn:ui:com.google.gwt.uibinder\" xmlns:gxt=\"urn:import:com.sencha.gxt.widget.core.client\" xmlns:button=\"urn:import:com.sencha.gxt.widget.core.client.button\"> <gxt:FramedPanel collapsible=\"true\" headingText=\"Example\" pixelSize=\"100, 80\"> <button:TextButton ui:field=\"exampleButton\" text=\"Click Me\" /> </gxt:FramedPanel> </ui:UiBinder>");
initWidget(uiBinder.createAndBindUi(this));
}


Code:



public class MainEntryPoint implements EntryPoint {

/**
* Creates a new instance of MainEntryPoint
*/
public MainEntryPoint() {
}

/**
* The entry point method, called automatically by loading a module that
* declares an implementing class as an entry-point
*/
public void onModuleLoad() {
RootPanel.get().add(new RuntimeForm());
}

When you start ... I have a blank page with no errors. Why?






Acris and GXT 3.1.1 not Working?

Aucun commentaire:

Enregistrer un commentaire