So in the following ajax code inside the header facet does not call the bean support (but it seems to call execution and rendering, I think), but the link outside the datatable works fine, does anyone have an idea why
<h:commandLink value="Types" > <f:ajax listener="#{typeBean.sortTypeList()}" execute="@this" render="@this"/> </h:commandLink> <p:dataTable id="fluidTable" widgetVar="fluidTable" var="vehBase" value="#{vehicleBean.currentVehicleBaseSet}" > <p:columnGroup type="header"> <p:row> <p:column rowspan="" > <f:facet name="header"> <h:panelGroup> <h:commandLink value="Types" > <f:ajax listener="#{typeBean.sortTypeList()}" execute="@this" render="@this"/> </h:commandLink> </h:panelGroup> </f:facet> </p:column> </p:row> </p:columnGroup>
source share