Hi All, I have simple dialog bix and the ui is defined in the fololowing ui.xml. This is working fine as long as I have one widget on the HTMLPanel. It's throwing the NullPointerException at this.setWidget(uiBinder.createAndBindUi(this)); If I add a pager object.
Help me inresolving this issue. Thanks in advance <!DOCTYPE ui:UiBinder SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent"> <ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder" xmlns:g="urn:import:com.google.gwt.user.client.ui" xmlns:cell="urn:import:com.google.gwt.user.cellview.client" xmlns:dom="urn:import:com.google.gwt.dom.client"> <ui:style> .cellTable { border-bottom: 1px solid #ccc; text-align: left; margin-bottom: 4px; } </ui:style> <g:HTMLPanel> <cell:CellTable addStyleNames='{style.cellTable}' ui:field="attributeTable" /> </g:HTMLPanel> </ui:UiBinder> MyDialogBox.java /** * UiBinder. */ interface Binder extends UiBinder<Widget, MyDialogBox> { } // CHECKSTYLE:OFF - not GWT friendly. @UiField CellTable<DialogInfo> attributeTable; /** * The pager used to change the range of data. */ SimplePager pager; public MyDialogBox() { super(true); this.setWidget(uiBinder.createAndBindUi(this)); this.setModal(true); buildUI(); } -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
