2 Replies Latest reply on Nov 25, 2008 1:17 PM by Jignesh Dhua

    Using Abstract Class for dynamic tree

    Jignesh Dhua Newbie


      I am currently trying to implement dynamic tree in richfaces which displays ldap users from server.

      I want to call abstract method expand event of tree node. Implementation of that method is in different class.

      for example,


      public abstract class User
      public abstract void showUser();

      Code for UserDemo like..

      public class UserDemo extends User
      public void showUser()
      //Here codding for adding user Group wise in rich:tree

      Now, I want to call showUser() method by User instance, not by UserDemo instance..

      Any help?


      Jignesh Dhua