Commandlink ajax not working inside header graph inside datatable fonts

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> 
+4
source share
1 answer

Place the data table inside the Surfaces panel and use "usefaces" or "button" instead of h: commandLink, if you use pages on this page, all components must be in format.

-1
source

All Articles