org.apache.myfaces.trinidad.webapp
Class UIXComponentELTag

java.lang.Object
  extended by javax.faces.webapp.UIComponentTagBase
      extended by javax.faces.webapp.UIComponentClassicTagBase
          extended by javax.faces.webapp.UIComponentELTag
              extended by org.apache.myfaces.trinidad.webapp.UIXComponentELTag
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 abstract class UIXComponentELTag
extends javax.faces.webapp.UIComponentELTag

Subclass of UIComponentTag to add convenience methods, and optimize where appropriate.


Field Summary
static String DOCUMENT_CREATED_KEY
          Deprecated. 
 
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.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
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
 
Constructor Summary
UIXComponentELTag()
           
 
Method Summary
 int doStartTag()
           
 void setAttributeChangeListener(javax.el.MethodExpression attributeChangeListener)
           
protected  void setDateProperty(FacesBean bean, PropertyKey key, javax.el.ValueExpression expression)
          Set a property of type java.util.Date.
protected  void setIntArrayProperty(FacesBean bean, PropertyKey key, javax.el.ValueExpression expression)
          Set a property of type int[].
protected  void setMaxDateProperty(FacesBean bean, PropertyKey key, javax.el.ValueExpression expression)
          Set a property of type java.util.Date.
protected  void setNumberProperty(FacesBean bean, PropertyKey key, javax.el.ValueExpression expression)
          Set a property of type java.lang.Number.
protected  void setProperties(FacesBean bean)
           
protected  void setProperties(javax.faces.component.UIComponent component)
           
protected  void setProperty(FacesBean bean, PropertyKey key, javax.el.ValueExpression expression)
           
protected  void setStringArrayProperty(FacesBean bean, PropertyKey key, javax.el.ValueExpression expression)
          Set a property of type java.lang.String[].
protected  void setStringListProperty(FacesBean bean, PropertyKey key, javax.el.ValueExpression expression)
          Set a property of type java.util.List.
protected  void setStringSetProperty(FacesBean bean, PropertyKey key, javax.el.ValueExpression expression)
          Set a property of type java.util.Set.
protected  void setValidationError(String validationError)
          Sets any fatal validation error that could have happened during property setting.
 
Methods inherited from class javax.faces.webapp.UIComponentELTag
createComponent, getELContext, hasBinding, release, setBinding, setRendered
 
Methods inherited from class javax.faces.webapp.UIComponentClassicTagBase
addChild, addFacet, addVerbatimAfterComponent, addVerbatimBeforeComponent, createVerbatimComponent, createVerbatimComponentFromBodyContent, doAfterBody, doEndTag, doInitBody, encodeBegin, encodeChildren, encodeEnd, findComponent, getBodyContent, getComponentInstance, getCreated, getCreatedComponents, getDoAfterBodyValue, getDoEndValue, getDoStartValue, getFacesContext, getFacesJspId, getFacetName, getId, getIndexOfNextChildTag, getJspId, getParent, getParentUIComponentClassicTagBase, getPreviousOut, setBodyContent, setId, setJspId, setPageContext, setParent, setupResponseWriter
 
Methods inherited from class javax.faces.webapp.UIComponentTagBase
getComponentType, getRendererType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
doEndTag, getParent, setPageContext, setParent
 

Field Detail

DOCUMENT_CREATED_KEY

@Deprecated
public static final String DOCUMENT_CREATED_KEY
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

UIXComponentELTag

public UIXComponentELTag()
Method Detail

setAttributeChangeListener

public void setAttributeChangeListener(javax.el.MethodExpression attributeChangeListener)

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class javax.faces.webapp.UIComponentClassicTagBase
Throws:
javax.servlet.jsp.JspException

setProperties

protected final void setProperties(javax.faces.component.UIComponent component)
Overrides:
setProperties in class javax.faces.webapp.UIComponentELTag

setProperty

protected void setProperty(FacesBean bean,
                           PropertyKey key,
                           javax.el.ValueExpression expression)

setStringArrayProperty

protected void setStringArrayProperty(FacesBean bean,
                                      PropertyKey key,
                                      javax.el.ValueExpression expression)
Set a property of type java.lang.String[]. If the value is an EL expression, it will be stored as a ValueExpression. Otherwise, it will parsed as a whitespace-separated series of strings. Null values are ignored.


setStringListProperty

protected void setStringListProperty(FacesBean bean,
                                     PropertyKey key,
                                     javax.el.ValueExpression expression)
Set a property of type java.util.List. If the value is an EL expression, it will be stored as a ValueExpression. Otherwise, it will parsed as a whitespace-separated series of strings. Null values are ignored.


setStringSetProperty

protected void setStringSetProperty(FacesBean bean,
                                    PropertyKey key,
                                    javax.el.ValueExpression expression)
Set a property of type java.util.Set. If the value is an EL expression, it will be stored as a ValueExpression. Otherwise, it will parsed as a whitespace-separated series of strings. Null values are ignored.


setNumberProperty

protected void setNumberProperty(FacesBean bean,
                                 PropertyKey key,
                                 javax.el.ValueExpression expression)
Set a property of type java.lang.Number. If the value is an EL expression, it will be stored as a ValueBinding. Otherwise, it will parsed with Integer.valueOf() or Double.valueOf() . Null values are ignored.


setIntArrayProperty

protected void setIntArrayProperty(FacesBean bean,
                                   PropertyKey key,
                                   javax.el.ValueExpression expression)
Set a property of type int[]. If the value is an EL expression, it will be stored as a ValueExpression. Otherwise, it will parsed as a whitespace-separated series of ints. Null values are ignored.


setDateProperty

protected void setDateProperty(FacesBean bean,
                               PropertyKey key,
                               javax.el.ValueExpression expression)
Set a property of type java.util.Date. If the value is an EL expression, it will be stored as a ValueExpression. Otherwise, it will parsed as an ISO 8601 date (yyyy-MM-dd). Null values are ignored.


setMaxDateProperty

protected void setMaxDateProperty(FacesBean bean,
                                  PropertyKey key,
                                  javax.el.ValueExpression expression)
Set a property of type java.util.Date. If the value is an EL expression, it will be stored as a ValueBinding. Otherwise, it will parsed as an ISO 8601 date (yyyy-MM-dd) and the time components (hour, min, second, millisecond) maximized. Null values are ignored.


setProperties

protected void setProperties(FacesBean bean)

setValidationError

protected void setValidationError(String validationError)
Sets any fatal validation error that could have happened during property setting. If this is set, tag execution aborts with a JspException at the end of doStartTag().

Parameters:
validationError -


Copyright © 2001-2012 The Apache Software Foundation. All Rights Reserved.