0 Replies Latest reply on Apr 24, 2006 1:59 AM by Chad Arimura

    Datatable form submit problem

    Chad Arimura Newbie

      I'm having a problem with a commandLink tag inside a datatable.

      This works:

      <h:form>
      <h:commandLink action="#{memberDetail.getDetails}"><h:outputText value="test"/><f:param name="id" value="2"/></h:commandLink>
      </h:form>
      


      But this does not (it just refreshes the page):

      <h:form>
      <h:dataTable value="#{members}" var="mem" rendered="#{members.rowCount>0}">
       <h:column>
       <h:commandLink action="#{memberDetail.getDetails}"><h:outputText value="test"/><f:param name="id" value="2"/></h:commandLink>
       </h:column>
      </h:dataTable>
      </h:form>
      


      Am I doing something obviously wrong?

      Thanks,
      Chad