Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 5.1.2
-
Fix Version/s: None
-
Component/s: Framework/API
-
Labels:None
-
Environment:Tomcat 5.5
-
Branch Version/s:5.1.x, 5.2.x
-
Backported to Branch:Committed
-
Similar Issues:
-
Liferay Contributor's Agreement:Accept
Description
We have some problems with the ActionResponses setPortletMode and setWindowsState methods since we moved to liferay version 5.x (with Tomcat 5.5).
The portal doesn't seem to manage the portlets window state and mode correctly. It looses the portlets window state and mode after they were set by the two methods by restoring it's previous settings.
We are doing the following:
1. process a portlet action and set the portlets window state and portlet mode in the portlets processAction method
2. When the portlet is rendered for the first time directly after the state/mode change, then the portlet seems to be in the correct state and portlet mode. (getPortletMode / getWindowState are equal to the new settings )
3. Afterwards - when the page is rendered again - then the portlet falls back to its previous window state and portlet mode (f.e. when you make a round trip to another tab)
It worked well using the Liferay 4.x versions.
kind regards
Tobias
Attachments
Issue Links
| This issue is duplicated by: | ||||
| LPS-6874 | Portlet modes can't be changed |
|
|
|

I have created a small test project for this issue.
Please take a look at the attached file.