[jboss-user] [JBoss Seam] - Extended EL or ICEFaces rowSelector
jrosskopf
do-not-reply at jboss.com
Tue Dec 26 10:58:12 EST 2006
Hello,
I (more or less) copied the following code from the seam-icesfaces example.
| <div id="adminList">
| <h:outputText value="No Accounts Found" rendered="#{accounts != null and accounts.rowCount==0}" />
| <ice:dataTable id="accounts" value="#{accounts}" var="a" rendered="#{accounts.rowCount>0}">
| <h:column>
| <f:facet name="header">Username</f:facet>
| <ice:outputText value="#{a.uid}" onmouseovereffect="#{highlight}" />
| </h:column>
| <h:column>
| <f:facet name="header">Password</f:facet>
| <ice:outputText value="#{a.password}" onmouseovereffect="#{highlight}" />
| </h:column>
| <h:column>
| <f:facet name="header">Action</f:facet>
| <s:link value="View Account" action="#{accountFacade.accountSelection(a)}"/>
| </h:column>
| </ice:dataTable>
| </div>
|
When I click on the "View Account" link the method "accountSelection" in my backing-bean gets invoked, but always with a null argument. And I´m unable to find the difference between my code and the example.
Another question is, if there is a possibility to use ICEFaces DataTable Row selector in the meanwhile? I tried it this afternoon for a couple of hours. In the logfiles I saw a couple of xmlhttp roundtrips, but as I´m a newbie in web-development in general and ajax especially, debugging is tedious.
Regards
---
Joachim
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996295#3996295
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996295
More information about the jboss-user
mailing list