I have the following component:
<p:inputText id="comp1" value="#{xyz.abc}" />
I have another component
<p:inputText id="comp2" value="" />
In the value of comp2... how do I set its value to read it from comp1
I dont want to write the value of comp2 to be >> value="#{xyz.abc}" I just want comp2 to copy the value of comp1
Thanks in advance.