0 Replies Latest reply on Oct 2, 2008 2:22 PM by tomek szzzaaos

    Richfaces odd problem

    tomek szzzaaos Newbie

      Hi all,


      I'm really confused!


      Using:
      - jboss 4.2.2GA,
      - seam-2.0.3,
      - richfaces from seam (3.1.4.GA),


      project generated by seam-gen.


      <rich:datascroller
         rendered="#{search.resultList.size > criteria.pageSize}"  
         actionListener="#{criteria.actionListener}"/>




      and in the Seam component called criteria:


      public void actionListener(javax.faces.event.ActionEvent e) {          
           Object sourceObj = e.getSource();
           if(sourceObj instanceof org.richfaces.component.html.HtmlDatascroller ) {
                org.richfaces.component.html.HtmlDatascroller scroll = (org.richfaces.component.html.HtmlDatascroller)sourceObj;
                System.err.println(scroll);
           }else {
                System.err.println("ERROR !!!!! "+sourceObj.getClass() + ":"+sourceObj);
           }
      }
      



      Any idea why I'm getting:
      ERROR !!!!! class org.richfaces.component.html.HtmlDatascroller:org.richfaces.component.html.HtmlDatascroller@119a664


      Please help :)
      Thanks!