4 Replies Latest reply on Sep 20, 2006 3:54 PM by claprun

    Tabs don't show up on the new page in default portal

    portalgeek

      Hi,

      I have deployed HelloWorld portlet on a different page on the default portal.

      So, now on the default portal, i have 3 tabs insteadof 2. (1.test 2.default, 3.HelloWorld)

      When i click on the test or default tab, i go their respective pages i can see the tabs. But when i click on HelloWorld tab, i go to the HelloWorld page but cannot see the tabs.

      The way i deployed HelloWorld portlet is , i put HelloWorld.war file in deploy directory of the JBoss Server. Thats all. Do i need to change anything in default-object.xl for the tabs to appear ?

      Please throw some light.

      thanks

        • 1. Re: Tabs don't show up on the new page in default portal
          peterj

          The tabs are part of the Navigation Portlet. Unless you add the Navigation Portlet to the new HelloWorld page, that tabs will not show up on that page. The Reference Guide has an example of creating a new page and adding the Navigation Portlet to it.

          • 2. Re: Tabs don't show up on the new page in default portal
            portalgeek

            Thanks peter. Appreciate it.

            So i guess the navigation portlet anywhere.

            thanks

            • 3. Re: Tabs don't show up on the new page in default portal
              halversp

              Having to explicitly add common instances like the nav, user, etc. to every page definition (with all the right renderset options, security, etc.) gets really tiresome after a while, particularly in our design where we have several such common elements on a couple dozen pages.

              Any thought, in some future version, for some sort of "template"/"master"/"prototype", with all properties, instances, etc., that you can declare once and then reference from each individual object def? Without it, it's extraordinarily difficult to maintain a consistent page structure.

              p

              • 4. Re: Tabs don't show up on the new page in default portal
                claprun

                 

                "halversp" wrote:
                Having to explicitly add common instances like the nav, user, etc. to every page definition (with all the right renderset options, security, etc.) gets really tiresome after a while, particularly in our design where we have several such common elements on a couple dozen pages.

                Any thought, in some future version, for some sort of "template"/"master"/"prototype", with all properties, instances, etc., that you can declare once and then reference from each individual object def? Without it, it's extraordinarily difficult to maintain a consistent page structure.


                Agreed. There's a thread on UI improvements for 2.6 meant to gather ideas such as this: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=87301