Hey Henry, Sounds like you want to take a look at the History class: http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/gwt/user/client/History.html
In the handler for the button, you could call History.newItem(). On Thu, Apr 23, 2009 at 11:11 AM, Henry <[email protected]> wrote: > > Hi All, > > I am asking a very simple question. > > As you know, when we click on Hyperlink h1 =new Hyperlink("h1","tk1"); > then the URL will auto put tk1 into the URL (ex: url.com#tk1). > > Can we do the same thing for Button, for example, when user clicks a > button, the it will automatically append tk1 into the URL > (url.com#tk1), like when users click on Hyperlink? > > Henry > > > -- Alex Rudnick swe, gwt, atl --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
