[jboss-user] [JBoss Portal] - NAVIGATION PORTLET INSTANCE ON A NEW PORTAL PAGE

FcoLva do-not-reply at jboss.com
Mon Jul 2 17:52:20 EDT 2007


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>
      
   



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059753#4059753

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4059753



More information about the jboss-user mailing list