public int doEndTag() throws JspException {
if (getParent()!=null && getParent() instanceof SectionHeader) {
((SectionHeader)getParent()).setTitle(getBodyContent().getString());
} else {
try {
String body = (getBodyContent()==null?null:getBodyContent().getString());
if (body==null || body.trim().length()==0) {
pageContext.getOut().println("<DIV class='WelcomeRowHeadBlank'> </DIV>");
} else {
pageContext.getOut().println("<DIV class='WelcomeRowHead'>");
pageContext.getOut().println(body);
pageContext.getOut().println("</DIV>");
}
} catch (Exception e) {
e.printStackTrace();
throw new JspTagException(e.getMessage());
}
}
return EVAL_PAGE;
}
SectionTitle.java 文件源码
java
阅读 34
收藏 0
点赞 0
评论 0
项目:unitime
作者:
评论列表
文章目录