开发者

Opening new browsers window blocked inside GWT application

开发者 https://www.devze.com 2023-03-23 04:55 出处:网络
In my gwt, when a c开发者_如何学GolickEvent is fired, i create a webapp using rpc that i deployon server and i return the url which i used to open a new window...I have to do some process before openi

In my gwt, when a c开发者_如何学GolickEvent is fired, i create a webapp using rpc that i deploy on server and i return the url which i used to open a new window...I have to do some process before opening new window , I know it's because of that that browsers block the page but I do not know how to make it functional.

 url= someProcess();
 Window.open(url, "Test ", "");

is there any tricks to make the popup not blocked? Thanks in advance for your helps


use a modal window rather than a popup i.e. a div overlay with the information that would have been in the popup - the browser would not be able to block this.

0

精彩评论

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