Class UIComponentTag

  • 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
    Direct Known Subclasses:
    UIComponentBodyTag

    public abstract class UIComponentTag
    extends UIComponentClassicTagBase
    Deprecated.
    replaced by UIComponentELTag
    Base class for all JSP tags that represent a JSF UIComponent.

    Disclaimer: The official definition for the behaviour of this class is the JSF specification but for legal reasons the specification cannot be replicated here. Any javadoc present on this class therefore describes the current implementation rather than the officially required behaviour, though it is believed that this class does comply with the specification. see Javadoc of JSF Specification for more.

    • Constructor Detail

      • UIComponentTag

        public UIComponentTag()
        Deprecated.
    • Method Detail

      • release

        public void release()
        Deprecated.
        Specified by:
        release in interface javax.servlet.jsp.tagext.Tag
        Overrides:
        release in class UIComponentClassicTagBase
      • setBinding

        public void setBinding​(String binding)
                        throws javax.servlet.jsp.JspException
        Deprecated.
        Setter for common JSF xml attribute "binding".
        Throws:
        javax.servlet.jsp.JspException
      • setRendered

        public void setRendered​(String rendered)
        Deprecated.
        Setter for common JSF xml attribute "rendered".
      • getParentUIComponentTag

        public static UIComponentTag getParentUIComponentTag​(javax.servlet.jsp.PageContext pageContext)
        Deprecated.
        Return the nearest JSF tag that encloses this tag.
      • isValueReference

        public static boolean isValueReference​(String value)
        Deprecated.
        Return true if the specified string contains an EL expression.

        UIComponent properties are often required to be value-binding expressions; this method allows code to check whether that is the case or not.

      • createComponent

        protected UIComponent createComponent​(FacesContext context,
                                              String id)
        Deprecated.
        Create a UIComponent. Abstract method getComponentType is invoked to determine the actual type name for the component to be created. If this tag has a "binding" attribute, then that is immediately evaluated to store the created component in the specified property.
        Specified by:
        createComponent in class UIComponentClassicTagBase
      • isSuppressed

        protected boolean isSuppressed()
        Deprecated.
        Determine whether this component renders itself. A component is "suppressed" when it is either not rendered, or when it is rendered by its parent component at a time of the parent's choosing.