public int doStartTag() throws JspException { setCss(PANEL_CONTAINER_CSS); StringBuilderUtil sb = new StringBuilderUtil(new StringBuilder()); sb.append("<div"); appendBaseProStr(sb); appendProperties(sb, "title", title); appendProperties(sb, "iconCls", iconCls); appendProperties(sb, "width", width); appendProperties(sb, "height", height); appendProperties(sb, "cls", cls); appendProperties(sb, "bodyCls", bodyCls); appendProperties(sb, "fit", fit, false); appendProperties(sb, "border", border, true); appendProperties(sb, "doSize", doSize, true); appendProperties(sb, "noheader", noheader, false); appendProperties(sb, "content", content, false); appendProperties(sb, "collapsible", collapsible, false); appendProperties(sb, "minimizable", minimizable, false); appendProperties(sb, "maximizable", maximizable, false); appendProperties(sb, "closable", closable, false); appendProperties(sb, "tools", tools); appendProperties(sb, "collapsed", collapsed, maximizable); appendProperties(sb, "minimized", minimized, maximizable); appendProperties(sb, "maximized", maximized, maximizable); appendProperties(sb, "closed", closed, maximizable); sb.append(">"); ResponseUtils.write(this.pageContext, sb.toString()); return EVAL_BODY_INCLUDE; }
public int doEndTag() throws JspException { StringBuilderUtil sb = new StringBuilderUtil(new StringBuilder()); sb.appendln("</div>"); ResponseUtils.write(this.pageContext, sb.toString()); return EVAL_PAGE; }