/** * @see javax.servlet.jsp.tagext.BodyTagSupport#doEndTag() */ @Override public int doEndTag() throws JspException { if (m_isEditOpen) { CmsJspTagEditable.endDirectEdit(pageContext); } release(); return EVAL_PAGE; }
/** * Stores the container's content info bean in the page context.<p> * * @param container the parent container */ protected void storeContentInfoBean(CmsJspTagResourceLoad container) { CmsContentInfoBean contentInfoBean = container.getContentInfoBean(); contentInfoBean.setPageSize(container.getContentInfoBean().getPageSize()); contentInfoBean.setPageIndex(container.getContentInfoBean().getPageIndex()); contentInfoBean.setResultSize(container.getContentInfoBean().getResultSize()); storeAttribute(contentInfoBean); } }
/** * Stores the container's content info bean in the page context.<p> * * @param container the parent container */ protected void storeContentInfoBean(CmsJspTagContentLoad container) { CmsContentInfoBean contentInfoBean = container.getContentInfoBean(); contentInfoBean.setPageSize(container.getContentInfoBean().getPageSize()); contentInfoBean.setPageIndex(container.getContentInfoBean().getPageIndex()); contentInfoBean.setResultSize(container.getContentInfoBean().getResultSize()); storeAttribute(contentInfoBean); } }
/** * Sets the value of the HTML "alt" attribute.<p> * * @param value the value of the HTML "alt" attribute to set */ public void setAlt(String value) { setAttribute(ATTR_ALT, value, true); }
/** * @see javax.servlet.jsp.tagext.Tag#release() */ @Override public void release() { m_cms = null; m_configFile = null; setConfigString(null); m_searchController = null; m_index = null; m_controller = null; super.release(); }
/** * Returns the value of the HTML "class" attribute.<p> * * @return the value of the HTML "class" attribute */ public String getCssclass() { return getAttribute(ATTR_CLASS); }
/** * @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 value of <code>{@link #getPage()}</code>.<p> * * @return the value of <code>{@link #getPage()}</code> * @see #getPage() */ public String getFile() { return getPage(); }
/** * Does some cleanup before the tag is released to the tag pool * * @see javax.servlet.jsp.tagext.Tag#release() */ @Override public void release() { m_hiDpiVariantList = null; m_var = null; super.release(); }
/** * @see javax.servlet.jsp.tagext.Tag#doEndTag() */ @Override public int doEndTag() { release(); return EVAL_PAGE; }
/** * @see javax.servlet.jsp.tagext.Tag#doStartTag() */ @Override public int doStartTag() throws JspException, CmsIllegalArgumentException { // initialize the content load tag init(); return EVAL_BODY_INCLUDE; }
/** * Returns the selected navigation type.<p> * * This must match one of the elements in {@link Type}.<p> * * @return the selected navigation type */ public String getType() { return m_type == null ? null : m_type.toString(); }
/** * Sets the value of the HTML "hspace" attribute.<p> * * @param value the value of the HTML "hspace" attribute to set */ public void setHspace(String value) { setAttribute(ATTR_HSPACE, value); }
/** * Returns the value of the HTML "style" attribute.<p> * * @return the value of the HTML "style" attribute */ public String getStyle() { return getAttribute(ATTR_STYLE); }
/** * @see javax.servlet.jsp.tagext.Tag#release() */ @Override public void release() { m_attributes = null; m_partialTag = false; m_noDim = false; super.release(); }
/** * Sets the value of the HTML "name" attribute.<p> * * @param value the value of the HTML "name" attribute to set */ public void setName(String value) { setAttribute(ATTR_NAME, value); }
/** * Sets the value of the HTML "title" attribute.<p> * * @param value the value of the HTML "title" attribute to set */ public void setTitle(String value) { setAttribute(ATTR_TITLE, value); }
/** * Sets the given key with the given value in the attribute map.<p> * * @param key the key to set * @param value the value to set */ private void setAttribute(String key, String value) { setAttribute(key, value, false); }