[gatein-dev] portal.xml

Wesley Hales whales at redhat.com
Wed Mar 3 11:23:44 EST 2010


Anybody have any ideas on this? Still facing the issue...
Let's say a user wants to create a new UIBannerPortlet, but not using webui... maybe using JSF or JSP. How can they hide the window decorations?
How can I get  <show-info-bar>false</show-info-bar> in a third party portlet by default?


On Jan 5, 2010, at 4:10 PM, Wesley Hales wrote:

> 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
> 
> 
> _______________________________________________
> gatein-dev mailing list
> gatein-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/gatein-dev




More information about the gatein-dev mailing list