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
Azhar Iqbal 4Azhar Iqbal 4 

apex attribute is not taking new value

I have an attribute in my component
<apex:attribute name="selectedContactName" description="Contact selected" type="String" assignTo="{!ct_displayValue}"/>
which i am assigning to a text field in the component
<apex:inputText styleClass="box" value="{!ct_displayValue}" />

Now when i am changing the value in this text field and clicking on command button. In controller i am getting the value which i have passed to attribute while creation and not the latest one.


 
SalesFORCE_enFORCErSalesFORCE_enFORCEr
Have to created the getter setter for this value?
Azhar Iqbal 4Azhar Iqbal 4
Yes i have getter and setter for this value