I would like to fire an actionListener from a p:commandButton inside a column header as follows:
<h:form id="foos">
<p:messages id="mess" />
<p:columns var="foo" value="#{fooBean.foos}">
<f:facet name="header">#{foo.name}
<p:commandButton icon="ui-icon-trash" actionListener="#{fooBean.test()}" update=":foos" process="@this" />
</f:facet>
<h:outputText value="foobar" />
</p:columns>
</h:form>
No matter what I try, the actionListener method never is fired. If I move the commandButton outside of the facet it works, so I assume there is something awry with the facet component in conjunction with the commandButton.
No messages are displayed so it appears that validation is not failing.
This is under Primefaces 3.5