/** @see javax.servlet.jsp.tagext.Tag#release() */ public void release() { super.release(); this.attributeMap.clear(); this.autolink = false; this.decorator = null; this.group = -1; this.headerAttributeMap.clear(); this.href = null; this.maxLength = 0; this.maxWords = 0; this.nulls = false; this.paramId = null; this.paramName = null; this.paramProperty = null; this.paramScope = null; this.property = null; this.sortable = false; this.sortName = null; this.supportedMedia = null; this.title = null; this.titleKey = null; this.sortProperty = null; this.comparator = null; this.defaultorder = null; this.escapeXml = false; this.format = null; this.value = null; this.totaled = false; }
/** ${@inheritDoc} */ public void release() { if (pageContext.getAttribute("current") != null) { pageContext.removeAttribute("current"); } dataSetName = ListHelper.DATA_SET; name = ListHelper.LIST; uniqueName = null; pageData = null; iterator = null; currentObject = null; parentObject = null; styleClass = "list"; styleId = null; rowCounter = -1; width = null; columnCount = 0; pageSize = -1; rowName = "current"; filter = null; haveColsEnumerated = false; haveColHeadersRendered = false; haveTblHeadersRendered = false; haveTblFootersRendered = false; getDecorators().clear(); decorators = null; decoratorName = null; title = null; sortable = false; parentIsElement = true; searchParent = true; searchChild = false; super.release(); }
/** {@inheritDoc} */ public int doEndTag() throws JspException { ListCommand command = (ListCommand) ListTagUtil.getCurrentCommand(this, pageContext); if (command.equals(ListCommand.ENUMERATE)) { if (!StringUtils.isBlank(name)) { ListTag parent = (ListTag) BodyTagSupport.findAncestorWithClass(this, ListTag.class); try { ClassLoader cl = Thread.currentThread().getContextClassLoader(); if (name.indexOf('.') == -1) { name = "com.redhat.rhn.frontend.taglibs.list.row." + name; } RowRenderer row = (RowRenderer) cl.loadClass(name).newInstance(); if (!StringUtils.isEmpty(classes)) { row.setRowClasses(classes); } parent.setRowRenderer(row); } catch (Exception e) { String msg = "Exception while adding Decorator [" + name + "]"; throw new JspException(msg, e); } } } return super.doEndTag(); }
public void setPageContext(PageContext pc) { super.setPageContext(pc); this.method = null; this.id = null; this.style = null; this.lazy = false; this.expand = false; }
/** Release all allocated resources. */ public void release() { super.release(); body = null; id = null; name = null; property = null; scope = null; toScope = "page"; type = null; value = null; }
/** @see javax.servlet.jsp.tagext.BodyTagSupport#release() */ public void release() { colsTag = null; property = ""; key = ""; width = ""; toolTipKey = ""; forceReadWrite = false; enableSingleSelect = false; disabledProperty = ""; onclick = ""; super.release(); }
@Override public void release() { // lucee.print.ln("release FormatTag"); super.release(); locale_flag = false; pattern = null; patternid = null; date = null; localeRef = null; symbolsRef = null; symbols = null; }
private ListDecorator getDecorator(String decName) throws JspException { if (decName != null) { ClassLoader cl = Thread.currentThread().getContextClassLoader(); try { if (decName.indexOf('.') == -1) { decName = "com.redhat.rhn.frontend.taglibs.list.decorators." + decName; } ListDecorator dec = (ListDecorator) cl.loadClass(decName).newInstance(); ListSetTag parent = (ListSetTag) BodyTagSupport.findAncestorWithClass(this, ListSetTag.class); dec.setEnvironment(pageContext, parent, getUniqueName()); return dec; } catch (Exception e) { String msg = "Exception while adding Decorator [" + decName + "]"; throw new JspException(msg, e); } } return null; }
private void verifyEnvironment() throws JspException { if (BodyTagSupport.findAncestorWithClass(this, ListSetTag.class) == null) { throw new JspException("List must be enclosed by a ListSetTag"); } }
public void setBodyContent(BodyContent bc) { System.out.println("call setBodyContent()"); super.setBodyContent(bc); }
// Releases any resources we may have (or inherit) public void release() { init(); super.release(); }
@Override public void release() { this.value = null; this.items = null; super.release(); }
public void release() { super.release(); securityMapper = null; name = null; helper = null; }
public void setPageContext(PageContext pageContext) { super.setPageContext(pageContext); SpringHelper.injectBeans(this, pageContext.getServletContext()); this.helper = new NCTagHelper(securityMapper, pageContext); }