0 Replies Latest reply on Dec 26, 2006 10:58 AM by Joachim Rosskopf

    Extended EL or ICEFaces rowSelector

    Joachim Rosskopf Newbie


      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}">
       <f:facet name="header">Username</f:facet>
       <ice:outputText value="#{a.uid}" onmouseovereffect="#{highlight}" />
       <f:facet name="header">Password</f:facet>
       <ice:outputText value="#{a.password}" onmouseovereffect="#{highlight}" />
       <f:facet name="header">Action</f:facet>
       <s:link value="View Account" action="#{accountFacade.accountSelection(a)}"/>

      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.