Have you pondered simply not using the Places? I'm not sure if this
is a requirement (or simply a strongly desired outcome) of your
project, but if not, then you can simply roll your own MVP framework.
In the case of my company, we started using GWT before the new place
stuff came about, so we didn't have too much choice but to be
inventive (aka maniacal).
Since nothing in the base GWT libraries calls History.newItem()
(besides a Hyperlink widget), and (as far as I am aware) nothing of
importance listens to those events by default, you can pretty easily
make your own history management mechanism. I wrap the whole thing in
a ApplicationNavigationControl class, which the various presenters can
poke to cause navigation to different Pages (our equivalent of
Places). While our application is much more traditional (only one
Page at a time), I could see creating some custom scheme of encoding
the state of multiple tabs into the history token.
If you want the back/forward navigation to only affect the currently
selected tab, that might get a bit tricky, since you will need to keep
around multiple stacks of tokens in your history wrapper, and then
somehow create a composite token to represent the current top item on
all of the stacks. Or perhaps some other method that additional
caffeine intake might bring about would work as well.
-Ben
On Jan 6, 7:14 am, "
cmarsh...@avenue100.com" <
cmarsh...@avenue100.com>
wrote: