@Override
    public int doStartTag() throws JspException, CmsIllegalArgumentException {

        // get a reference to the parent "content container" class (if available)
        Tag ancestor = findAncestorWithClass(this, I_CmsResourceContainer.class);
        I_CmsResourceContainer container = null;
        if (ancestor != null) {
            // parent content container available, use preloaded values from this container
            container = (I_CmsResourceContainer)ancestor;
            // check if container really is a preloader
            if (!container.isPreloader()) {
                // don't use ancestor if not a preloader
                container = null;
            }
        }

        // initialize the content load tag
        init(container);

        hasMoreResources();
        return isScopeVarSet() ? SKIP_BODY : EVAL_BODY_INCLUDE;
    }
@ Override public int doStartTag ( ) throws JspException , CmsIllegalArgumentException { Tag ancestor = findAncestorWithClass ( this , I_CmsResourceContainer . class ) ; I_CmsResourceContainer container = null ; if ( ancestor != null ) { container = ( I_CmsResourceContainer ) ancestor ; if ( ! container . isPreloader ( ) ) { container = null ; } } init ( container ) ; hasMoreResources ( ) ; return isScopeVarSet ( ) ? SKIP_BODY : EVAL_BODY_INCLUDE ; }
@see javax.servlet.jsp.tagext.Tag#doStartTag()