My commandLink will work when it's outside of the dataTable, but when it's within the dataTable it is not working (it just refreshes the same page, minus the model data, and doesn't even hit the action method in the backing bean).
I have... <x:saveState id="employeesListBean" value="#{employeesListBean}"/> <f:view> <h:form> <h:dataTable var="emp" value="#{employeesListBean.employeesModel}" > //stuff <h:commandLink value="#{msgs.edit}" action="#{employeeAction.prepareForEdit}"/> </h:dataTable> </h:form> </f:form> If I also add <h:commandLink value="#{msgs.edit}" action="#{employeeAction.prepareForEdit}"/> outside of the dataTable the prepareForEdit method is hit. What do I need to do to get my commandLink working from within the dataTable without using a Session scoped bean or preserveDataModel ? I thought the x:saveState would do the trick? -- Rick