To make this work in Firefox with window.open, it seems I need Sjax
(synchronous) to call window.open just inside the onclick handler. Is it
possible in Wicket, in any way?
Adriano
Adriano dos Santos Fernandes escreveu:
In a non-Wicket application, I had a page for report parameters
editing and an execute button. Parameter validation was is Javascript,
and I want my report opening on a new browser window. I done it with a
<form target="_blank"> tag.
Now with Wicket, I succeeded done the same thing but I have problem
with the browser preventing the (bad, in its opinion) popup from opening.
My form has a feedbackpanel, so I believe I can't use the same
technique. I have created an AjaxButton on it, and on its onSubmit I
call target.appendJavascript("window.open(...)").
Do you see a way to do it without the browser interfere in the new
window opening?
Thanks,
Adriano
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]