0

To be clear i'm a newbie to GWT.I was looking around for samples to implement dynamic tabs, and found this link, http://www.java2s.com/Code/Java/GWT/AddingnewtabdynamicallyExtGWT.htm , in which they make use of GXT.But my question is,how can i implement dynamic views using UIBinder?.I want to implement something similar to browser tabs.Each newly created tab has a split panel view, whose content will be populated making a rpc request.My question is , how is the history mechanism handled when user switches between tabs?.Can anyone provide with samples?Thanks

enter image description here

Karthik207
  • 493
  • 9
  • 27

1 Answers1

1

You declare your TabLayoutPanel together with the initial/default tabs in UiBinder. Then you can add or remove tabs from this panel in your Java code.

Andrei Volgin
  • 40,755
  • 6
  • 49
  • 58
  • Even i had a similar approach.See my edited answer.I wanted tablayoutpanel to look something like browser tabs. – Karthik207 Jun 12 '14 at 18:41