function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
sf sharathsf sharath 

help me

can u explain the meanig of this error 1 and 2

\ErrorError: Unknown property 'classba.accName'

 1.create apex property 'classba.accName'

2.create apex method 'classba.getaccName'

 

 

 

 

<apex:page controller="classba" sidebar="false">
<apex:form>
<apex:inputText value="{!accName}"/>
</apex:form>
</apex:page>

 

 

public with sharing class classba {
}

 

 

 

kiranmutturukiranmutturu

<apex:page controller="classba" sidebar="false">
<apex:form>
<apex:inputText value="{!accName}"/>
</apex:form>
</apex:page>

 

 

public with sharing class classba {

 

public string accName{get;set;}// this needs to define inorder to get the value to the backend from the UI
}