I have a custom object standardcontroller and an extension. I have embedded a VF page on the custom object's pagelayout. When the new custom object is created, I want to be able to access the custom object fields in my extension.
<apex:page standardController="Custom_Object__c" extensions="MY_Controller">
My constructor looks like this (not sure if this matters):
public ApexPages.StandardController stdCntrlr {get; set;}
public My_Controller(ApexPages.StandardController controller) {
stdCntrlr = controller;
}
So when I create Custom_Object__c I want to be able to access all Custom_Object__c fields in MY_Controller. (not just in the VF page) Any help greatly appreciated.