1 21 package net.mlw.vlh.web.tag; 22 23 import javax.servlet.jsp.JspException ; 24 25 import net.mlw.vlh.web.util.JspUtils; 26 27 35 public class DefaultHeaderTag extends DefaultRowTag 36 { 37 38 41 public int doStartTag() throws JspException 42 { 43 init(); 44 return EVAL_BODY_AGAIN; 45 } 46 47 50 public int doAfterBody() throws JspException 51 { 52 return SKIP_BODY; 53 } 54 55 60 public int doEndTag() throws JspException 61 { 62 StringBuffer sb = new StringBuffer (); 63 TableInfo tableInfo = getRootTag().getTableInfo(); 64 renderHeaderRow(sb, getColumns(), tableInfo, getRootTag().getValueList().getValueListInfo(), tableInfo.getParameters()); 65 JspUtils.writePrevious(pageContext, sb.toString()); 66 return super.doEndTag(); 67 } 68 } | Popular Tags |