/** * Overriding method of the heart of the matter. Gets the relative property * and leaves the rest up to the original tag implementation. Sweet. * @return int JSP continuation directive. * This is in the hands of the super class. */ public int doStartTag() throws JspException { // get the original properties originalName = getName(); originalProperty = getProperty(); // request HttpServletRequest request = (HttpServletRequest)pageContext.getRequest(); // set the properties NestedPropertyHelper.setNestedProperties(request, this); // let the super do it's thing return super.doStartTag(); }
/** * Release the tag's resources and reset the values. */ public void release() { super.release(); // reset the originals originalName = null; originalProperty = null; }
/** * Cleans up the ErrorTag */ protected void cleanUpErrorTag() { errorTag.setPageContext(null); errorTag.setParent(null); errorTag.setProperty(null); }
/** * Complete the processing of the tag. The nested tags here will restore * all the original value for the tag itself and the nesting context. * @return int to describe the next step for the JSP processor * @throws JspException for the bad things JSP's do */ public int doEndTag() throws JspException { // do the super's ending part int i = super.doEndTag(); // reset the properties setName(originalName); setProperty(originalProperty); // continue return i; }
out.write(buildKeyComment(matchingKey, sectionGraphicAlt)); if (!keysRendered.contains(matchingKey)) { errorTag.setPageContext(pageContext); errorTag.setParent(parentTag); errorTag.setProperty(matchingKey); errorTag.doStartTag(); errorTag.doEndTag();
/** * Process the start tag. * * @throws JspException if a JSP exception has occurred */ public int doStartTag() throws JspException { evaluateExpressions(); return (super.doStartTag()); }
TagUtils.getInstance().present(pageContext, bundle, locale, getHeader()); TagUtils.getInstance().present(pageContext, bundle, locale, getFooter()); TagUtils.getInstance().present(pageContext, bundle, locale, getPrefix()); TagUtils.getInstance().present(pageContext, bundle, locale, getSuffix()); bundle, locale, getHeader()); bundle, locale, getPrefix()); results.append(message); bundle, locale, getSuffix()); results.append(message); TagUtils.getInstance().message(pageContext, bundle, locale, getFooter()); results.append(message);
/** * Process the start tag. * * @exception JspException if a JSP exception has occurred */ public int doStartTag() throws JspException { evaluateExpressions(); return(super.doStartTag()); }
/** * Resets attribute values for tag reuse. */ public void release() { super.release(); setBundleExpr(null); setFooterExpr(null); setHeaderExpr(null); setLocaleExpr(null); setNameExpr(null); setPrefixExpr(null); setPropertyExpr(null); setSuffixExpr(null); }
/** * Resets attribute values for tag reuse. */ public void release() { super.release(); setBundleExpr(null); setFooterExpr(null); setHeaderExpr(null); setLocaleExpr(null); setNameExpr(null); setPrefixExpr(null); setPropertyExpr(null); setSuffixExpr(null); }