public static UIComponentTag getParentUIComponentTag(PageContext pageContext)
    {
        UIComponentClassicTagBase parentTag = getParentUIComponentClassicTagBase(pageContext);

        return parentTag instanceof UIComponentTag ? (UIComponentTag)parentTag : new UIComponentTagWrapper(parentTag);

    }
public static UIComponentTag getParentUIComponentTag ( PageContext pageContext ) { UIComponentClassicTagBase parentTag = getParentUIComponentClassicTagBase ( pageContext ) ; return parentTag instanceof UIComponentTag ? ( UIComponentTag ) parentTag : new UIComponentTagWrapper ( parentTag ) ; }
Return the nearest JSF tag that encloses this tag.

@deprecated