+ 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>

 

</apex:repeat>

 

 

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

 

 

 

bob_buzzardbob_buzzard

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

Hi,

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

   I doubt something wrong with the varibale declaration etc.

bob_buzzardbob_buzzard

Is your method declared as public?