I have one instance where I load a pdf document in a new window. but
first I need to make an RPC call to prepare the PDF. when I first
wrote the routine to perform that action, I opened the window in the
onSuccess method of the RPC's callback, which worked fine as long as
the popup blockers were not turned on. but when I moved the window
open code to the click listener of the submit button for my RPC, the
window would open regardless of the state of any popup blockers.
hope this helps
-jason
Window.open("", "mySuperPuperTarget", "");
FormElement.as(form.getElement()).setTarget("mySuperPuperTarget");