[
http://jira.jboss.com/jira/browse/JBPORTAL-1604?page=comments#action_1237... ]
Jannis Elgner commented on JBPORTAL-1604:
-----------------------------------------
You can change the windowstate with
context.getPortalRuntimeContext().getNavigationalStateContext().setWindowState(windowA,
WindowState.MINIMIZED);
and the WindowMode with
context.getPortalRuntimeContext().getNavigationalStateContext().setMode(arg0, arg1);
instead ...
Window state required but has no effect
---------------------------------------
Key: JBPORTAL-1604
URL:
http://jira.jboss.com/jira/browse/JBPORTAL-1604
Project: JBoss Portal
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 2.6 Final
Reporter: Andrew Oliver
Assigned To: Julien Viet
Priority: Minor
Fix For: 2.8 Final, 2.6.2 Final
In 2.6 you must do this
newEvent.setMode(wae.getMode());
newEvent.setWindowState(org.jboss.portal.WindowState.MAXIMIZED);
newEvent.setParameters(wae.getParameters());
when sending an event or you get an error. However, the window state is completely
ignored (the window would not be maximized with the above). If it is required it should
have some effect -- otherwise the api should revert to before where it was not required.
--
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