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
Yes, you are right and it seems a limitation in JSF 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 java script will be needed to submit the page, to work as a normal command link.