|
||||||||||
| 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.ZScriptTag
public class ZScriptTag
A Jsp Tag class to handle the zscript element.
This tag should be declared under PageTag or any Component tags.
| Constructor Summary | |
|---|---|
ZScriptTag()
|
|
| Method Summary | |
|---|---|
void |
doTag()
add body content to parent's zscript info. |
java.lang.String |
getLanguage()
Returns the name of the scripting language in this ZScript tag. |
boolean |
isDeferred()
Returns whether to defer the execution of this zscript. |
void |
setDeferred(boolean deferred)
Sets whether to defer the execution of this zscript. |
void |
setLanguage(java.lang.String lang)
Sets the name of the scripting language in this ZScript tag. |
void |
setParent(javax.servlet.jsp.tagext.JspTag parent)
Sets the parent 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ZScriptTag()
| Method Detail |
|---|
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.IOExceptionpublic void setParent(javax.servlet.jsp.tagext.JspTag parent)
setParent in interface javax.servlet.jsp.tagext.SimpleTagsetParent in class javax.servlet.jsp.tagext.SimpleTagSupportpublic boolean isDeferred()
Default: false.
public void setDeferred(boolean deferred)
deferred - whether to defer the execution.public java.lang.String getLanguage()
Default: null (use what is defined in RootTag.getZScriptLanguage()).
public void setLanguage(java.lang.String lang)
Default: Java.
lang - the name of the scripting language, such as
Java, Ruby and Groovy.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||