0 Replies Latest reply on Mar 9, 2009 11:22 AM by Stephan Schult

    Pages Catalog in JBoss Portal 2.7.1

    Stephan Schult Newbie


      I am searching for a Pages Catalog portlet in JBoss Portal 2.7.1 like the portlet in JBoss 2.6 we used before.

      Now I am trying to create my own Catalog Portlet to get a "tree view" of all the pages in my portal page something like

      default page
      - page 1
      - page 2
      - page 2.1
      - page 2.2

      I tryed to use the JBoss portal api but I get a null result everytime..

       public void doView(RenderRequest request, RenderResponse response) throws PortletException, IOException {
       PortalNode root = (PortalNode)request.getAttribute("org.jboss.portal.api.node.PORTAL_NODE");
       PortletRequestDispatcher dispatcher =
       dispatcher.include(request, response);

      The result:

      16:12:52,391 INFO [STDOUT] null

      Can anybody help me with this issue ?

      Best regards