[jboss-user] [JBoss Seam] - mixing javascript with JSF EL to call SFSB method
asookazian
do-not-reply at jboss.com
Wed Dec 12 19:09:13 EST 2007
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}"/>
| </rich:column>
|
| <rich:column>
| <f:facet name="header">TimeStamp</f:facet>
| <h:outputText value="#{myRow.timeStamp}">
| <s:convertDateTime dateStyle="short" timeStyle="medium" type="both"/>
| </h:outputText>
| </rich:column>
| </rich:dataTable>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4112412#4112412
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4112412
More information about the jboss-user
mailing list