Why am I getting the following error?

Unknown property

Controller Extension

public class CrewWorkDetailController{

    public final Installation__c installation ;

    public CrewWorkDetailController(ApexPages.StandardController stdController)
        this.installation = (Installation__c) stdController.getRecord() ;


<apex:page standardController="Installation__c" extensions="CrewWorkDetailController">

1 Answer 1


You haven't defined a getter for your Installation__c instance variable. Try replacing this line

public final Installation__c installation ;


public final Installation__c installation {get; private set;}

This will allow the VF page to be able to access the installation variable.

  • 5
    It should be noted that Visualforce requires a public getter or setter to access the variable; it's not enough to simply mark the member as public.
    – sfdcfox
    Jun 12, 2014 at 1:06

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .