| This Valve will clean encoded navstate from the browser url by sending a client side redirect
to the same url with the navstate removed.
This Valve will only do this:
- on a GET Render request (not for Resource or Action requests)
- the request is not served by the Desktop
- the navstate is encoded as PathInfo
- all the navstate is maintained in the session (portlet mode, window state and render parameters)
This valve needs to be added to the portal pipeline *after* the ContainerValve to ensure navstate is properly synchronized with the session.
Caveats:
- bookmarking browser url will no longer retain nav state, but with SessionFullNavigationState this wasn't really reliable anyway.
- back button history is no longer maintained by browsers for GET render urls, somewhat similar to Ajax based requests (e.g. Desktop)
author: Ate Douma version: $Id: CleanPathInfoEncodedNavStateFromPortalURLValve.java 605989 2007-12-20 18:26:54Z ate $ |