Hi!

I've some problems getting the commandLink working correctly within an 
"autoUpdateDataTable".

My code looks like:

<h:form id="form_tasklist">
  <s:autoUpdateDataTable id="data1"
    rows="5"
    headerClass="tableheader" 
    columnClasses="tablecell"
    var="taskInstance"
    value="#{homeBean.ajaxTaskInstances}"
    preserveDataModel="true"
    frequency="30"
  >
        <h:column >
          <f:facet name="header">
            <h:outputText value="Link" />
          </f:facet>
          <t:commandLink immediate="true" 
action="#{homeBean.selectTaskInstance}">
            <f:param name="taskInstanceId" value="#{taskInstance.id}"/>
            <h:outputText value="#{taskInstance.name}" />
          </t:commandLink>
        </h:column>
  </s:autoUpdateDataTable>
</h:form>

After a new datatable-entry was "added" to the existing datatable the 
commandLink doesn't
seem to work on the first klick (have to klick it twice). 

Any suggestions?

Thanks,
H

Reply via email to