+ Start a Discussion
Legendary PerformanceLegendary Performance 

Unknown Propert Error

Hi Can Any body tell me why I am getting this error again n again while I save the page.


Unknown Property  'QR_GAP_TABLE__cStandardController.getRecAvailabilityCheck'


The page somewhat looks like


<apex:page standardController="QR_GAP_TABLE__c" extensions="QRGapExtnnAnother" sidebar="false" tabStyle="GFQuote__c">
    <apex:variable value="{!getRecAvailabilityCheck}" var="gapval" />




<apex:outputText value="Minimum" style="font-weight:bold" />
                    <apex:repeat id="columnsg" value="{!QR_GAP_TABLE__c}" var="k" rendered = "{!gapval}">
                        <td><apex:inputField value="{!k.B1__c}"  rendered = "{!gapval}"/></td>
                        <td><apex:inputField value="{!k.B20__c}"  rendered = "{!gapval}"/></td>
                        <td><apex:inputField value="{!k.B39__c}"  rendered = "{!gapval}"/></td>
                        <td><apex:inputField value="{!k.B58__c}"  rendered = "{!gapval}"/></td>





Although method 'getRecAvailabilityCheck' has been defined within the extension 'QRGapExtnnAnother' .

which is returning true or false depending on the condition.


Please tell me what could be the reason





Visualforce will automatically add the get part, you just need to refer to the "property" name:



<apex:variable value="{!RecAvailabilityCheck}" var="gapval" />



Legendary PerformanceLegendary Performance


   I have already tried it without get even then the error popping up.

   I doubt something wrong with the varibale declaration etc.


Is your method declared as public?