Oke, thanks!
I've used the solution with an ArrayList.

On 21 jun, 21:20, Enea <eneager...@gmail.com> wrote:
> I think that there are no method to do this, at the moment.
> what you can have, is the html of the tab
> with tabPanel.getTabBar().getTabHTML()
> but this is not what you want...
>
> Or you can make the greedy solution.
>
> you rewrite your own TabPanel, starting from this:
>
> http://code.google.com/p/google-web-toolkit/source/browse/trunk/user/...
>
> in this class there are object from the class TabBar... you have to
> rewrite the TabBar class, starting from this:
>
> http://code.google.com/p/google-web-toolkit/source/browse/trunk/user/...
>
> rewrite the method " protected void insertTabWidget(Widget widget, int
> beforeIndex)"
>
> and add the widget to an ArrayList , for example...
>
> then implement a new method..."public Widget getTabWidget(int index)"
>
> and return the widget from the arrayList
>
> good work :P
>
> On 20 Giu, 01:47, Bonor <bono...@gmail.com> wrote:
>
>
>
> > tabPanel.add( panelA, panelB);
>
> > How do I get de widget panelB?
>
> > tabPanel.getWidget(0) returns panelA, so how about panelB?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to