1

The member variable sc was never populated so is null when it is used in quickSave(). Simply populate it in the constuctor: public MyController(ApexPages.StandardController sc) { this.c = (Contact)sc.getRecord(); this.sc = sc; }


1

Minor problem, you need to use apex:outputText instead of outputText. Due to this, the Visualforce engine is unable to draw the cell with outputField as it is not a valid apex component. <outputField value="{!e.Master_Element__c}"></outputField> should be: <apex:outputField value="{!e.Master_Element__c}"></apex:...


1

Visualforce's field components respect the field level security (FLS) defined in the profile/permission sets. Most likely you don't have view/edit rights set for the fields that are not appearing. (And/or the object level permissions.)


Only top voted, non community-wiki answers of a minimum length are eligible