Uploaded image for project: 'Jetspeed 2 (Retired)'
  1. Jetspeed 2 (Retired)
  2. JS2-968

Enhance NavigationalState encoding to support both zero and empty parameter values

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.0
    • 2.2.0
    • Components Core
    • None

    Description

      For the new JSR-286 Public Render Parameters it is required to encode the intended removal of parameter.
      The current NavigationalState encoding/decoding (JetspeedNavigationalStateCodec) however always expects at least one (non-empty) value to be provided.
      In addition, and something which has been an oversight so far, it is valid to set empty parameter value(s) for a parameter, both for the servlet api and the portlet api (1.0 and 2.0).

      I'll update the NavigationalState encoding/decoding to deal with both requirements: null and empty parameter values, whereas a null value is only allowed for encoding the removal of a public render parameter (doesn't apply to "private" parameters).

      Attachments

        Activity

          People

            ate Ate Douma
            ate Ate Douma
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: