0 Replies Latest reply on May 18, 2010 6:01 AM by Martial BRISOU

    How to define a Portal?

    Martial BRISOU Newbie

      How to define a new portail?

       

      I wish to create a new portail for the purpose of my application
      has a login page, this new portal not must to affect the gatein's

      default portal (portal).

       

      I have tried to define a war to define this portal, where
      WEB-INF directory contains the following directory portal/portal/classic
      that contains the files navigation.xml, pages.xml, et portal.xml.

       

      My file portal.xml use the <page-body> tag to use the file
      pages.xml and after defines a portlet-application in order to define
      footer page of my site:

       

      exemple portal.xml:

       

      <portal-config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://www.gatein.org/xml/ns/gatein_objects_1_0 http://www.gatein.org/xml/ns/gatein_objects_1_0"
      xmlns="http://www.gatein.org/xml/ns/gatein_objects_1_0">
      <portal-name>classic</portal-name>
      <locale>en</locale>
      <access-permissions>Everyone</access-permissions>
      <edit-permission>*:/platform/administrators</edit-permission>
      <properties>
        <entry key="sessionAlive">onDemand</entry>
      </properties>

      <portal-layout>

       

        <page-body></page-body>
       

        <!--Footer Page -->
        <portlet-application>
         <portlet>
          <application-ref>bm-resources</application-ref>
          <portlet-ref>BMResourcesConnexion</portlet-ref>
          <preferences>
           <preference>
            <name>template</name>
            <value>par:/groovy/groovy/webui/component/BMResourcesFooter.gtmpl</value>
            <read-only>false</read-only>
           </preference>
          </preferences>
         </portlet>
         <access-permissions>Everyone</access-permissions>
         <show-info-bar>false</show-info-bar>
        </portlet-application>

       

        </portal-layout>

      </portal-config>

       

      The problem is that the new portal page displays the default footer
      gatein instead of my new page footer.

       

      Can anyone tell me how to define a new portal.