Szemere
unread,Oct 4, 2012, 6:15:39 PM10/4/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to gwt-bo...@googlegroups.com
Looking at the source of TabPanel, I suspect that a TabPane, TabLink combo needs to be created in "just the right way". I've tried:
private TabLink createTabLink(String title, String html) {
TabLink tabLink = new TabLink();
tabLink.setText(title);
tabLink.setTitle(title);
TabPane tabPane = new TabPane(tabLink.getText());
tabLink.setTablePane(tabPane);
tabLink.setCreateTabPane(false);
return tabLink;
}
but that didn't seem to work. Only the links display, not the content. I see an NPE in onShow-->ShowEvent()->... with this code.
Also, I'll submit a patch for the comment typos and symmetric deficiencies (where a lack of symmetry in the code worries me) over the weekend.