Example usage for javax.servlet.jsp PageContext popBody

List of usage examples for javax.servlet.jsp PageContext popBody

Introduction

In this page you can find the example usage for javax.servlet.jsp PageContext popBody.

Prototype

public JspWriter popBody() 

Source Link

Document

Return the previous JspWriter "out" saved by the matching pushBody(), and update the value of the "out" attribute in the page scope attribute namespace of the JspContext.

Usage

From source file:org.apache.jsp.webpage.modules.gen.genTableForm_jsp.java

private boolean _jspx_meth_c_005fforEach_005f39(JspTag _jspx_th_c_005fforEach_005f38,
        PageContext _jspx_page_context, int[] _jspx_push_body_count_c_005fforEach_005f38) throws Throwable {
    JspWriter out = _jspx_page_context.getOut();
    ForEachTag _jspx_th_c_005fforEach_005f39 = (ForEachTag) this._005fjspx_005ftagPool_005fc_005fforEach_0026_005fvar_005fitems
            .get(ForEachTag.class);

    try {//from   www . j a  v  a2 s  .c  o  m
        _jspx_th_c_005fforEach_005f39.setPageContext(_jspx_page_context);
        _jspx_th_c_005fforEach_005f39.setParent((Tag) _jspx_th_c_005fforEach_005f38);
        _jspx_th_c_005fforEach_005f39.setItems((new JspValueExpression(
                "/webpage/modules/gen/genTableForm.jsp(1485,11) \'${config.validateTypeList}\'",
                this._jsp_getExpressionFactory().createValueExpression(_jspx_page_context.getELContext(),
                        "${config.validateTypeList}", Object.class)))
                                .getValue(_jspx_page_context.getELContext()));
        _jspx_th_c_005fforEach_005f39.setVar("dict");
        int[] _jspx_push_body_count_c_005fforEach_005f39 = new int[1];

        try {
            int _jspx_exception = _jspx_th_c_005fforEach_005f39.doStartTag();
            int evalDoAfterBody;
            if (_jspx_exception != 0) {
                do {
                    out.write("\n");
                    out.write("\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"");
                    out.write((String) PageContextImpl.proprietaryEvaluate("${dict.value}", String.class,
                            _jspx_page_context, (ProtectedFunctionMapper) null));
                    out.write(34);
                    out.write(32);
                    out.write((String) PageContextImpl.proprietaryEvaluate(
                            "${dict.value==column.validateType?\'selected\':\'\'}", String.class,
                            _jspx_page_context, (ProtectedFunctionMapper) null));
                    out.write(" title=\"");
                    out.write((String) PageContextImpl.proprietaryEvaluate("${dict.description}", String.class,
                            _jspx_page_context, (ProtectedFunctionMapper) null));
                    out.write(34);
                    out.write(62);
                    out.write((String) PageContextImpl.proprietaryEvaluate("${dict.label}", String.class,
                            _jspx_page_context, (ProtectedFunctionMapper) null));
                    out.write("</option>\n");
                    out.write("\t\t\t\t\t\t\t\t\t\t\t");
                    evalDoAfterBody = _jspx_th_c_005fforEach_005f39.doAfterBody();
                } while (evalDoAfterBody == 2);
            }

            if (_jspx_th_c_005fforEach_005f39.doEndTag() == 5) {
                return true;
            }
        } catch (Throwable var17) {
            while (true) {
                int var10003 = _jspx_push_body_count_c_005fforEach_005f39[0];
                int var10000 = _jspx_push_body_count_c_005fforEach_005f39[0];
                _jspx_push_body_count_c_005fforEach_005f39[0] = var10003 - 1;
                if (var10000 <= 0) {
                    _jspx_th_c_005fforEach_005f39.doCatch(var17);
                    break;
                }

                out = _jspx_page_context.popBody();
            }
        } finally {
            _jspx_th_c_005fforEach_005f39.doFinally();
        }
    } finally {
        this._005fjspx_005ftagPool_005fc_005fforEach_0026_005fvar_005fitems
                .reuse(_jspx_th_c_005fforEach_005f39);
    }

    return false;
}