/** * @see org.opencms.jsp.I_CmsXmlContentContainer#isPreloader() */ public boolean isPreloader() { return isScopeVarSet() ? true : m_preload; }
/** * @see javax.servlet.jsp.tagext.Tag#doStartTag() */ @Override public int doStartTag() throws JspException, CmsIllegalArgumentException { // get a reference to the parent "content container" class (if available) Tag ancestor = findAncestorWithClass(this, I_CmsXmlContentContainer.class); I_CmsXmlContentContainer container = null; if (ancestor != null) { // parent content container available, use preloaded values from this container container = (I_CmsXmlContentContainer)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; }
/** * @see javax.servlet.jsp.tagext.Tag#doStartTag() */ @Override public int doStartTag() throws JspException, CmsIllegalArgumentException { // get a reference to the parent "content container" class (if available) Tag ancestor = findAncestorWithClass(this, I_CmsXmlContentContainer.class); I_CmsXmlContentContainer container = null; if (ancestor != null) { // parent content container available, use preloaded values from this container container = (I_CmsXmlContentContainer)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); hasMoreContent(); return isScopeVarSet() ? SKIP_BODY : EVAL_BODY_INCLUDE; }
} else if (isScopeVarSet()) {
} else if (isScopeVarSet()) {