The anchor widget is just a regular a href= tag so if you use that
constructor, clicking on it will open a new browser window. To get an
anchor that doesn't do that use the constructor
Thanks Salvador, this seems to have worked.
What is confusing is the constructor I used has in the javadoc:
Creates an anchor for scripting. The anchor's href is set to
javascript:, based on the expectation that listeners will be added to
the anchor.
This seems to imply what I was trying to do,
With 1.6.4 on linux in Hosted mode, if I have something like:
Anchor anchor = new Anchor(some text);
anchor.addClickHandler(new ClickHandler()
{
public void onClick(ClickEvent event)
{
//do something
}
});
I get a new blank browser window popup and and