Class CmsJspTagAddParams.ParamState

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addParameter​(java.lang.String key, java.lang.String value)
      Adds a request parameter.
      void init()
      Initializes the tag state and sets a new parameter map on the request for which it was instantiated.
      void undoChanges()
      Restores the original set of parameters.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ParamState

        public ParamState​(CmsFlexRequest request)
        Creates a new instance.

        Parameters:
        request - the current request
    • Method Detail

      • addParameter

        public void addParameter​(java.lang.String key,
                                 java.lang.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.