FoldingSectionTag.java 文件源码

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

项目:jaffa-framework 作者:
/** Make sure tag is within a form
 */
public void otherDoStartTagOperations()  {
    if (log.isDebugEnabled())
        log.debug(this.NAME+".otherDoStartTagOperations: START");

    try {
        super.otherDoStartTagOperations();
    } catch (JspException e) {
        log.error(this.NAME+".otherDoStartTagOperations: error: " + e, e);
    }

    if (log.isDebugEnabled())
        log.debug(this.NAME+".otherDoStartTagOperations: m_containsContent=" + m_containsContent);

    // Preprocess if within a Property widget
    lookupPropertyTag();

    // Get the formtag from the page & register the widget
    FormTag formTag = TagHelper.getFormTag(pageContext);
    if(formTag == null) {
        String str = "The " + TAG_NAME + " should be inside a FormTag";
        log.error(str);
        throw new OuterFormTagMissingRuntimeException(str);
    }
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号