Class CmsJspTagAddParams.ParamState

java.lang.Object
org.opencms.jsp.CmsJspTagAddParams.ParamState
Enclosing class:
CmsJspTagAddParams

public static class CmsJspTagAddParams.ParamState extends Object
Keeps track of the runtime state of a single execution of this tag.

  • Constructor Details

    • ParamState

      public ParamState(CmsFlexRequest request)
      Creates a new instance.

      Parameters:
      request - the current request
  • Method Details

    • addParameter

      public void addParameter(String key, String value)
      Adds a request parameter.

      Parameters:
      key - the parameter name
      value - the parameter value
    • init

      public void init()
      Initializes the tag state and sets a new parameter map on the request for which it was instantiated.

    • undoChanges

      public void undoChanges()
      Restores the original set of parameters.