Skip to main content

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.

 
2 answers
  1. May 23, 2017, 4:05 PM
    Have to created the getter setter for this value?
0/9000