ColumnContentTag.java 文件源码

java
阅读 34 收藏 0 点赞 0 评论 0

项目:irplus 作者:
public void doTag() throws JspException {

        TableRowTag rowTag = (TableRowTag) findAncestorWithClass(this,
                TableRowTag.class);

        ColumnTag columnTag = (ColumnTag)findAncestorWithClass(this,
                ColumnTag.class);

        if (columnTag == null) {
            throw new JspTagException("the <ur:columnContent> tag must"
                    + " be nested within a <ur:column> tag");
        }

        if (rowTag.isProcessColumn()) 
        {
            JspFragment body = getJspBody();
            try {
                body.invoke(null);
            } catch (IOException e) {
                e.printStackTrace();
                throw new JspException("Error in columnContent", e);
            }
        }
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号