Skip to main content
Azhar Iqbal ha fatto una domanda in #Visualforce

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 risposte
  1. 23 mag 2017, 16:05
    Have to created the getter setter for this value?
0/9000