Example usage for javax.servlet.jsp PageContext getELContext

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

Introduction

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

Prototype

public abstract ELContext getELContext();

Source Link

Document

Returns the ELContext associated with this JspContext.

Usage

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

private boolean _jspx_meth_c_005fforEach_005f34(JspTag _jspx_th_c_005fif_005f6, PageContext _jspx_page_context,
        int[] _jspx_push_body_count_form_005fform_005f0) throws Throwable {
    JspWriter out = _jspx_page_context.getOut();
    ForEachTag _jspx_th_c_005fforEach_005f34 = (ForEachTag) this._005fjspx_005ftagPool_005fc_005fforEach_0026_005fvar_005fitems
            .get(ForEachTag.class);

    try {/* w w  w .ja va 2s  .c  om*/
        _jspx_th_c_005fforEach_005f34.setPageContext(_jspx_page_context);
        _jspx_th_c_005fforEach_005f34.setParent((Tag) _jspx_th_c_005fif_005f6);
        _jspx_th_c_005fforEach_005f34.setItems((new JspValueExpression(
                "/webpage/modules/gen/genTableForm.jsp(1357,11) \'${config.validateTypeList}\'",
                this._jsp_getExpressionFactory().createValueExpression(_jspx_page_context.getELContext(),
                        "${config.validateTypeList}", Object.class)))
                                .getValue(_jspx_page_context.getELContext()));
        _jspx_th_c_005fforEach_005f34.setVar("dict");
        int[] _jspx_push_body_count_c_005fforEach_005f34 = new int[1];

        try {
            int _jspx_exception = _jspx_th_c_005fforEach_005f34.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_005f34.doAfterBody();
                } while (evalDoAfterBody == 2);
            }

            if (_jspx_th_c_005fforEach_005f34.doEndTag() != 5) {
                return false;
            }
        } catch (Throwable var17) {
            while (true) {
                int var10003 = _jspx_push_body_count_c_005fforEach_005f34[0];
                int var10000 = _jspx_push_body_count_c_005fforEach_005f34[0];
                _jspx_push_body_count_c_005fforEach_005f34[0] = var10003 - 1;
                if (var10000 <= 0) {
                    _jspx_th_c_005fforEach_005f34.doCatch(var17);
                    return false;
                }

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

    return true;
}

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

private boolean _jspx_meth_c_005fforEach_005f35(JspTag _jspx_th_c_005fif_005f6, PageContext _jspx_page_context,
        int[] _jspx_push_body_count_form_005fform_005f0) throws Throwable {
    JspWriter out = _jspx_page_context.getOut();
    ForEachTag _jspx_th_c_005fforEach_005f35 = (ForEachTag) this._005fjspx_005ftagPool_005fc_005fforEach_0026_005fvar_005fitems
            .get(ForEachTag.class);

    try {/*from  www. j  a va 2s. c  o  m*/
        _jspx_th_c_005fforEach_005f35.setPageContext(_jspx_page_context);
        _jspx_th_c_005fforEach_005f35.setParent((Tag) _jspx_th_c_005fif_005f6);
        _jspx_th_c_005fforEach_005f35.setItems((new JspValueExpression(
                "/webpage/modules/gen/genTableForm.jsp(1389,11) \'${config.validateTypeList}\'",
                this._jsp_getExpressionFactory().createValueExpression(_jspx_page_context.getELContext(),
                        "${config.validateTypeList}", Object.class)))
                                .getValue(_jspx_page_context.getELContext()));
        _jspx_th_c_005fforEach_005f35.setVar("dict");
        int[] _jspx_push_body_count_c_005fforEach_005f35 = new int[1];

        try {
            int _jspx_exception = _jspx_th_c_005fforEach_005f35.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_005f35.doAfterBody();
                } while (evalDoAfterBody == 2);
            }

            if (_jspx_th_c_005fforEach_005f35.doEndTag() != 5) {
                return false;
            }
        } catch (Throwable var17) {
            while (true) {
                int var10003 = _jspx_push_body_count_c_005fforEach_005f35[0];
                int var10000 = _jspx_push_body_count_c_005fforEach_005f35[0];
                _jspx_push_body_count_c_005fforEach_005f35[0] = var10003 - 1;
                if (var10000 <= 0) {
                    _jspx_th_c_005fforEach_005f35.doCatch(var17);
                    return false;
                }

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

    return true;
}

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

private boolean _jspx_meth_c_005fforEach_005f36(JspTag _jspx_th_c_005fif_005f6, PageContext _jspx_page_context,
        int[] _jspx_push_body_count_form_005fform_005f0) throws Throwable {
    JspWriter out = _jspx_page_context.getOut();
    ForEachTag _jspx_th_c_005fforEach_005f36 = (ForEachTag) this._005fjspx_005ftagPool_005fc_005fforEach_0026_005fvar_005fitems
            .get(ForEachTag.class);

    try {//  w  ww .j av  a  2s.  com
        _jspx_th_c_005fforEach_005f36.setPageContext(_jspx_page_context);
        _jspx_th_c_005fforEach_005f36.setParent((Tag) _jspx_th_c_005fif_005f6);
        _jspx_th_c_005fforEach_005f36.setItems((new JspValueExpression(
                "/webpage/modules/gen/genTableForm.jsp(1421,11) \'${config.validateTypeList}\'",
                this._jsp_getExpressionFactory().createValueExpression(_jspx_page_context.getELContext(),
                        "${config.validateTypeList}", Object.class)))
                                .getValue(_jspx_page_context.getELContext()));
        _jspx_th_c_005fforEach_005f36.setVar("dict");
        int[] _jspx_push_body_count_c_005fforEach_005f36 = new int[1];

        try {
            int _jspx_exception = _jspx_th_c_005fforEach_005f36.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_005f36.doAfterBody();
                } while (evalDoAfterBody == 2);
            }

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

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

    return false;
}

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

private boolean _jspx_meth_c_005fforEach_005f37(JspTag _jspx_th_c_005fif_005f6, PageContext _jspx_page_context,
        int[] _jspx_push_body_count_form_005fform_005f0) throws Throwable {
    JspWriter out = _jspx_page_context.getOut();
    ForEachTag _jspx_th_c_005fforEach_005f37 = (ForEachTag) this._005fjspx_005ftagPool_005fc_005fforEach_0026_005fvar_005fitems
            .get(ForEachTag.class);

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

        try {
            int _jspx_exception = _jspx_th_c_005fforEach_005f37.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_005f37.doAfterBody();
                } while (evalDoAfterBody == 2);
            }

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

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

    return false;
}

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

private boolean _jspx_meth_c_005fforEach_005f38(JspTag _jspx_th_form_005fform_005f0,
        PageContext _jspx_page_context, int[] _jspx_push_body_count_form_005fform_005f0) throws Throwable {
    JspWriter out = _jspx_page_context.getOut();
    ForEachTag _jspx_th_c_005fforEach_005f38 = (ForEachTag) this._005fjspx_005ftagPool_005fc_005fforEach_0026_005fvarStatus_005fvar_005fitems
            .get(ForEachTag.class);

    try {/*from  ww w. j a va  2s.c  om*/
        _jspx_th_c_005fforEach_005f38.setPageContext(_jspx_page_context);
        _jspx_th_c_005fforEach_005f38.setParent((Tag) _jspx_th_form_005fform_005f0);
        _jspx_th_c_005fforEach_005f38
                .setItems((new JspValueExpression(
                        "/webpage/modules/gen/genTableForm.jsp(1472,8) \'${genTable.columnList}\'",
                        this._jsp_getExpressionFactory().createValueExpression(
                                _jspx_page_context.getELContext(), "${genTable.columnList}", Object.class)))
                                        .getValue(_jspx_page_context.getELContext()));
        _jspx_th_c_005fforEach_005f38.setVar("column");
        _jspx_th_c_005fforEach_005f38.setVarStatus("vs");
        int[] _jspx_push_body_count_c_005fforEach_005f38 = new int[1];

        try {
            int _jspx_exception = _jspx_th_c_005fforEach_005f38.doStartTag();
            int evalDoAfterBody;
            if (_jspx_exception != 0) {
                do {
                    out.write("\n");
                    out.write("\t\t\t\t\t\t\t\t<tr");
                    out.write((String) PageContextImpl.proprietaryEvaluate(
                            "${column.delFlag eq \'1\'?\' class=\"error\" title=\"???\"\':\'\'}",
                            String.class, _jspx_page_context, (ProtectedFunctionMapper) null));
                    out.write(">\n");
                    out.write("\t\t\t\t\t\t\t\t\t<td>\n");
                    out.write(
                            "\t\t\t\t\t\t\t\t\t\t<input type=\"text\" readonly=\"readonly\" name=\"page-columnList[");
                    out.write((String) PageContextImpl.proprietaryEvaluate("${vs.index}", String.class,
                            _jspx_page_context, (ProtectedFunctionMapper) null));
                    out.write("].name\" value=\"");
                    out.write((String) PageContextImpl.proprietaryEvaluate("${column.name}", String.class,
                            _jspx_page_context, (ProtectedFunctionMapper) null));
                    out.write("\" class=\"form-control required\"/>\n");
                    out.write("\t\t\t\t\t\t\t\t\t</td>\n");
                    out.write("\t\t\t\t\t\t\t\t\t<td>\n");
                    out.write(
                            "\t\t\t\t\t\t\t\t\t\t<input type=\"text\" readonly=\"readonly\"  name=\"page-columnList[");
                    out.write((String) PageContextImpl.proprietaryEvaluate("${vs.index}", String.class,
                            _jspx_page_context, (ProtectedFunctionMapper) null));
                    out.write("].comments\" value=\"");
                    out.write((String) PageContextImpl.proprietaryEvaluate("${column.comments}", String.class,
                            _jspx_page_context, (ProtectedFunctionMapper) null));
                    out.write("\" maxlength=\"200\" class=\"form-control\"/>\n");
                    out.write("\t\t\t\t\t\t\t\t\t</td>\n");
                    out.write("\t\t\t\t\t\t\t\t\t<td>\n");
                    out.write(
                            "\t\t\t\t\t\t\t\t\t\t<input type=\"checkbox\" class=\"i-checks\" name=\"columnList[");
                    out.write((String) PageContextImpl.proprietaryEvaluate("${vs.index}", String.class,
                            _jspx_page_context, (ProtectedFunctionMapper) null));
                    out.write("].isNull\" value=\"1\" ");
                    out.write((String) PageContextImpl.proprietaryEvaluate(
                            "${column.isNull eq \'1\' ? \'checked\' : \'\'}", String.class, _jspx_page_context,
                            (ProtectedFunctionMapper) null));
                    out.write("/>\n");
                    out.write("\t\t\t\t\t\t\t\t\t</td>\n");
                    out.write("\t\t\t\t\t\t\t\t\t<td>\n");
                    out.write("\t\t\t\t\t\t\t\t\t\t<select name=\"columnList[");
                    out.write((String) PageContextImpl.proprietaryEvaluate("${vs.index}", String.class,
                            _jspx_page_context, (ProtectedFunctionMapper) null));
                    out.write("].validateType\" class=\"form-control m-b\">\n");
                    out.write("\t\t\t\t\t\t\t\t\t\t\t");
                    if (this._jspx_meth_c_005fforEach_005f39(_jspx_th_c_005fforEach_005f38, _jspx_page_context,
                            _jspx_push_body_count_c_005fforEach_005f38)) {
                        return true;
                    }

                    out.write("\n");
                    out.write("\t\t\t\t\t\t\t\t\t\t</select>\n");
                    out.write("\t\t\t\t\t\t\t\t\t</td>\n");
                    out.write("\t\t\t\t\t\t\t\t\t<td>\n");
                    out.write("\t\t\t\t\t\t\t\t\t\t<input type=\"text\" name=\"columnList[");
                    out.write((String) PageContextImpl.proprietaryEvaluate("${vs.index}", String.class,
                            _jspx_page_context, (ProtectedFunctionMapper) null));
                    out.write("].minLength\" value=\"");
                    out.write((String) PageContextImpl.proprietaryEvaluate("${column.minLength}", String.class,
                            _jspx_page_context, (ProtectedFunctionMapper) null));
                    out.write("\" maxlength=\"200\" class=\"form-control  \"/>\n");
                    out.write("\t\t\t\t\t\t\t\t\t</td>\n");
                    out.write("\t\t\t\t\t\t\t\t\t<td>\n");
                    out.write("\t\t\t\t\t\t\t\t\t\t<input type=\"text\" name=\"columnList[");
                    out.write((String) PageContextImpl.proprietaryEvaluate("${vs.index}", String.class,
                            _jspx_page_context, (ProtectedFunctionMapper) null));
                    out.write("].maxLength\" value=\"");
                    out.write((String) PageContextImpl.proprietaryEvaluate("${column.maxLength}", String.class,
                            _jspx_page_context, (ProtectedFunctionMapper) null));
                    out.write("\" maxlength=\"200\" class=\"form-control  \"/>\n");
                    out.write("\t\t\t\t\t\t\t\t\t</td>\n");
                    out.write("\t\t\t\t\t\t\t\t\t<td>\n");
                    out.write("\t\t\t\t\t\t\t\t\t\t<input type=\"text\" name=\"columnList[");
                    out.write((String) PageContextImpl.proprietaryEvaluate("${vs.index}", String.class,
                            _jspx_page_context, (ProtectedFunctionMapper) null));
                    out.write("].minValue\" value=\"");
                    out.write((String) PageContextImpl.proprietaryEvaluate("${column.minValue}", String.class,
                            _jspx_page_context, (ProtectedFunctionMapper) null));
                    out.write("\" maxlength=\"200\" class=\"form-control  \"/>\n");
                    out.write("\t\t\t\t\t\t\t\t\t</td>\n");
                    out.write("\t\t\t\t\t\t\t\t\t<td>\n");
                    out.write("\t\t\t\t\t\t\t\t\t\t<input type=\"text\" name=\"columnList[");
                    out.write((String) PageContextImpl.proprietaryEvaluate("${vs.index}", String.class,
                            _jspx_page_context, (ProtectedFunctionMapper) null));
                    out.write("].maxValue\" value=\"");
                    out.write((String) PageContextImpl.proprietaryEvaluate("${column.maxValue}", String.class,
                            _jspx_page_context, (ProtectedFunctionMapper) null));
                    out.write("\" maxlength=\"200\" class=\"form-control  \"/>\n");
                    out.write("\t\t\t\t\t\t\t\t\t</td>\n");
                    out.write("\t\t\t\t\t\t\t\t</tr>\n");
                    out.write("\t\t\t\t\t\t\t");
                    evalDoAfterBody = _jspx_th_c_005fforEach_005f38.doAfterBody();
                } while (evalDoAfterBody == 2);
            }

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

                out = _jspx_page_context.popBody();
            }
        } finally {
            _jspx_th_c_005fforEach_005f38.doFinally();
        }
    } finally {
        this._005fjspx_005ftagPool_005fc_005fforEach_0026_005fvarStatus_005fvar_005fitems
                .reuse(_jspx_th_c_005fforEach_005f38);
    }

    return false;
}

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 w w  w.  j a v a  2 s. c  om*/
        _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;
}

