AnsweredAssumed Answered

Cant acsess custom bean methods

Question asked by redomancer on May 18, 2009
Latest reply on May 20, 2009 by pinkesh_gandhi
I have custom made bean for my own purposes (simple POJO). I also modified document-details.jsp to display my own panel with data from bean.
The problem is - I CANT access bean's methods (javax.faces.el.PropertyNotFoundException), but CAN access class variables.
And I cant understand - what I am missing here? Why this is not workinh

// when method - NOT WORKING
<a:richList id="signatureList" viewMode="details"
  value="#{MyBean.getItems}" var="s"
  styleClass="recordSet" headerStyleClass="recordSetHeader"
  rowStyleClass="recordSetRow" altRowStyleClass="recordSetRowAlt"
  width="100%" pageSize="10"
  initialSortDescending="false">

BUT

// when variable- WORKING
<a:richList id="signatureList" viewMode="details"
  value="#{MyBean.itemsList}" var="s"
  styleClass="recordSet" headerStyleClass="recordSetHeader"
  rowStyleClass="recordSetRow" altRowStyleClass="recordSetRowAlt"
  width="100%" pageSize="10"
  initialSortDescending="false">

?

Outcomes