Package org.zkoss.web.servlet.dsp.action
Class Include
- java.lang.Object
-
- org.zkoss.web.servlet.dsp.action.AbstractAction
-
- org.zkoss.web.servlet.dsp.action.Include
-
- All Implemented Interfaces:
Action
public class Include extends AbstractAction
Includes another URL.- Author:
- tomyeh
-
-
Constructor Summary
Constructors Constructor Description Include()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getPage()
Returns the page (URI).void
render(ActionContext ac, boolean nested)
Processes the action and renders the output toActionContext.getOut()
.void
setPage(java.lang.String page)
Sets the page (URI).java.lang.String
toString()
-
Methods inherited from class org.zkoss.web.servlet.dsp.action.AbstractAction
append, append, append, getIf, getUnless, isEffective, setIf, setUnless, toScope
-
-
-
-
Method Detail
-
getPage
public java.lang.String getPage()
Returns the page (URI).
-
setPage
public void setPage(java.lang.String page)
Sets the page (URI).
-
render
public void render(ActionContext ac, boolean nested) throws DspException, java.io.IOException
Description copied from interface:Action
Processes the action and renders the output toActionContext.getOut()
.nested
- whether there is any nested content.- Throws:
DspException
java.io.IOException
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-