2 Replies Latest reply on Dec 18, 2007 2:37 PM by Pete Muir

    mixing javascript with JSF EL to call SFSB method

    Arbi Sookazian Master

      I need to called a SFSB method from a modalPanel dataTable value attribute as below. The employeedId and columnName variables are available via DOM/javascript at the time this dataTable is rendered (or reRendered when a button is clicked). How can I pass these values in the JSF EL expression? Or must you use Seam remoting to achieve this? The method returns a List which is based on a JPA query that needs these params...

      <rich:dataTable value="#{securityAuditAction.getNoteLogList(employeeId, columnName)}" var="myRow">
       <rich:column width="400">
       <f:facet name="header">NoteText</f:facet>
       <h:outputText value="#{myRow.noteText}"/>
       <f:facet name="header">TimeStamp</f:facet>
       <h:outputText value="#{myRow.timeStamp}">
       <s:convertDateTime dateStyle="short" timeStyle="medium" type="both"/>