GWT: open a url in a new browser window








com.google.gwt.user.client.Window has static method open(String url, String name, String features) can open a url in a new window:


To open a relative URL, GWT has a static method: getHostPageBaseURL() can be used, see the example below:


No comments:

Post a Comment