ページを移動して、元のページに戻っても、ページ状態が維持されているのがどうもすっきりしないので、NavigationalStateを変更してみた。
--- src/webapp/WEB-INF/assembly/portal-url-generation.xml +++ src/webapp/WEB-INF/assembly/portal-url-generation.xml @@ -26,7 +26,7 @@ <!-- Navigation state we are currently using --> <bean id="NavigationalState" - class="org.apache.jetspeed.container.state.impl.SessionFullNavigationalState" + class="org.apache.jetspeed.container.state.impl.SessionNavigationalState" singleton="false" > <constructor-arg><ref bean="NavigationalStateCodec"/></constructor-arg>
このほかのNavigationalStateについては、以前、Ateから説明が出ていたので、以下が参考になります。
a) fully encoded on the url (like for instance Pluto does): use class org.apache.jetspeed.container.state.impl.PathNavigationalState b) only portletwindow state (window state and portlet mode) are saved in the session, parameters are encoded on the url: use class org.apache.jetspeed.container.state.impl.SessionNavigationalState c) state and parameters are saved in the session (the default): use class org.apache.jetspeed.container.state.impl.SessionFullNavigationalState
(そういえば、Plutoはこの辺の実装が壊れているんだよな・・・。化け化けになる。バグがあがっていたと思うけど)