Package org.opencms.jsp
Class CmsJspTagAddParams.ParamState
java.lang.Object
org.opencms.jsp.CmsJspTagAddParams.ParamState
- Enclosing class:
- CmsJspTagAddParams
Keeps track of the runtime state of a single execution of this tag.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addParameter
(String key, 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
Restores the original set of parameters.
-
Constructor Details
-
ParamState
Creates a new instance.- Parameters:
request
- the current request
-
-
Method Details
-
addParameter
Adds a request parameter.- Parameters:
key
- the parameter namevalue
- the parameter value
-
init
Initializes the tag state and sets a new parameter map on the request for which it was instantiated. -
undoChanges
Restores the original set of parameters.
-