Hi,
i have used latest gwt-bootstrap Tab code.
Issue i am facing is, i have set first tab as active but it shows empty until i click another Tab and come to the this tab?
Its like click handler not fired when we are setting 'active'? is it so? i am not sure about this? can you help me.
Ui-binder code:
<b:TabPanel tabPosition="left" ui:field="myFilesHome">
<b:Tab heading="Home" ui:field="tabMyHome" active="true">
<b:Hero ui:field="fileElements">
</b:Hero>
</b:Tab>
<b:Tab heading="Files" ui:field="tabSharedFiles">
<b:Hero ui:field="sharedElements">
</b:Hero>
</b:Tab>
<b:TabPane heading="Links" ><g:Label>Huhu</g:Label></b:TabPane>
</b:TabPanel>
java code:
@UiField Hero fileElements, sharedElements;
@UiField Tab tabSharedFiles, tabMyHome;
public example(){
initWidget(uiBinder.createAndBindUi(this));
fileElements.clear();
fileElements.add(new addProfile());
}
Thanks