well, Bonor, I'm not sure if you were being totally sarcastic in your reply to Booth, but it did seem kinda rude man. If you're asking a group of people for help it's usually a good idea to be nice :) I hope you get your TabPanel issue worked out, and if you don't mind posting your solution that'd be great for other people with the same question
Thanks!! On Jun 24, 1:25 am, Bonor <[email protected]> wrote: > hmmm....no you didn't ;-) > > On 24 jun, 01:31, Booth Martin <[email protected]> wrote: > > > Which is what I said in the first place and got slammed for it. > > > Rey wrote: > > > Oke, thanks! > > > I've used the solution with an ArrayList. > > > > On 21 jun, 21:20, Enea <[email protected]> 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 <[email protected]> wrote: > > > >>> tabPanel.add( panelA, panelB); > > > >>> How do I get de widget panelB? > > > >>> tabPanel.getWidget(0) returns panelA, so how about panelB? > > > > ------------------------------------------------------------------------ > > > > No virus found in this incoming message. > > > Checked by AVG -www.avg.com > > > Version: 8.5.339 / Virus Database: 270.12.89/2197 - Release Date: > > > 06/23/09 05:54:00 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
