Hi,
My question is very simple : is it possible to insert a link in a Button ?
The idea is : when I click on the button, I go to http://www.google.be/ for example …
Thanks.
I reply to myself :
myButton.addClickHandler(new ClickHandler() {
@Override
public void onClick(ClickEvent event) {
Window.Location.replace("http://www.google.be/");
}
});
It’s maybe not the best way to do but it’s the only one I found …
Thanks
I was actually looking for this.