2 Replies Latest reply on Jul 13, 2005 12:52 AM by scientist

    Overriding the portal layout for a single page

    scientist

      Hello,

      I've read in several posts here in the forum that it should be possible to specify the portal layout on page level and override the general portal layout. I could not find out how to configure this behaviour until now.

      The layout settings are defined in default-portal.xml:

      <portal>
       <portal-name>default</portal-name>
       <properties>
       <!-- Set the layout for the default portal -->
       <!-- see also portal-layouts.xml -->
       <property>
       <name>org.jboss.portal.property.layout</name>
       <value>twoColumnLayout</value>
       </property>
      ...
      


      Now I tried to specify a similar setting at the page level (still in default-portal.xml):

       <page>
       <page-name>employeeServices</page-name>
       <properties>
       <property>
       <name>org.jboss.portal.property.layout</name>
       <value>threeColumnLayout</value>
       </property>
       </properties>
       <window>
      ...
      


      But the layout isn't changed when accessing the employeeServices page. Does anybody have an idea what is the right way to achieve the desired behaviour?