开发者

Simple hyperlink in GWT?

开发者 https://www.devze.com 2022-12-12 14:23 出处:网络
T开发者_StackOverflow社区his should be simple, but somehow I can\'t find a way to create simple hyperlink in GWT. Basically, I want to load another page when users clicks on something.

T开发者_StackOverflow社区his should be simple, but somehow I can't find a way to create simple hyperlink in GWT. Basically, I want to load another page when users clicks on something.

Hyperlink seems to point to internal GWT application state only. I guess I could put the link in HTML code itself, but how do I create it in Java?


Anchor
this.add(new Anchor("www.stackoverflow.com"));


You're looking for Anchor.

0

精彩评论

暂无评论...
验证码 换一张
取 消