[gatein-dev] portal.xml

Wesley Hales whales at redhat.com
Tue Jan 5 16:10:46 EST 2010


I have a JSF portlet (the admin/JMX demo) built using the JBoss Portlet Bridge and deployed to GateIn. What steps should I take if I wish to remove the default GateIn window decoration and mode buttons?

I read this and tried a few different things to no avail: http://docs.jboss.com/gatein/portal/3.0.0-Beta04/reference-guide/en-US/html_single/index.html#sect-Reference_Guide-Portal_Navigation_Configuration-Portal.xml

and I am just wondering if/how it is possible with a non-GateIn portlet. This is what I have tried and the docs don't go into detail about a third party portlet (afaik)
<portal-config>
  <portal-name>classic</portal-name>
  <locale>en</locale>
  <access-permissions>Everyone</access-permissions>
  <edit-permission>*:/platform/administrators</edit-permission>
  <creator>root</creator>
  <properties>
    <entry key="sessionAlive">onDemand</entry>
  </properties>

 	<portal-layout>
	   <application>
         <instance-id>portal#classic:/web/bridgeadminPortlet</instance-id>
         <show-info-bar>false</show-info-bar>
           <show-application-state>true</show-application-state>
            <show-application-mode>false</show-application-mode>
       </application>
	  <page-body> </page-body>
  </portal-layout>

</portal-config>

Thanks,
Wesley




More information about the gatein-dev mailing list