I think I see the issue here.

I was looking at the URL, when I should have been looking at the result of the API calls. The default configuration stores render parameters state in the session. See portal-url-generation.xml.

  <!-- Navigation state we are currently using -->
  <bean id="NavigationalState"
class="org.apache.jetspeed.container.state.impl.SessionFullNavigationalState"
           singleton="false"
  >          
<constructor-arg><ref bean="NavigationalStateCodec"/></constructor-arg>
  </bean>

If you don't want to make render parameters stateful, use SessionNavigationalState instead:

  <!-- Navigation state we are currently using -->
  <bean id="NavigationalState"
class="org.apache.jetspeed.container.state.impl.SessionNavigationalState"
           singleton="false"
  >          
<constructor-arg><ref bean="NavigationalStateCodec"/></constructor-arg>
  </bean>


IF you want to store navigational state in the URL, change your spring configuration to:

  <!-- Navigation state we are currently using -->
  <bean id="NavigationalState"
class="org.apache.jetspeed.container.state.impl.PathNavigationalState"
           singleton="false"
  >          
<constructor-arg><ref bean="NavigationalStateCodec"/></constructor-arg>
  </bean>


finally, another Nav state impl available: PortletWindowRequestNavigationalState which also stores state in the server side and allows for optionally render parameters when synchronizes state

   /**
* true if for a targeted PortletWindow using StateFullParameters the saved (in the session) render parameters
     * must be cleared when synchronizing the states.
* Prevents the default behavior when using StateFullParameters to copy the parameters from the session
     * when no parameters are specified in the PortletURL.
* Used if for the targeted PortletWindow no render parameters are specified.
     */
    private boolean clearParameters;

    public void setClearParameters(boolean ignoreParameters)
    {
        this.clearParameters = ignoreParameters;
    }

My apologies for not understanding this the first time.
Looks like you were getting the low wage support guy here instead of one of the experts!


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to