Friday, September 30, 2011

Re: how to give a external link inot a samrtgwt portlet

For external link please use following code lAncInvoiceNo = new"Google", false);
lAncInvoiceNo.addClickListener(new ClickListener() {
public void onClick(Widget w) {

//TODO--Your code -- Like"href://");

On Sep 30, 9:35 am, yashujn <> wrote:
> hi ,
>         please tell me how to give a external link into a smartgwt
> portlet....
> i mean to say like in gwt we use this:
> String link = "";
> HTML html = new HTML("<a href=\"" + link + "\">GWT Website</a>");
> RootPanel.get().add(html);
> if I use this in smartgwt then link is appear in the protlet but when
> i move the portelt from one column to other column then portlet is
> disappeared ..............
> somebody plz help me.........

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

No comments:

Post a Comment