Hi,

I'm creating a simple app with GWT v2.1.0. I have a main menu page
that navigate to other pages and each page has a back button. What I
did was each time a user clicks on a button I invoke

History.newItem("Page1");
RootPanel.get().clear();
RootPanel.get().add(new Page1());

I have made my MainMenu page implement the ValueChangeHandler
interface. When back button is pressed it, obviously calls
History.back();  And my MainMenu page catches the event, sees the
history token and change the root panel accordingly.

The problem happens is when I navigate around the pages a lot, then
going back and forth between pages starts to slow down until it
becomes really really slow. FireFox 3.6.8 even crashed at the very
end. Same effect happens with IE 8.0.7600

Anyone has any ideas why this is happening? Maybe I am doing the whole
history thing wrong, but I'm a bit of a newbie on this so any pointers
and best practices would be appreciated.

Thanks.

-- 
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.

Reply via email to