A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
video training course this week in the
Command Link - Right click open in a new window
Joined: Nov 27, 2008
Jul 24, 2009 15:47:45
Hi All - I have a command link and an action attribute defined to it. It works fine if i click it. But I donot know what to do, if I want to make it work even if i right click and choose open in a new window. Can anybody help in this regard?
Rajneesh Kumar Rajput
Joined: Feb 25, 2009
Jul 28, 2009 06:45:56
Yes, you are right and it seems a limitation in
that you cannot open the command link into the new tab by doing right click on this, it will simply result in displaying the same page.
Well, if this is really needed you can change your command link into the outputLink that will allow to you open the link in the new tab.
But, remember if you want to allow click on that link too a manual
script will be needed to submit the page, to work as a normal command link.
I agree. Here's the link:
subject: Command Link - Right click open in a new window
Open pdf file
How to open Small Window
check if the window is new or old ?
Firefox breaks 20,000,000 downloads!
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015