org.zkoss.jsp.zul
Class AttributeTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.SimpleTagSupport
      extended by org.zkoss.jsp.zul.impl.AbstractTag
          extended by org.zkoss.jsp.zul.AttributeTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.SimpleTag

public class AttributeTag
extends AbstractTag

Same meanings as zul attribute Tag.
it's parent must be a Component Tag.

Author:
ian

Constructor Summary
AttributeTag()
           
 
Method Summary
 void doTag()
          Add self contents to parent's dynamic attribute.
 void setName(java.lang.String name)
          set attribute's key property
 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

AttributeTag

public AttributeTag()
Method Detail

doTag

public void doTag()
           throws javax.servlet.jsp.JspException,
                  java.io.IOException
Add self contents to parent's dynamic attribute.

Specified by:
doTag in interface javax.servlet.jsp.tagext.SimpleTag
Overrides:
doTag in class javax.servlet.jsp.tagext.SimpleTagSupport
Throws:
javax.servlet.jsp.JspException
java.io.IOException

setParent

public void setParent(javax.servlet.jsp.tagext.JspTag parent)
Sets the parent tag. Deriving class rarely need to invoke this method.

Specified by:
setParent in interface javax.servlet.jsp.tagext.SimpleTag
Overrides:
setParent in class javax.servlet.jsp.tagext.SimpleTagSupport

setName

public void setName(java.lang.String name)
set attribute's key property

Parameters:
name -


Copyright © 2005-2007 Potix Corporation. All Rights Reserved.