You need to sign in to do that
Don't have an account?
Unknown property AccountStandardController
Hi I am getting the error Unknown property AccountStandardController.
<apex:page standardController="Account" extensions="CampaignHistory_account">
<style>
.fewerMore { display: none;}
</style>
<apex:form >
<apex:pageMessages />
<apex:detail relatedList="true"></apex:detail>
<apex:pageblock id="CustomList" title="Related Campaign History" >
<apex:pageBlockTable value="{!cntct}" var="c" rendered="{!NOT(ISNULL(cntct))}">
<apex:column value="{!c.FirstName}"/>
</apex:pageBlockTable>
<apex:outputLabel value="No records to display" rendered="{!(ISNULL(cntct))}" styleClass="noRowsHeader"></apex:outputLabel>
</apex:pageblock>
</apex:form>
</apex:page>
public class CampaignHistory_account {
|
Hi,
You need to make the variable "cntct" as public with getters and setters like below
Hope this helps
you also need some code somewhere that calls getCampaignHistory to initialze cntct
Thank you,
Now its working the problem was with get method.