org.nuxeo.ecm.platform.ui.web.component
Class VariableManager
java.lang.Object
org.nuxeo.ecm.platform.ui.web.component.VariableManager
public class VariableManager
- extends Object
Helper class with static methods to remove/add variables to the request
during a component rendering.
- Since:
- 5.5
VariableManager
public VariableManager()
saveRequestMapVarValue
public static final Object saveRequestMapVarValue(String var)
- Returns the value exposed in request map for the var name.
This is useful for restoring this value in the request map.
restoreRequestMapVarValue
public static final void restoreRequestMapVarValue(String var,
Object value)
- Restores the given value in the request map for the var name.
putVariableToRequestParam
public static final void putVariableToRequestParam(String var,
Object object)
removeVariableFromRequestParam
public static final void removeVariableFromRequestParam(String var)
Copyright © 2012 Nuxeo SA. All Rights Reserved.