function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
fatmonkfatmonk 

VisualForce Right Mouse Click

I am having problem with right mouse click 

I create a custom search list result. on The ReturnResult Listview. it works fine(go to the detail page)  if I click  on the link. but when use the right mouse click (Open New Tab) I get a new search page instead. 

Here is the code:

 <apex:commandLink action="/apex/CustomAcountDetail_Test?id={!acc.id}" value={!acc.name}> 

 

Thanks

fatmonkfatmonk

Ha... I am not sure it is a bug or it is a freature, finally find out:

If I use <apex:commandLink... then right mouse click does not work.

but iit works if I uses <apex:outputLink ....