You could try

HTMLPanel p = new HTMLPanel("Click <span id='link'></span> to go there");
p.add(new Hyperlink("here", "token"), "link");

(I might have the parameters the wrong way around, but you get the idea.)

Ian

http://examples.roughian.com


2008/10/3 Brian <[EMAIL PROTECTED]>

>
> I'm wondering if this is really the best approach, of it I'm one
> widget short of a better idea.
>
> I'm just trying to write some text, a  gwt Hyperlink, and more text.
> Basically trying to concatenate labels and Hyperlinks.
>
> I can do this by creating a HorizontalPanel, adding the label, then
> adding the Hyperlink, then adding more labels, more Hyperlinks, and so
> on.  But is it really necessary for the HorizontalPanel to be there?
> Is there something else that would be better?  Just off hand, I
> thought of things like taking the Hyperlink's .getHTML() and
> concatenating that with the label's text, but that isn't what I'm
> after.
>
> 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