Update p:inputText
Posted: 20 Apr 2017, 09:15
Hi!
I have a <p:commandButton to edit differents Data.
If you click on another dataset, the input field is not updated, but the outputText
Why does it make no update on <p:inputText ???
Thanks
FI
I have a <p:commandButton to edit differents Data.
Code: Select all
<p:commandButton action="#{memberTestController.goEdit(getFieldValue('id'))}" icon="fa fa-pencil" ajax="true" update="@form global-growl" disabled="#{!memberTestController.canStart}" />
Code: Select all
<h:outputText value="#{memberDetailController.plotManager.form.plot.code}" /> its ok!
Code: Select all
<p:inputText id="plotcode" styleClass="col-xs-10" value="#{memberTestController.form.plot.code}" disabled="#{!memberTestController.plotEditable}"> here are the old Params
<p:ajax event="keyup" listener="#{memberTestController.handlePlotChange()}" update="@form"/>
</p:inputText>
Thanks
FI