[
http://jira.jboss.com/jira/browse/JBPORTAL-1302?page=comments#action_1235... ]
Antoine Herzog commented on JBPORTAL-1302:
------------------------------------------
By the way, it would be great to be able to set the supported-window-states
at a window (or portlet) level.
This way, we can have the login window, the menu, without minized and maximized, and still
have all the states available for the main business portlet (CMSPortlet, business
transaction portlets...).
I have not seen this in the JSR-168
may be propose it for version 2 ?
The work around for this is to render the window that should not minimize/maximize with no
title bar.
but it is not the best way : we loose the title... and the design homogeneity....
supported-window-states ignored ? no limitation to normal window
only.
----------------------------------------------------------------------
Key: JBPORTAL-1302
URL:
http://jira.jboss.com/jira/browse/JBPORTAL-1302
Project: JBoss Portal
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Portal Core
Affects Versions: 2.4.1 Final
Environment: portal 2.4.1
Reporter: Antoine Herzog
Assigned To: Julien Viet
In the -object.xml file, remove all window-state elements, but the normal one.
<supported-window-states>
<window-state>normal</window-state>
<!--
<window-state>minimized</window-state>
<window-state>maximized</window-state>
-->
</supported-window-states>
It does not change anything
The min/max icons are still displayed. .
And you can still ask for the maximized or minimized state.
no exception, the portal still works as usual (with the "classic" all three
states enabled).
Is it the portal core that should prevent to use these states, if not enabled ?
Or the layout strategy and rendering that should not show the icons ?
(but then, the portal should warn if we type an url that ask a state that is disabled...
even it is not by clicking in the window icon).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira