On Feb 10, 11:45 am, mariyan nenchev <[email protected]>
wrote:
> Hi,
> I have a label that contains some text and part of it must link:
> For example the whole Label text is : bla bla bla. Reference:link, bla bla
> bla.
> I tried : Reference : <a href="http://www.google.com">Help Desk</a>
> But gwt doesn't detect it as url, may be i should use HTML?
>
> Regards.
Hi,
as you wrote, label doesn't allow rendering HTML,
you should use HTML for external link:
HTML externalLink = new HTML("<a href='http://www.google.com'>Help
Desk</a>");
or for internal link
Hiperlink = new Hyperlink ( test.getLink(), test.getLink());
Cheers
--
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.