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 个回答
  1. 2017年5月23日 16:05
    Have to created the getter setter for this value?
0/9000