/** * Returns the scope under which the content access bean is saved in the page context.<p> * * @return the scope under which the content access bean is saved in the page context */ public String getScope() { return getScopeAsString(m_scope); }
/** * Stores the provided Object as attribute in the JSP page context.<p> * * The values of {@link #getVar()} and {@link #getScope()} are used to determine how the Object is stored.<p> * * @param obj the Object to store in the JSP page context. */ protected void storeAttribute(Object obj) { pageContext.setAttribute(getVar(), obj, getScopeInt()); } }
/** * @see javax.servlet.jsp.tagext.Tag#release() */ @Override public void release() { m_locale = null; m_cms = null; m_resource = null; m_controller = null; super.release(); }
/** * Stores the provided Object as attribute in the JSP page context.<p> * * The values of {@link #getVar()} and {@link #getScope()} are used to determine how the Object is stored.<p> * * @param obj the Object to store in the JSP page context */ protected void storeAttribute(Object obj) { storeAttribute(getVar(), obj); }
/** * Returns <code>true</code> in case the scoped variable has been set for this Tag.<p> * * @return <code>true</code> in case the scoped variable has been set for this Tag */ protected boolean isScopeVarSet() { return CmsStringUtil.isNotEmpty(getVar()); }
/** * Sets the scope under which the content access bean is saved in the page context.<p> * * @param scope the scope under which the content access bean is saved in the page context */ public void setScope(String scope) { if (CmsStringUtil.isNotEmpty(scope)) { scope = scope.trim().toLowerCase(); m_scope = getScopeAsInt(scope); } else { // empty scope, use default "page" scope m_scope = PageContext.PAGE_SCOPE; } }
/** * Stores the provided Object as attribute with the provided name in the JSP page context.<p> * * The value of {@link #getScope()} is used to determine how the Object is stored.<p> * * @param name the name of the attribute to store the Object in * @param obj the Object to store in the JSP page context */ protected void storeAttribute(String name, Object obj) { pageContext.setAttribute(name, obj, getScopeInt()); } }
/** * @see javax.servlet.jsp.tagext.BodyTagSupport#doEndTag() */ @Override public int doEndTag() throws JspException { release(); return super.doEndTag(); }
/** * Returns <code>true</code> in case the scoped variable has been set for this Tag.<p> * * @return <code>true</code> in case the scoped variable has been set for this Tag */ protected boolean isScopeVarSet() { return CmsStringUtil.isNotEmpty(getVar()); }
/** * Sets the scope under which the content access bean is saved in the page context.<p> * * @param scope the scope under which the content access bean is saved in the page context */ public void setScope(String scope) { if (CmsStringUtil.isNotEmpty(scope)) { scope = scope.trim().toLowerCase(); m_scope = getScopeAsInt(scope); } else { // empty scope, use default "page" scope m_scope = PageContext.PAGE_SCOPE; } }
/** * @see javax.servlet.jsp.tagext.BodyTagSupport#doEndTag() */ @Override public int doEndTag() throws JspException { release(); return super.doEndTag(); }
/** * @see javax.servlet.jsp.tagext.Tag#release() */ @Override public void release() { m_cms = null; m_startLevel = null; m_endLevel = null; m_resource = null; m_type = null; super.release(); }
/** * Returns the scope under which the content access bean is saved in the page context.<p> * * @return the scope under which the content access bean is saved in the page context */ public String getScope() { return getScopeAsString(m_scope); }
/** * @see javax.servlet.jsp.tagext.Tag#release() */ @Override public void release() { m_value = null; super.release(); }
/** * @see javax.servlet.jsp.tagext.Tag#release() */ @Override public void release() { m_locale = null; super.release(); }
/** * @see javax.servlet.jsp.tagext.Tag#release() */ @Override public void release() { m_value = null; super.release(); }
/** * @see javax.servlet.jsp.tagext.Tag#release() */ @Override public void release() { m_locale = null; m_value = null; super.release(); }
/** * @see org.opencms.jsp.CmsJspScopedVarBodyTagSuport#release() */ @Override public void release() { m_canCreate = false; m_canDelete = false; m_creationSiteMap = null; m_createType = null; m_isEditOpen = false; m_uuid = null; super.release(); }
/** * @see javax.servlet.jsp.tagext.Tag#release() */ @Override public void release() { m_cms = null; m_collector = null; m_collectorName = null; m_collectorParam = null; m_collectorResult = null; m_resource = null; m_contentInfoBean = null; m_controller = null; m_pageIndex = null; m_pageNavLength = null; m_pageSize = null; m_param = null; m_preload = false; m_property = null; m_resourceName = null; super.release(); }
/** * @see javax.servlet.jsp.tagext.Tag#release() */ @Override public void release() { m_cms = null; m_collector = null; m_collectorName = null; m_collectorParam = null; m_collectorResult = null; m_content = null; m_contentInfoBean = null; m_contentLocale = null; m_controller = null; m_directEditLinkForNew = null; m_directEditFollowButtons = null; m_directEditOpen = false; m_directEditMode = null; m_isFirstLoop = false; m_locale = null; m_pageIndex = null; m_pageNavLength = null; m_pageSize = null; m_param = null; m_preload = false; m_property = null; m_resourceName = null; super.release(); }