java - h:inputTex with f:ajax listener not fired in p:datatable and p:columns -


i have p:datatable

<h:form id="forms" styleclass="ttablas" prependid="false"> <p:datatable var="row" id="list" value="#{bb.datatable}" rowindexvar="i">     <p:column headertext="id">         <h:outputtext value="#{row.id}" />     </p:column>     <p:columns var="fecha" value="#{bb.lfechaentradavigor}">         <f:facet name="header">             <h:outputtext value="#{fecha}" />         </f:facet>         <h:outputtext value="#{row.getcoste(fecha)}" styleclass="#{row.isvalido(fecha)?'vigor':''}" rendered="#{!row.isupdatable(fecha)}">             <f:convertnumber groupingused="true" minfractiondigits="2" />         </h:outputtext>         <h:inputtext value="#{bb.valor}" rendered="#{row.isupdatable(fecha)}">             <f:convertnumber groupingused="true" minfractiondigits="2" />             <f:ajax render="@this" listener="#{grupovaloracionsiabb.changevalor(fecha, row, i)}" />         </h:inputtext>     </p:columns> </p:datatable>  

</h:form>

i did datatable in way because p:columns not accept p:celleditor , need know column updated, have created method changevalor(date fecha, object enitidad, integer fila) , call in f:ajax listener not fired.
idea???
thx

you should use p:inputtext , p:ajax , in p:ajax tag add process="@this" , event.


Comments

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

javascript - Ajax jqXHR.status==0 fix error -