commandLink does now work inside <t:columns> <f:facet name="header"> ----------------------------------------------------------------------
Key: MYFACES-2486 URL: https://issues.apache.org/jira/browse/MYFACES-2486 Project: MyFaces Core Issue Type: Bug Affects Versions: 1.2.8 Reporter: Marek Majchrzak CommandLink defined inside <f:facet name="header"> in dataTable with several t:columns does not execute action on server side. This problem does not exists in first t:columns element, in all t:column elements and in t:commandLinks having forceId=true. CommandLinks defined outside <f:facet name="header"> are working correctly too. Below simplified example allow to reproduce the problem: <t:dataTable value="#{dataTableBean.model}" var="item" border="1"> WORKS CORRECTLY <t:column> <f:facet name="header"> <t:commandLink action="#{dataTableBean.callFunction1}"> <h:outputText escape="false" value="Single Column" /> </t:commandLink> </f:facet> </t:column> WORKS CORRECLTY - first t:columns element <t:columns value="#{dataTableBean.columnModel}" var="colIndex"> <f:facet name="header"> <t:commandLink action="#{dataTableBean.callFunction1}"> <h:outputText escape="false" value="1 Columns" /> </t:commandLink> </f:facet> </t:columns> DOES NOT WORK CORRECTLY - second t:columns element <t:columns value="#{dataTableBean.columnModel}" var="colIndex"> <f:facet name="header"> <t:commandLink action="#{dataTableBean.callFunction1}"> <h:outputText escape="false" value="2 Columns" /> </t:commandLink> </f:facet> </t:columns> WORKS CORRECLTY - becouse of forceId=true <t:columns value="#{dataTableBean.columnModel}" var="colIndex"> <f:facet name="header"> <t:commandLink id="testCol" forceId="true" action="#{dataTableBean.callFunction1}"> <h:outputText escape="false" value="3 Columns" /> </t:commandLink> </f:facet> </t:columns> </t:dataTable> -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.