Tab pane is not show when is call method showTab of associated TabListItem

65 views
Skip to first unread message

Georgi Georgiev

unread,
Jul 3, 2014, 3:56:48 AM7/3/14
to gwt-bo...@googlegroups.com

Hi,


I wont to change tabs without click on them but when call  TabListItem.showTab() is change only tab without show tab pane. I have the following structure:


<b:TabPanel>

 <b:NavTabs>

   <b:TabListItem ui:field="tabItem1" active="true" dataTarget="#tab1"/>

   <b:TabListItem ui:field="tabItem2" dataTarget="#tab2"/>

 </b:NavTabs>

 <b:TabContent>

   <b:TabPane  active="true" b:id="tab1">

   <b:TabPane b:id="tab2">

 </b:TabContent>

</b:TabPanel>



class Widget {

 @UiField

 TabListItem tabItem1;


 @UiField

 TabListItem tabItem2;


//not tab click event

 void someAction1() {

   tabItem1.showTab();

 }


//not tab click event

 void someAction2() {

   tabItem2.showTab();

 }

}


Georgi Georgiev

unread,
Jul 3, 2014, 4:26:53 AM7/3/14
to gwt-bo...@googlegroups.com
I post it in wrong group. This issue is for GwtBootstrap3
Reply all
Reply to author
Forward
0 new messages