Hi.

Are you under the impression that EL functions cannot accept parameters?

I am. At least when uspecified as method bindings. There are exceptions like action listeners which receive events as arguments, but I have found no way to implement something like:

<x:dataTable ... var="document">
  ...
  <h:column>
    <f:facet name="header">
      <f:verbatim>Action</f:verbatim>
    </f:facet>
<h:commandButton value="Load" immediate="true" action="#{editor.load(document.id)}"/>
  </h:column>
</x:dataTable>

Works now for me as #{[editor.load(document.id)]} with JavaScript.

Bye.
/lexi

Reply via email to