|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.servlet.jsp.tagext.SimpleTagSupport
org.zkoss.jsp.zul.impl.AbstractTag
org.zkoss.jsp.zul.impl.RootTag
public abstract class RootTag
A skeletal class to implement the root ZK tag.
Currently, only the page tag (PageTag)
extends from this class.
The derive may override init(org.zkoss.zk.ui.Execution, org.zkoss.zk.ui.Page) to initialize the
page.
| Constructor Summary | |
|---|---|
protected |
RootTag()
protected Constractor. |
| Method Summary | |
|---|---|
void |
addChildTag(ComponentTag child)
Adds a child tag. |
void |
doTag()
To process this root tag. |
org.zkoss.zk.ui.Page |
getPage()
|
java.lang.String |
getZScriptLanguage()
Returns the default scripting language. |
protected void |
init(org.zkoss.zk.ui.Execution exec,
org.zkoss.zk.ui.Page page)
Initializes the page. |
void |
processZScript(org.zkoss.zk.ui.Component parent,
org.zkoss.zk.ui.metainfo.ZScript zs)
Root tag was supposed to handle all children's ZScript. |
void |
setZscriptLanguage(java.lang.String lang)
Sets the defult scripting language in this Root tag. |
void |
setZScriptLanguage(java.lang.String lang)
Sets the defult scripting language in this Root tag. |
| Methods inherited from class org.zkoss.jsp.zul.impl.AbstractTag |
|---|
getIf, getUnless, isEffective, setIf, setUnless |
| Methods inherited from class javax.servlet.jsp.tagext.SimpleTagSupport |
|---|
findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setJspContext, setParent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected RootTag()
| Method Detail |
|---|
public org.zkoss.zk.ui.Page getPage()
Page of this jsp page.public void addChildTag(ComponentTag child)
public java.lang.String getZScriptLanguage()
public void setZScriptLanguage(java.lang.String lang)
Default: Java.
lang - the name of the scripting language, such as
Java, Ruby and Groovy.public void setZscriptLanguage(java.lang.String lang)
setZScriptLanguage(java.lang.String) (used to simplify
the typing in JSP page).
protected void init(org.zkoss.zk.ui.Execution exec,
org.zkoss.zk.ui.Page page)
Default: does nothing
exec - the execution.
Note: when this method is called, the execution is not activated.
For example, Executions.getCurrent() returns null.page - the page
public void doTag()
throws javax.servlet.jsp.JspException,
java.io.IOException
doTag in interface javax.servlet.jsp.tagext.SimpleTagdoTag in class javax.servlet.jsp.tagext.SimpleTagSupportjavax.servlet.jsp.JspException
java.io.IOException
public void processZScript(org.zkoss.zk.ui.Component parent,
org.zkoss.zk.ui.metainfo.ZScript zs)
throws java.io.IOException
parent - The owner of zscript segment.zs - A ZScript object.
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||