On Wed, May 20, 2009 at 10:42, Alfred S <freddi...@gmail.com> wrote:

>
> I've been using GWT for some time now, so I know my way around.  I did
> my homework, but for the life of me, I can't figure out how to open a
> link aside from having some sort of:
>
> new HTML("<a href=.....>my link</a>");
>

Look at the Hyperlink, InlineHyperlink and Anchor classes.

Anchor creates the <a>, and if you use setHref, creates the href attribute.
This type is good for links outside of your application.

Hyperlink and InlineHyperlink can be used to create links within the
application, firing history events via History.newItem(), so you can create
multiple bookmarkable states.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to