From source file:org.tinygroup.jspengine.runtime.PageContextImpl.java

/**
 * Evaluates an EL expression// ww w.j av a2s .co m
 *
 * @param expression The expression to be evaluated
 * @param expectedType The expected resulting type
 * @param pageContext The page context
 * @param functionMap Maps prefix and name to Method
 * @return The result of the evaluation
 */
public static Object evaluateExpression(final String expression, final Class expectedType,
        final PageContext pageContext, final ProtectedFunctionMapper functionMap) throws ELException {
    Object retValue;
    if (SecurityUtil.isPackageProtectionEnabled()) {
        try {
            retValue = AccessController.doPrivileged(new PrivilegedExceptionAction() {

                public Object run() throws Exception {
                    ELContextImpl elContext = (ELContextImpl) pageContext.getELContext();
                    elContext.setFunctionMapper(functionMap);
                    ExpressionFactory expFactory = getExpressionFactory(pageContext);
                    ValueExpression expr = expFactory.createValueExpression(elContext, expression,
                            expectedType);
                    return expr.getValue(elContext);
                }
            });
        } catch (PrivilegedActionException ex) {
            Exception realEx = ex.getException();
            if (realEx instanceof ELException) {
                throw (ELException) realEx;
            } else {
                throw new ELException(realEx);
            }
        }
    } else {
        ELContextImpl elContext = (ELContextImpl) pageContext.getELContext();
        elContext.setFunctionMapper(functionMap);
        ExpressionFactory expFactory = getExpressionFactory(pageContext);
        ValueExpression expr = expFactory.createValueExpression(elContext, expression, expectedType);
        retValue = expr.getValue(elContext);
    }
    return retValue;
}

