I want send only some data of my form to the bean. So I have the next code on the view:
<p:commandButton value="Save Group" actionListener="#{configureByTransactionsBean.saveGroup()}"
disabled="#{configureByTransactionsBean.causeSelected == null}" update="formulario"
process="@(#formulario\\:name)" />
but nothing happens. Nothing arrive to the server and my method saveGroup() is not called. However if I inspect the network with my browser an ajax request has been sent. By the other hand, if I change the attribute procees to @this:
<p:commandButton value="Save Group" actionListener="#{configureByTransactionsBean.saveGroup()}"
disabled="#{configureByTransactionsBean.causeSelected == null}" update="formulario"
process="@this" />
all works as expected, but obviosly I dont have available the value of my inputtext on server side. So I only want to send to the server the information that is on inputtext with id="name":
<h:form id="formulario">
<p:panelGrid columns="2">
<p:outputLabel value="Name" ></p:outputLabel>
<p:inputText
value="#{configureByTransactionsBean.causeSelected.txtName}"
id="name">
</p:inputText>
...
...
Can anyone help me?