title: property not found on managed bean
body: <p>i have a problem that the managedBean didn't find the method </p>
  
  <p>here is my managedBean </p>
  
  <pre><code>public float res ;
  
  public List&lt;Reglement&gt; lister()
  {
  
      List&lt;Reglement&gt;  L = regdao.getListR(reglement.getType_reg());
  
      System.out.println(reglement.getType_reg());
      System.out.println(this.getDate_debut());
      System.out.println(this.getDate_fin());
  
      return  L;
  }
  </code></pre>
  
  <p>and he re is my xhtml file </p>
  
  <pre><code>&lt;p:dataTable id="dt" var="p"  value="#{reglementMB.lister}"
          paginatorTemplate="{CurrentPageReport}  {FirstPageLink} {PreviousPageLink} {PageLinks} {NextPageLink} {LastPageLink} {RowsPerPageDropdown}"
          rowsPerPageTemplate="2,5,9" paginator="true" rows="2"
          style="width:850px"&gt;
  
  
          &lt;f:facet name="header"&gt;
              &lt;h:outputText value="RESULTAT =  " /&gt;
          &lt;/f:facet&gt;
  
  
          &lt;p:column&gt;
              &lt;f:facet name="header"&gt;
                  &lt;h:outputText value="Montant " /&gt;
              &lt;/f:facet&gt;
              &lt;h:outputText value="#{p.reglement.montant_reg}" /&gt;
          &lt;/p:column&gt;
  
  
          &lt;p:column&gt;
              &lt;f:facet name="header"&gt;
                  &lt;h:outputText value="Date" /&gt;
              &lt;/f:facet&gt;
              &lt;h:outputText value="#{p.reglement.date_reg}" /&gt;
          &lt;/p:column&gt;
      &lt;/p:dataTable&gt;
  </code></pre>
  
  <p>and here is my error which claim that the managed bean didn't found the property although it exists in the the managed bean </p>
  
  <pre><code>exception
  javax.servlet.ServletException: /RSReglement.xhtml @56,24 value="#{reglementMB.lister}": Property 'lister' not found on type managedBean.ReglementMB
  javax.faces.webapp.FacesServlet.service(FacesServlet.java:606)
  
      cause mère    
  javax.el.PropertyNotFoundException: /RSReglement.xhtml @56,24 value="#{reglementMB.lister}": Property 'lister' not found on type managedBean.ReglementMB
  com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:111)
  javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:194)
  javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:182)
  javax.faces.component.UIData.getValue(UIData.java:731)
  org.primefaces.component.datatable.DataTable.getValue(DataTable.java:729)
  org.primefaces.component.api.UIData.getDataModel(UIData.java:581)
  javax.faces.component.UIData.getRowCount(UIData.java:356)
  org.primefaces.component.api.UIData.calculatePage(UIData.java:156)
  org.primefaces.component.datatable.DataTableRenderer.encodeMarkup(DataTableRenderer.java:178)
  org.primefaces.component.datatable.DataTableRenderer.encodeEnd(DataTableRenderer.java:74)
  javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:875)
  javax.faces.component.UIComponent.encodeAll(UIComponent.java:1764)
  javax.faces.render.Renderer.encodeChildren(Renderer.java:168)
  javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:845)
  javax.faces.component.UIComponent.encodeAll(UIComponent.java:1757)
  javax.faces.component.UIComponent.encodeAll(UIComponent.java:1760)
  javax.faces.component.UIComponent.encodeAll(UIComponent.java:1760)
  com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:402)
  com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:131)
  com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:121)
  com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
  com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
  javax.faces.webapp.FacesServlet.service(FacesServlet.java:594)
  </code></pre>