+ Start a Discussion
Stefan FellnerStefan Fellner 

Extend Standard Controller

Hello,

how can I keep all the InputFields of the Contact standard controller by extending it with my own controller?

My goal is to have the same fields and attributes as shown in the image below, but having one additional component to it.
Contact View

Thanks
Stefan FellnerStefan Fellner
I have solved this issue.

The trick is to use the "Apex detail" attribute in my Visualforce page. This is how I used it:
 
<apex:page sidebar="true" showheader="true" standardController="Contact" extensions="ContactLocationController">
    <apex:detail subject="{!Contact.Id}" relatedList="true" title="false"/>
    ....my extension components...
</apex:page>