1 Reply Latest reply on Jul 3, 2007 7:57 AM by Antoine Herzog

    NAVIGATION PORTLET INSTANCE ON A NEW PORTAL PAGE

    Francisco Leiva Newbie

      HELLO! I would like to know what i have to write to this code in order to generate an NavigationPotrletInstance. I know that it have to be something like this (
      <!--From-->

      <window-name>NavigationPortletWindow</window-name>
      <instance-ref>NavigationPortletInstance</instance-ref>
      navigation
      0
      <!-- keep portal and page properties for this window -->

      <!-- use the window renderer from the emptyRenderer renderSet -->

      theme.windowRendererId
      emptyRenderer

      <!-- use the decoration renderer from the emptyRenderer renderSet -->

      theme.decorationRendererId
      emptyRenderer

      <!-- use the portlet renderer from the emptyRenderer renderSet -->

      theme.portletRendererId
      emptyRenderer



      <!--To-->) But i dont know where i have to add this code, or what else i have to do to make it work

      Thank You a lot in advance!

      -----------Portal Page Code *OBJECT.xml---------------jboss-portal-2.4.2---
      <?xml version="1.0" encoding="UTF-8"?>


      <if-exists>overwrite</if-exists>
      <parent-ref>default</parent-ref>


      <page-name>MyPage</page-name>


      <window-name>HelloWorldPortletPageWindow</window-name>
      <instance-ref>HelloWorldPortletPageInstance</instance-ref>
      center
      0





      layout.id
      generic


      theme.id
      Maple

      <!-- set the default render set name (used by the render tag in layouts) -->
      <!-- see also portal-renderSet.xml -->

      theme.renderSetId
      divRenderer




      <security-constraint>
      <policy-permission>

      <action-name>viewrecursive</action-name>
      </policy-permission>
      </security-constraint>