+ 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