I am trying to display detail of a custom object by using apex:detail. But i am getting no a blank page without any details i try it with Account but it was not working.
<apex:page standardController="CustomObjectA__c">
<apex:detail subject="{!CustomObjectA__c.id}" relatedList="true" title="false"/>
</apex:page>
please help me to get it solved.
Best Answer
With a standard controller,
<apex:detail />
without a subject should be sufficient, but you must pass an id to the page, e.g.,http://c.naX.visual.force.com/apex/detailTest?id=a03E00000082KUi
.