Package org.zkoss.web.servlet.dsp.action
Class Set
java.lang.Object
org.zkoss.web.servlet.dsp.action.AbstractAction
org.zkoss.web.servlet.dsp.action.Set
- All Implemented Interfaces:
Action
The set action used to set an attribute.
- Author:
- tomyeh
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetScope()Returns the scope.getValue()Returns the attribute value.getVar()Returns the attribute name.voidrender(ActionContext ac, boolean nested) Processes the action and renders the output toActionContext.getOut().voidSets the scope.voidSets the attribute value.voidSets the attribute name.toString()Methods inherited from class org.zkoss.web.servlet.dsp.action.AbstractAction
append, append, append, getIf, getUnless, isEffective, setIf, setUnless, toScope
-
Constructor Details
-
Set
public Set()
-
-
Method Details
-
getScope
public int getScope()Returns the scope. -
setScope
Sets the scope. -
getVar
Returns the attribute name. -
setVar
Sets the attribute name. -
getValue
Returns the attribute value. -
setValue
Sets the attribute value. -
render
Description copied from interface:ActionProcesses the action and renders the output toActionContext.getOut().nested- whether there is any nested content.- Throws:
DspExceptionIOException
-
toString
-