that makes sense and indeed there is an JIRA concerning to this. it's https://jira.jboss.org/jira/browse/GTNPORTAL-629
in addition, it's a great idea to be able setting default properties of a portlet while newly adding. ideally, it should be done in Application Registry
yes, just simply add it to the page and no decorations show up.
On Mar 3, 2010, at 11:35 AM, Matthew Wringe wrote:
> On Wed, 2010-03-03 at 11:23 -0500, Wesley Hales wrote:
>> 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?
>
> are you trying to have the window decorations turned off by default when
> you add the portlet to any page?
> or are you trying to have a portlet
> setup and added to a page when the war gets deployed on the server?
>
>>
>> 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@lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/gatein-dev
>>
>>
>> _______________________________________________
>> gatein-dev mailing list
>> gatein-dev@lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/gatein-dev
>
>
_______________________________________________
gatein-dev mailing list
gatein-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/gatein-dev