1. Gwt doesn't provide a method, and I'm not sure if it's possible in
JS, but you can get started researching here:

http://www.w3schools.com/htmldom/dom_obj_history.asp

2. Use a place manager and event bus to simplify your history
experience. The following offers a good example, and you might
consider using it:

http://code.google.com/p/gwt-presenter/source/browse/#svn/trunk/src/main/java/net/customware/gwt/presenter/client/place

On Sep 4, 10:29 am, Thad <[email protected]> wrote:
> I am having a helluva time implementing History.  Part of my problem
> seems to be a bug with hosted mode (GWT 1.7) that won't acknowledge my
> first BACK click after I've added a new widget (this works in web mode
> on FF3.5 and IE7).
>
> Part of it is that I've an application far more complex than either
> the History Javadoc example or the Showcase sample.  Both of these use
> a central controller and a key word to manipulate the UI.  Everything
> is controlled through handlers in a tab window or a menu.  In my
> application, widgets are built from calls to a server application, and
> each subsequent widget that is added depends on what was clicked in
> the one before, with many paths from here to there.  For this reason I
> didn't initially put in History, since I didn't want to track
> application and database states.  I'm still not gonna do this, but
> I've been told to implement something simple.
>
> My first questions are:
>
> #1.  Is there a way to examine the history stack?
>
> #2.  Is there a way to modify the history stack, say, to truncate it
> back to a particular point?  I'm currently doing this by calling
> removeHandler() on my history handler and recreating it with
> History.addValueChangeHandler(new HistoryHandler()), but I'm open to
> other methods.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

  • History Thad
    • Re: History Nathan Wells

Reply via email to