An instance of this listener type can be attached to any UIComponent which is an ActionSource. When the associated component fires its action, this listener will read the value specified by attribute "value" and assign it to the property specified by attribute "property". The value attribute may be a literal value or may be a value-binding; the property is always expected to be a value-binding.

An optional Converter may be associated with this listener, and if present will be invoked to convert the value to the datatype expected by the target property. When no converter is available, a default one will be retrieved from the Application object.

<h:dataTable value="#{bean.model}" var="row">
    <h:column>
        <h:outputText value="#{row.employeeName}" />
    </h:column>
    <h:column>
      <h:form>
        <h:commandLink action="navigateNextPage" immediate="true">
            <h:outputText value="Edit" />
            <t:updateActionListener 
                property="#{editPage.employee.employeeId}" 
                value="#{row.employeeId}" />
        </h:commandLink>
      </h:form>
    </h:column>
</h:dataTable>
  • No labels