0 Replies Latest reply on Aug 28, 2012 10:36 AM by Dominik Schmucker

    Problem with Richfaces Tree-Example in Eclipse

    Dominik Schmucker Newbie

      Hello,

       

      I came across the Tree-Example here: http://livedemo.exadel.com/richfaces-demo/richfaces/tree.jsf?tab=model&cid=1269828

      I found the example pretty cool and wanted to try it, too. So I put the source into Eclipse (I am using Eclipse Juno btw). But in the SimpleTreeBean.java I get an error in this line

       

      [CODE]HtmlTree tree = (HtmlTree) event.getComponent();[/CODE]

       

      The message is "Cannot cast from UIComponent to HtmlTree"

       

      Does anybody in here know how to solve this problem in Eclipse?

       

      Kind regards,

       

      Dominik