/ Published in: XML
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<!-- For Custom Object --> <apex:outputLink value="{!URLFOR($Action.CustomObject__c.List, $ObjectType.CustomObject__c)}"> CustomObject__c List </apex:outputLink> <!-- For Standard Object like Contact --> <apex:outputLink value="{!URLFOR($Action.Contact.List, $ObjectType.Contact)}"> Contact List </apex:outputLink>
URL: http://www.tgerm.com/2010/10/visualforce-action-code-samples.html