+ 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}" />