If you control the popup blocker, just disable it.

If you DON'T control the popup blocker,  you need to (1) Train users to 
allow popups for your app or (2) re-design the app to not use use popups.
_________________________________________

“Measuring software productivity by lines of code is like measuring 
progress on an airplane by how much it weighs.”
Bill Gates 



From:   Pratibha <pratibha.pari...@gmail.com>
To:     users@wicket.apache.org
Date:   10/26/2016 05:14 AM
Subject:        New window blocked by popup blocker



This email originated from outside of the company.  Please use discretion 
if opening attachments or clicking on links.

Hi team, 
I need to open window using Ajax Target

The below code opens url in new tab but is blocked by pop up

target.appendJavaScript("window.open('"+url.toString()+"','_blank');");
getRequestCycle().scheduleRequestHandlerAfterCurrent(target);


Thankyou



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/New-window-blocked-by-popup-blocker-tp4675878.html

Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org





**

This email and any attachments may contain information that is confidential 
and/or privileged for the sole use of the intended recipient.  Any use, review, 
disclosure, copying, distribution or reliance by others, and any forwarding of 
this email or its contents, without the express permission of the sender is 
strictly prohibited by law.  If you are not the intended recipient, please 
contact the sender immediately, delete the e-mail and destroy all copies.
**

Reply via email to