/** * Return the nearest JSF tag that encloses this tag. * * @deprecated */ public static UIComponentTag getParentUIComponentTag(PageContext pageContext) { UIComponentClassicTagBase parentTag = getParentUIComponentClassicTagBase(pageContext); return parentTag instanceof UIComponentTag ? (UIComponentTag)parentTag : new UIComponentTagWrapper(parentTag); }
/** * <p>Return the facet name that we should be stored under, if any; * otherwise, return null (indicating that we will be a child component). * </p> */ protected String getFacetName() { Tag parent = getParent(); if (parent instanceof FacetTag) { return (((FacetTag) parent).getName()); } else { return (null); } }
/** * <p>Locate and return the nearest enclosing {@link UIComponentTag} * if any; otherwise, return <code>null</code>.</p> * * @param context <code>PageContext</code> for the current page */ public static UIComponentTag getParentUIComponentTag(PageContext context) { UIComponentClassicTagBase result = getParentUIComponentClassicTagBase(context); if (!(result instanceof UIComponentTag)) { return new UIComponentTagAdapter(result); } return ((UIComponentTag) result); }
@Override public UIComponent getComponentInstance() { return target.getComponentInstance(); }
public void release() { super.release(); title = null; }
/** * <p>Release any resources allocated during the execution of this * tag handler.</p> */ public void release() { this.suppressed = false; this.binding = null; this.rendered = null; super.release(); }
@Override public int doEndTag() throws JspException { this.release(); return (EVAL_PAGE); }
@Override public String getComponentType() { return target.getComponentType(); }
public void release() { super.release(); this.formatted = null; this.estado = null; this.estadoComponentId = null; } }
/** * <p>Release all resources acquired at startup time.</p> */ public void destroy() { facesContextFactory = null; lifecycle = null; servletConfig = null; uninitHttpMethodValidityVerification(); }
/** * <p>Return the facet name that we should be stored under, if any; * otherwise, return null (indicating that we will be a child component). * </p> */ protected String getFacetName() { Tag parent = getParent(); if (parent instanceof FacetTag) { return (((FacetTag) parent).getName()); } else { return (null); } }
/** * Return the nearest JSF tag that encloses this tag. * @deprecated */ public static UIComponentTag getParentUIComponentTag(PageContext pageContext) { UIComponentClassicTagBase parentTag = getParentUIComponentClassicTagBase(pageContext); return parentTag instanceof UIComponentTag ? (UIComponentTag) parentTag : new UIComponentTagWrapper(parentTag); }
/** * <p>Release any resources allocated during the execution of this * tag handler.</p> */ @Override public void release() { this.binding = null; this.rendered = null; super.release(); }
/** * @deprecated */ @Override public int doEndTag() throws JspException { this.release(); return Tag.EVAL_PAGE; }
@Override public void release() { super.release(); this.formatted = false; } }
/** * <p>Release all resources acquired at startup time.</p> */ @Override public void destroy() { facesContextFactory = null; lifecycle = null; servletConfig = null; uninitHttpMethodValidityVerification(); }