Hi,
I don’t understand, how does LinkItem work?
This was my test implementation:
final LinkItem link = new LinkItem();
link.setLinkTitle(“Foo”);
link.setTarget(“_self”);
link.addClickHandler(new ClickHandler() {
public void onClick(ClickEvent event) {
if(isFoo) {
link.setLinkTitle("Bar");
isFoo = false;
}else {
link.setLinkTitle("Foo");
isFoo = true;
}
}
});
But at click nothing happens.
Thanks beforehand.