AnsweredAssumed Answered

Please help.... users richlist

Question asked by soeursourire on Mar 29, 2006
Latest reply on Mar 30, 2006 by soeursourire
I hope you will agree for helping me, I am completly lost…

I do not understand how the richList is working in users.jsp:

<a:richList id="users-list" binding="#{UsersBean.usersRichList}" viewMode="details" pageSize="10"

styleClass="recordSet" headerStyleClass="recordSetHeader" rowStyleClass="recordSetRow" altRowStyleClass="recordSetRowAlt" width="100%"  value="#{UsersBean.users}" var="r" initialSortColumn="userName" initialSortDescending="true">
                           
<%– Primary column with full name –%>

<a:column primary="true" width="200" style="padding:2px;text-align:left">

         <f:facet name="header">

         <a:sortLink label="#{msg.name}" value="fullName" mode="case-insensitive" styleClass="header"/>
          </f:facet>
          <f:facet name="small-icon">
          <h:graphicImage url="/images/icons/person.gif" />
         </f:facet>
          <h:outputText value="#{r.fullName}" />
</a:column>

-        What is the binding for ?

-        UsersBean.users returns a List<Node> so how is it possible to do r.fullName although r is a Node ??? Where is the method getFullName, in User.java??

Thanks in advance!

Outcomes