Hi,
I have the following data table:
<h:dataTable value="#{userSearch.userList}" var="user" headerClass="dataTableHeader" rowClasses="oddRow,evenRow">
<h:column>
<f:facet name="header">
<h:outputText value="#{msgs.name}1.1"/>
</f:facet>
<h:commandLink action="#{userSearch.retrieveUser}" immediate="true">
<h:outputText value="#{user}"/>
</h:commandLink>
</h:column>
</h:dataTable>
<h:commandLink action="#{userSearch.retrieveUser}" immediate="true">
<h:outputText value="Test me ....."/>
</h:commandLink>
As you can see the action in both commandLinks is the same. When I click on the commandLink outside the datatable the action method is called, but when I click on the action on the commandLink inside the dataTable, it just reloads the current page.
Is there any bug / issue with dataTables and commandLinks?
Thanks