User goes to a page and changes the state of a portlet A. The user then navigates to a different page and when you return to the initial page with portlet A, the state of that portlet is the same state as when you left the page (the changed state). One expect the portlet to return to its initial state when you return to the page.
Use the state preprocesor to revert to the initial state of the portlet. (The state preprocesor is originally designed for WML but can be used for HTML as well.)
To configure the WML state preprocessor, add the following two custom name/value property pairs to the WPStateManagerService (WebSphere® Application Server Admininstrative Console -> Resource Environment Providers -> WP StateManagerService -> Custom properties):
name = preprocessors
value = com.ibm.wps.state.preprocessors.selection
.StandardPortalSelectionImpl, com.ibm.wps.state
.preprocessors.wml.WmlPreProcessor
and
name = wmlpreprocessor.markups
value = html
Re-initialising the Portlet State
Subscribe to:
Post Comments
(
Atom
)
nice tip. thanks for sharing !
Hi. This works fine but doesnt on WCM. The portlet returns always the default page. How to fix that?
I'm sorry, the last message is not completly right. The bug is not on WCM but in URL Mapping. When you add this preprocessors all URL Mappign doesn't work anymore.
URL Mapping is like URL redirecting or something else.
Online casino bonus
Interesting post.thanks for posting. I’ll likely be coming back to your blog. Keep up great writing.
great post this will enhance the reader.
very informative articles.
thanks for sharing.
Post a Comment