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
sravusravu 

Display the detail page without using standard controller

Hi,

 

In my visualforce page, once the record is submitted the user must be redirected to the record's detail. I am passing the record id to the detail page. I could do this using a standard controller. What I want to do is to display the details using custom controller. Is this possible?

 

How to display the details of the record without using the standard controller?

ericszulcericszulc

Is this what you are thinking of ?

 

<apex:detail subject="{!$CurrentPage.parameters.id}"/>

Bhawani SharmaBhawani Sharma

In that case you needd to put the id oh desired recordin following tag:

<apex:detail subject="{idParameter}" />