private void endEvaluation() throws JspException { if (needPop) { pageContext.popWriter(); needPop = false; } if (tag.doEndTag() == Tag.SKIP_PAGE) { LOG.warn("Tag.SKIP_PAGE was ignored from a " + tag.getClass().getName() + " tag."); } }
/** * Delegates to wrapped tag. */ public int doEndTag() throws JspException { return tag.doEndTag(); }
/** * Delegates to wrapped tag. */ public int doEndTag() throws JspException { return tag.doEndTag(); }
/** * Delegates to wrapped tag. */ public int doEndTag() throws JspException { return tag.doEndTag(); }
/** * Assert that the return value of doEndTag is equal to an expectedValue * @param expectedValue value to check against doEndTag */ public void assertDoEndTag(int expectedValue) throws JspException { Assert.assertEquals("doEndTag returned unexpected value" + getReturnValueName(expectedValue), expectedValue, testSubject.doEndTag()); } }
@Override protected void doRender(TttWriter tw) throws Exception { // try { tag.doStartTag(); tag.doEndTag(); // } finally { // tag.release(); // } } }
private void endEvaluation() throws JspException { if(needPop) { pageContext.popWriter(); needPop = false; } if(tag.doEndTag() == Tag.SKIP_PAGE) { logger.warn("Tag.SKIP_PAGE was ignored from a " + tag.getClass().getName() + " tag."); } }
private void endEvaluation() throws JspException { if (needPop) { pageContext.popWriter(); needPop = false; } if (tag.doEndTag() == Tag.SKIP_PAGE) { LOG.warn("Tag.SKIP_PAGE was ignored from a " + tag.getClass().getName() + " tag."); } }
private void endEvaluation() throws JspException { if (needPop) { pageContext.popWriter(); needPop = false; } if (tag.doEndTag() == Tag.SKIP_PAGE) { LOG.warn("Tag.SKIP_PAGE was ignored from a " + tag.getClass().getName() + " tag."); } }
/** * Calls the <code>doEndTag</code> method of the current tag. * @return the result of <code>doEndTag</code> * @throws <code>RuntimeException</code>, if the tag * is a simple tag */ public int doEndTag() { if(null == tag) { throw new RuntimeException("No current tag set"); } /*if(isSimpleTag()) { throw new RuntimeException("Cannot call doEndTag() on simple tags"); }*/ try { return ((Tag)tag).doEndTag(); } catch(JspException exc) { throw new NestedApplicationException(exc); } }
/** * Calls the <code>doEndTag</code> method of the current tag. * @return the result of <code>doEndTag</code> * @throws <code>RuntimeException</code>, if the tag * is a simple tag */ public int doEndTag() { if(null == tag) { throw new RuntimeException("No current tag set"); } /*if(isSimpleTag()) { throw new RuntimeException("Cannot call doEndTag() on simple tags"); }*/ try { return ((Tag)tag).doEndTag(); } catch(JspException exc) { throw new NestedApplicationException(exc); } }
protected void processTag(final PageContext pageContext, final Tag tag) throws JspException { if (Tag.SKIP_BODY != tag.doStartTag()) { processChildren(pageContext, tag); tag.doEndTag(); } }
/** * Calls the <code>doEndTag</code> method of the current tag. * @return the result of <code>doEndTag</code> * @throws <code>RuntimeException</code>, if the tag * is a simple tag */ public int doEndTag() { if(null == tag) { throw new RuntimeException("No current tag set"); } if(isSimpleTag()) { throw new RuntimeException("Cannot call doEndTag() on simple tags"); } try { return ((Tag)tag).doEndTag(); } catch(JspException exc) { throw new NestedApplicationException(exc); } }
public ProcessStatus doEndProcess() { Tag customTag = getLoadedTag(); try { int ret = customTag.doEndTag(); return getProcessStatus(ret, true); } catch (JspException e) { throw createJspRuntimeException( getOriginalNode(), getInjectedNode(), e); } finally { if (!canCatch()) { releaseLoadedTag(); popNestedVariables(); } } }
tag.doEndTag(); } finally { tag.release();
returnValue = tag.doEndTag();
returnValue = tag.doEndTag();
returnValue = tag.doEndTag();