1 Reply Latest reply on Apr 13, 2008 1:20 AM by ar.mohseni

    Problem with gravel and datatables

    ar.mohseni

      hi
      my code is :
      <gc:dataTable value="#{tasks}" var="ti">
      <gc:column>
      <f:facet name="header">ID</f:facet>
      #{ti.id}
      </gc:column>

      <gc:column>
      <f:facet name="header">Name</f:facet>
      #{ti.name}
      </gc:column>
      <f:facet name="header">Actions</f:facet>
      <h:form>
      <h:commandLink value="Suspend">

      <j4j:loadTask id="#{ti.id}" target="#{xtasks}"/>
      <j4j:suspend value="#{xtasks}"/>
      <n:nav outcome="success" redirect="true" storeMessages="true"/>
      <n:nav outcome="error" redirect="true" storeMessages="true"/>

      </h:commandLink>
      </h:form>
      </gc:column>
      </gc:dataTable>


      the suspend link in this code work correctly . but when i replace h:dataTable with gc:dataTable ,the link dos not work.

      All settings are same jbpm-console.war