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
souvik9086souvik9086 

Redirect to my Custom Page without Overidding the button

I have a visualforce page. Within it there are many tabs of custom objects where list of records are displaying by writing apex:listviews within the tab.

<apex:page showHeader="false" standardController="Panel__c">
  <apex:sectionHeader title="Panel" subtitle="Home" />
  <apex:listViews type="Panel__c" />
</apex:page>

But by clicking on a standard button/link it is redirecting to the standard salesforce page...But I'm trying to redirect it into my visualforce page without overidding the standard button/link. Because there are almost 20-25 objects. If I override I have to write the functionality of all of them in separate controllers. thats why I want to redirect that standard page within my visualforce page under respective tabs.
How can I do this?....Please help me if anyone has any suggestion...It is very urgent.......

Thanks 

Souvik

Jerun JoseJerun Jose
If you are using the listView tag, then it will merely show you the standard list view for that object. If you want to add additional logic to it, you will have to build that yourself. You can probably use a pageblock table with a custom outputlink which will call controller methods to redirect to your own VF page.