From source file:org.tinygroup.jspengine.runtime.PageContextImpl.java

public static ValueExpression getValueExpression(String expression, PageContext pageContext, Class expectedType,
        FunctionMapper functionMap) {// w ww  . java 2  s. com
    // ELResolvers are not used in createValueExpression
    ELContextImpl elctxt = (ELContextImpl) pageContext.getELContext();
    elctxt.setFunctionMapper(functionMap);
    ExpressionFactory expFactory = getExpressionFactory(pageContext);
    return expFactory.createValueExpression(elctxt, expression, expectedType);
}

From source file:org.tinygroup.jspengine.runtime.PageContextImpl.java

public static MethodExpression getMethodExpression(String expression, PageContext pageContext,
        FunctionMapper functionMap, Class expectedType, Class[] paramTypes) {

    ELContextImpl elctxt = (ELContextImpl) pageContext.getELContext();
    elctxt.setFunctionMapper(functionMap);
    ExpressionFactory expFactory = getExpressionFactory(pageContext);
    return expFactory.createMethodExpression(elctxt, expression, expectedType, paramTypes);
}

From source file:org.tinygroup.jspengine.runtime.PageContextImpl.java

public static void setValueVariable(PageContext pageContext, String variable, ValueExpression expression) {
    ELContextImpl elctxt = (ELContextImpl) pageContext.getELContext();
    elctxt.getVariableMapper().setVariable(variable, expression);
}