5 Replies Latest reply on Nov 21, 2007 4:49 AM by jvence

    Creating a page that is not displayed in Portal Tabs

    jvence

      Is it possible to create a page containing different portlets but that is not displayed as one of the tabs but still accessible directly through a URL?

      I tried using an empty <parent-ref/> but JBoss portal didn't like that.

      Thanks

      Jean

        • 1. Re: Creating a page that is not displayed in Portal Tabs
          soon5

          Hy,

          I have a kind of "hack" idea, but it should work.

          Go to the $PORTAL-WAR\portal-core.war\WEB-INF\jsp\header Folder and open the tabs.jsp File. That File renders the Tabs. You will find some loops over iterators there. You could compare the name of the Page with your hidden one, and ignore the render process.

          Greetings
          Soon5

          • 2. Re: Creating a page that is not displayed in Portal Tabs
            jvence

            Thanks for your reply I will give it a try. You would think that there's an easy way to do this. Another approach, would be to create a different portal and create a page in that portal and then load that page whenever necessary. THe problem with this approach is that when the page is loaded the Tabs are different from the ones from the main portal.

            Anyone else has any idea?

            Jean

            "Soon5" wrote:
            Hy,

            I have a kind of "hack" idea, but it should work.

            Go to the $PORTAL-WAR\portal-core.war\WEB-INF\jsp\header Folder and open the tabs.jsp File. That File renders the Tabs. You will find some loops over iterators there. You could compare the name of the Page with your hidden one, and ignore the render process.

            Greetings
            Soon5


            • 3. Re: Creating a page that is not displayed in Portal Tabs
              claprun

              What is the use case?

              • 4. Re: Creating a page that is not displayed in Portal Tabs
                bvogt

                a more general solution is to introduce a new page property which then is evaluated within the navigation rendering.

                Our use case for this is:
                preventing public pages (i.e. role 'unchecked') from being displayed for named users

                We use the property solution as mentioned above.

                • 5. Re: Creating a page that is not displayed in Portal Tabs
                  jvence

                   

                  "chris.laprun@jboss.com" wrote:
                  What is the use case?


                  Use case is that we want to create a public profile page (that receives a user id parameter) and displays a public profile of a user. It will contains a bunch of portlets displaying info related to that user.