2 Replies Latest reply on Feb 10, 2006 1:03 PM by Gloria Martinez

    sub-pages

    Gloria Martinez Newbie

      Hi everyone! i want to do sub pages in a page.. like the test portlet that shows:
      - Test
      - theme selector
      - header content
      ....
      how i do this?
      i try to do.. but still dont success..
      can someone help me please?
      thanks for you help
      glodo

        • 1. Re: sub-pages
          Kasper Odgaard Newbie

          Hi

          One whay to make a nested page flow is to configure it in default-object.xml.

          <!-- Nested Page Structure -->
           <deployment>
           <if-exists>overwrite</if-exists>
           <parent-ref>default</parent-ref>
           <page>
           <page-name>Kaod nested page</page-name>
           <window>
           <window-name>NavigationPortletWindow</window-name>
           <instance-ref>NavigationPortletInstance</instance-ref>
           <region>navigation</region>
           <height>0</height>
           <!-- keep portal and page properties for this window -->
           <properties>
           <!-- use the window renderer from the emptyRenderer renderSet -->
           <property>
           <name>theme.windowRendererId</name>
           <value>emptyRenderer</value>
           </property>
           <!-- use the decoration renderer from the emptyRenderer renderSet -->
           <property>
           <name>theme.decorationRendererId</name>
           <value>emptyRenderer</value>
           </property>
           <!-- use the portlet renderer from the emptyRenderer renderSet -->
           <property>
           <name>theme.portletRendererId</name>
           <value>emptyRenderer</value>
           </property>
           </properties>
           </window>
           <window>
           <window-name>UserPortletWindow</window-name>
           <instance-ref>UserPortletInstance</instance-ref>
           <region>left</region>
           <height>0</height>
           </window>
           <window>
           <window-name>CatalogPortletWindow</window-name>
           <instance-ref>CatalogPortletInstance</instance-ref>
           <region>left</region>
           <height>1</height>
           </window>
           <window>
           <window-name>KaodCMSPortletWindow</window-name>
           <instance-ref>KaodCMSPortletInstance</instance-ref>
           <region>center</region>
           <height>0</height>
           </window>
           <!-- nested page -->
           <page>
           <page-name>Kaod nested sub-page1</page-name>
           <window>
           <window-name>NavigationPortletWindow</window-name>
           <instance-ref>NavigationPortletInstance</instance-ref>
           <region>navigation</region>
           <height>0</height>
           <!-- keep portal and page properties for this window -->
           <properties>
           <!-- use the window renderer from the emptyRenderer renderSet -->
           <property>
           <name>theme.windowRendererId</name>
           <value>emptyRenderer</value>
           </property>
           <!-- use the decoration renderer from the emptyRenderer renderSet -->
           <property>
           <name>theme.decorationRendererId</name>
           <value>emptyRenderer</value>
           </property>
           <!-- use the portlet renderer from the emptyRenderer renderSet -->
           <property>
           <name>theme.portletRendererId</name>
           <value>emptyRenderer</value>
           </property>
           </properties>
           </window>
           <window>
           <window-name>UserPortletWindow</window-name>
           <instance-ref>UserPortletInstance</instance-ref>
           <region>left</region>
           <height>0</height>
           </window>
           <window>
           <window-name>CatalogPortletWindow</window-name>
           <instance-ref>CatalogPortletInstance</instance-ref>
           <region>left</region>
           <height>1</height>
           </window>
           <window>
           <window-name>KaodCMSPortletWindow</window-name>
           <instance-ref>KaodCMSPortletInstance</instance-ref>
           <region>center</region>
           <height>0</height>
           </window>
           </page>
           </page>
           </deployment>
          


          • 2. Re: sub-pages
            Gloria Martinez Newbie

            thanks so much for you help..
            It works fine.
            glodo