@Override public void release() { super.release(); this.name = ""; this.value = null; this.valueSet = false; }
@Override public int doEndTag() throws JspException { try { final ASN1InputStream decoder = new ASN1InputStream(value); ASN1Primitive primitive = decoder.readObject(); while (primitive != null && !(primitive instanceof ASN1Null)) { pageContext.getOut().write(doPrimitive(primitive)); primitive = decoder.readObject(); } } catch (Exception ex) { throw new JspException(ex.getMessage()); } return super.doEndTag(); }
@Override public int doStartTag() throws JspException { if (value != null) { print(value.toString(), pageContext.getOut()); return SKIP_BODY; } return super.doStartTag(); }
public void setPageContext(PageContext aPageContext) { super.setPageContext(aPageContext); stack = null; }
/** * Process the tag. */ public int doStartTag() throws JspException { _paramNames.clear(); _paramValues.clear(); return super.doStartTag(); }
@Override public void setPageContext(PageContext pageContext) { super.setPageContext(pageContext); entityResolver = pageContext == null ? null: new XmlUtil.JstlEntityResolver(pageContext); }
@Override public void release() { super.release(); this.value = null; this.valueSet = false; }
public int doEndTag() throws JspException { // do the super thing int i = super.doEndTag(); // reset the property property = originalProperty; // complete return i; }
@Override public int doStartTag() throws JspException { if (pageContext.getAttribute(IncludeTag.PARAMETERS) == null){ pageContext.setAttribute(IncludeTag.PARAMETERS, new HashMap<String, String>()); } return super.doStartTag(); }
@Override public void setPageContext(PageContext pageContext) { super.setPageContext(pageContext); entityResolver = pageContext == null ? null: new XmlUtil.JstlEntityResolver(pageContext); }
@Override public void release() { super.release(); this.value = null; this.valueSet = false; }
public int doEndTag() throws JspException { stack = null; return super.doEndTag(); }
@Override public int doStartTag() throws JspException { pageContext.getRequest().setAttribute(id, getLabel()); return super.doStartTag(); }
@Override public void setPageContext(PageContext pageContext) { super.setPageContext(pageContext); if (contentIdHelper == null) { WebApplicationContext context = WebApplicationContextUtils.getRequiredWebApplicationContext(pageContext.getServletContext()); contentIdHelper = context.getBean(ContentIdHelper.class); topicMapDao = context.getBean(TopicMapDao.class); siteCache = context.getBean(SiteCache.class); } }
@Override public void release() { super.release(); this.name = ""; this.value = null; this.valueSet = false; }
@Override public int doEndTag() throws JspException { int returnVal = super.doEndTag(); initVariables(); return returnVal; }
@Override public int doStartTag() throws JspException { Collection<LabelValueBean> labelValueBeans = getLabelValues(); pageContext.getRequest().setAttribute(id, labelValueBeans); return super.doStartTag(); }
@Override public void setPageContext(PageContext pageContext) { super.setPageContext(pageContext); if (contentIdHelper == null) { WebApplicationContext context = WebApplicationContextUtils.getRequiredWebApplicationContext(pageContext.getServletContext()); contentIdHelper = context.getBean(ContentIdHelper.class); siteCache = context.getBean(SiteCache.class); } }
/** * Releases any resources we may have (or inherit).<p> */ @Override public void release() { super.release(); m_type = null; }
@SuppressWarnings("unchecked") @Override public int doEndTag() throws JspException { ((Map<String, String>) pageContext.getAttribute(IncludeTag.PARAMETERS)) .put(name, bodyContent.getString()); return super.doEndTag(); }