org.zkoss.jsf.zul.tag
Class AttributeTag

java.lang.Object
  extended by javax.faces.webapp.UIComponentTagBase
      extended by javax.faces.webapp.UIComponentClassicTagBase
          extended by javax.faces.webapp.UIComponentTag
              extended by javax.faces.webapp.UIComponentBodyTag
                  extended by org.zkoss.jsf.zul.tag.impl.AbstractTag
                      extended by org.zkoss.jsf.zul.tag.AttributeTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspIdConsumer, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

public class AttributeTag
extends AbstractTag

A JSF Tag class to handle the attribute element.

Author:
Dennis.Chen

Field Summary
 
Fields inherited from class org.zkoss.jsf.zul.tag.impl.AbstractTag
COMP_TYPE_PREFIX, JSF_CORE_NS, JSF_CORE_PREFIX, JSF_HTML_NS, ZUL_JSF_NS
 
Fields inherited from class javax.faces.webapp.UIComponentClassicTagBase
bodyContent, pageContext, UNIQUE_ID_PREFIX
 
Fields inherited from class javax.faces.webapp.UIComponentTagBase
log
 
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
AttributeTag()
           
 
Method Summary
 int doAfterBody()
          Override Method, Set String of BodyContent into instance of ZULJSF Component which associated to this Tag.
 void release()
           
 void setName(java.lang.String name)
          set attribute's key property
protected  void setProperties(javax.faces.component.UIComponent comp)
          Override method, set properties to ZULJSF Component.
 
Methods inherited from class org.zkoss.jsf.zul.tag.impl.AbstractTag
getComponentType, getDoStartValue, getRendererType, isSkipBody, setIf, setUnless
 
Methods inherited from class javax.faces.webapp.UIComponentTag
createComponent, getParentUIComponentTag, hasBinding, isSuppressed, isValueReference, setBinding, setRendered
 
Methods inherited from class javax.faces.webapp.UIComponentClassicTagBase
addChild, addFacet, addVerbatimAfterComponent, addVerbatimBeforeComponent, createVerbatimComponent, createVerbatimComponentFromBodyContent, doEndTag, doInitBody, doStartTag, encodeBegin, encodeChildren, encodeEnd, findComponent, getBodyContent, getComponentInstance, getCreated, getCreatedComponents, getDoAfterBodyValue, getDoEndValue, getFacesContext, getFacesJspId, getFacetName, getId, getIndexOfNextChildTag, getJspId, getParent, getParentUIComponentClassicTagBase, getPreviousOut, setBodyContent, setId, setJspId, setPageContext, setParent, setupResponseWriter
 
Methods inherited from class javax.faces.webapp.UIComponentTagBase
getELContext
 
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

setName

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

Parameters:
name -

release

public void release()
Specified by:
release in interface javax.servlet.jsp.tagext.Tag
Overrides:
release in class AbstractTag

setProperties

protected void setProperties(javax.faces.component.UIComponent comp)
Override method, set properties to ZULJSF Component.

Overrides:
setProperties in class AbstractTag

doAfterBody

public int doAfterBody()
                throws javax.servlet.jsp.JspException
Override Method, Set String of BodyContent into instance of ZULJSF Component which associated to this Tag. Ingore the supressed status.

Specified by:
doAfterBody in interface javax.servlet.jsp.tagext.IterationTag
Overrides:
doAfterBody in class AbstractTag
Throws:
javax.servlet.jsp.JspException
See Also:
AbstractComponent


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