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

Enhance NavigationalState encoding to support both zero and empty parameter values

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.2.0
    • Component/s: Components Core
    • Labels:
      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

            • Assignee:
              adouma Ate Douma
              Reporter:
              adouma Ate Douma
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: