4 Replies Latest reply on Nov 4, 2008 7:28 AM by ilya_shaikovsky

    Pagination in richfaces tree

    tabhi

      Hi

      Can any one tell me how to implement pagination in richfaces tree?

      Thanks in advance
      Abhi

        • 1. Re: Pagination in richfaces tree
          ronanker

          Y'll need to explain a little more what do you mean by 'pagination' for a Tree...
          Because it's not really something that we can find elsewere a tree paginated... usually, it's for a List.

          The rich:tree component d'ont have any pagination option but if you use a mapping between a full tree and what the rich tree shows, you can manage it...

          • 2. Re: Pagination in richfaces tree
            gandriami

            Hi,
            I have this problem:
            when I import
            org.richfaces.component.UITree,
            org.richfaces.event.NodeSelectedEvent,
            org.richfaces.model.TreeNode,
            org.richfaces.model.TreeNodeImpl


            the server cannot START.


            1:26:30,442 INFO [Component] Component: org.jboss.seam.core.init, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Init
            11:26:30,458 INFO [Initialization] Installing components...
            4 nov. 2008 11:26:30 org.apache.catalina.core.StandardContext listenerStart
            GRAVE: Exception lors de l'envoi de l'évènement contexte initialisé (context initialized) à l'instance de classe d'écoute (listener) org.jboss.seam.servlet.SeamListener
            java.lang.RuntimeException: Could not create Component: SimpleTreeBean
            at org.jboss.seam.init.Initialization.addComponent(Initialization.java:976)
            at org.jboss.seam.init.Initialization.installComponents(Initialization.java:898)
            at org.jboss.seam.init.Initialization.init(Initialization.java:576)
            at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:34)
            at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3830)
            at org.apache.catalina.core.StandardContext.start(StandardContext.java:4337)
            at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
            at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
            at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
            at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
            at org.apache.catalina.core.StandardService.start(StandardService.java:516)
            at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
            at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
            at java.lang.reflect.Method.invoke(Unknown Source)
            at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
            at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
            Caused by: java.lang.NoClassDefFoundError: org/richfaces/model/TreeNode

            • 3. Re: Pagination in richfaces tree
              ilya_shaikovsky

              seems liek deployment problem. describe your environment.

              • 4. Re: Pagination in richfaces tree
                ilya_shaikovsky

                and please stop post there. We will answer only in user forum.