Uploaded image for project: 'PUBLIC - Liferay Faces'
  1. PUBLIC - Liferay Faces
  2. FACES-3256

Add setParameterMap() method to BridgeURL

    Details

      Description

      For Portlet 3.0, BaseURL.getParameterMap() 's JavaDoc was changed to clarify that the returned map is mutable. However, changing the state of the map does not change the state of the BaseURL 's parameters. Instead, the developer must pass the parameter map to BaseURL.setParameters() to change the state of BaseURL.

      BridgeURL should follow this pattern.

      To that end, setParameters(Map<String, String[]>) (or setParameterMap() ) should be added to the BridgeURL API and the JavaDoc for getParameterMap() should be modified to indicate that mutating the returned map does not change BridgeURL 's state (and the developer should pass the map of parameters to setParameters() in order to change the state of BridgeURL ).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ui_faces UI Faces
                Reporter:
                kyle.stiemann Kyle Stiemann (Inactive)
                Participants of an Issue:
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Packages

                  Version Package
                  bridge-impl-4.2.1
                  bridge-api-4.2.1