Example usage for org.springframework.web.servlet.tags.form InputTag setPageContext

List of usage examples for org.springframework.web.servlet.tags.form InputTag setPageContext

Introduction

In this page you can find the example usage for org.springframework.web.servlet.tags.form InputTag setPageContext.

Prototype


public void setPageContext(PageContext pageContext) 

Source Link

Document

Set the page context.

Usage

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

private boolean _jspx_meth_form_005finput_005f0(JspTag _jspx_th_form_005fform_005f0,
        PageContext _jspx_page_context, int[] _jspx_push_body_count_form_005fform_005f0) throws Throwable {
    _jspx_page_context.getOut();/*  ww w  . j av  a  2  s  .  co m*/
    InputTag _jspx_th_form_005finput_005f0 = (InputTag) this._005fjspx_005ftagPool_005fform_005finput_0026_005fpath_005fmaxlength_005fhtmlEscape_005fclass_005fnobody
            .get(InputTag.class);

    try {
        _jspx_th_form_005finput_005f0.setPageContext(_jspx_page_context);
        _jspx_th_form_005finput_005f0.setParent((Tag) _jspx_th_form_005fform_005f0);
        _jspx_th_form_005finput_005f0.setPath("name");
        _jspx_th_form_005finput_005f0.setHtmlEscape(false);
        _jspx_th_form_005finput_005f0.setMaxlength("200");
        _jspx_th_form_005finput_005f0.setDynamicAttribute((String) null, "class", "form-control required");
        int[] _jspx_push_body_count_form_005finput_005f0 = new int[1];

        try {
            _jspx_th_form_005finput_005f0.doStartTag();
            if (_jspx_th_form_005finput_005f0.doEndTag() != 5) {
                return false;
            }
        } catch (Throwable var15) {
            while (true) {
                int var10003 = _jspx_push_body_count_form_005finput_005f0[0];
                int var10000 = _jspx_push_body_count_form_005finput_005f0[0];
                _jspx_push_body_count_form_005finput_005f0[0] = var10003 - 1;
                if (var10000 <= 0) {
                    _jspx_th_form_005finput_005f0.doCatch(var15);
                    return false;
                }

                _jspx_page_context.popBody();
            }
        } finally {
            _jspx_th_form_005finput_005f0.doFinally();
        }
    } finally {
        this._005fjspx_005ftagPool_005fform_005finput_0026_005fpath_005fmaxlength_005fhtmlEscape_005fclass_005fnobody
                .reuse(_jspx_th_form_005finput_005f0);
    }

    return true;
}

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

private boolean _jspx_meth_form_005finput_005f1(JspTag _jspx_th_form_005fform_005f0,
        PageContext _jspx_page_context, int[] _jspx_push_body_count_form_005fform_005f0) throws Throwable {
    _jspx_page_context.getOut();/*  ww w .j ava2s.c o m*/
    InputTag _jspx_th_form_005finput_005f1 = (InputTag) this._005fjspx_005ftagPool_005fform_005finput_0026_005fpath_005fmaxlength_005fhtmlEscape_005fclass_005fnobody
            .get(InputTag.class);

    try {
        _jspx_th_form_005finput_005f1.setPageContext(_jspx_page_context);
        _jspx_th_form_005finput_005f1.setParent((Tag) _jspx_th_form_005fform_005f0);
        _jspx_th_form_005finput_005f1.setPath("comments");
        _jspx_th_form_005finput_005f1.setHtmlEscape(false);
        _jspx_th_form_005finput_005f1.setMaxlength("200");
        _jspx_th_form_005finput_005f1.setDynamicAttribute((String) null, "class", "form-control required");
        int[] _jspx_push_body_count_form_005finput_005f1 = new int[1];

        try {
            _jspx_th_form_005finput_005f1.doStartTag();
            if (_jspx_th_form_005finput_005f1.doEndTag() != 5) {
                return false;
            }
        } catch (Throwable var15) {
            while (true) {
                int var10003 = _jspx_push_body_count_form_005finput_005f1[0];
                int var10000 = _jspx_push_body_count_form_005finput_005f1[0];
                _jspx_push_body_count_form_005finput_005f1[0] = var10003 - 1;
                if (var10000 <= 0) {
                    _jspx_th_form_005finput_005f1.doCatch(var15);
                    return false;
                }

                _jspx_page_context.popBody();
            }
        } finally {
            _jspx_th_form_005finput_005f1.doFinally();
        }
    } finally {
        this._005fjspx_005ftagPool_005fform_005finput_0026_005fpath_005fmaxlength_005fhtmlEscape_005fclass_005fnobody
                .reuse(_jspx_th_form_005finput_005f1);
    }

    return true;
}

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

private boolean _jspx_meth_form_005finput_005f2(JspTag _jspx_th_form_005fform_005f0,
        PageContext _jspx_page_context, int[] _jspx_push_body_count_form_005fform_005f0) throws Throwable {
    _jspx_page_context.getOut();//from   w ww  . j a  v a  2 s .  c o  m
    InputTag _jspx_th_form_005finput_005f2 = (InputTag) this._005fjspx_005ftagPool_005fform_005finput_0026_005fpath_005fmaxlength_005fhtmlEscape_005fclass_005fnobody
            .get(InputTag.class);

    try {
        _jspx_th_form_005finput_005f2.setPageContext(_jspx_page_context);
        _jspx_th_form_005finput_005f2.setParent((Tag) _jspx_th_form_005fform_005f0);
        _jspx_th_form_005finput_005f2.setPath("className");
        _jspx_th_form_005finput_005f2.setHtmlEscape(false);
        _jspx_th_form_005finput_005f2.setMaxlength("200");
        _jspx_th_form_005finput_005f2.setDynamicAttribute((String) null, "class", "form-control required");
        int[] _jspx_push_body_count_form_005finput_005f2 = new int[1];

        try {
            _jspx_th_form_005finput_005f2.doStartTag();
            if (_jspx_th_form_005finput_005f2.doEndTag() == 5) {
                return true;
            }
        } catch (Throwable var15) {
            while (true) {
                int var10003 = _jspx_push_body_count_form_005finput_005f2[0];
                int var10000 = _jspx_push_body_count_form_005finput_005f2[0];
                _jspx_push_body_count_form_005finput_005f2[0] = var10003 - 1;
                if (var10000 <= 0) {
                    _jspx_th_form_005finput_005f2.doCatch(var15);
                    break;
                }

                _jspx_page_context.popBody();
            }
        } finally {
            _jspx_th_form_005finput_005f2.doFinally();
        }
    } finally {
        this._005fjspx_005ftagPool_005fform_005finput_0026_005fpath_005fmaxlength_005fhtmlEscape_005fclass_005fnobody
                .reuse(_jspx_th_form_005finput_005f2);
    }

    return false;
}

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

private boolean _jspx_meth_form_005finput_005f3(JspTag _jspx_th_form_005fform_005f0,
        PageContext _jspx_page_context, int[] _jspx_push_body_count_form_005fform_005f0) throws Throwable {
    _jspx_page_context.getOut();//ww  w.  jav  a 2  s. c  o m
    InputTag _jspx_th_form_005finput_005f3 = (InputTag) this._005fjspx_005ftagPool_005fform_005finput_0026_005fvalue_005fpath_005fmaxlength_005fhtmlEscape_005fclass_005fnobody
            .get(InputTag.class);

    try {
        _jspx_th_form_005finput_005f3.setPageContext(_jspx_page_context);
        _jspx_th_form_005finput_005f3.setParent((Tag) _jspx_th_form_005fform_005f0);
        _jspx_th_form_005finput_005f3.setPath("parentTableFk");
        _jspx_th_form_005finput_005f3.setHtmlEscape(false);
        _jspx_th_form_005finput_005f3.setMaxlength("200");
        _jspx_th_form_005finput_005f3.setDynamicAttribute((String) null, "class", "form-control");
        _jspx_th_form_005finput_005f3.setDynamicAttribute((String) null, "value",
                PageContextImpl.proprietaryEvaluate("${genTable.parentTableFk}", Object.class,
                        _jspx_page_context, (ProtectedFunctionMapper) null));
        int[] _jspx_push_body_count_form_005finput_005f3 = new int[1];

        try {
            _jspx_th_form_005finput_005f3.doStartTag();
            if (_jspx_th_form_005finput_005f3.doEndTag() == 5) {
                return true;
            }
        } catch (Throwable var15) {
            while (true) {
                int var10003 = _jspx_push_body_count_form_005finput_005f3[0];
                int var10000 = _jspx_push_body_count_form_005finput_005f3[0];
                _jspx_push_body_count_form_005finput_005f3[0] = var10003 - 1;
                if (var10000 <= 0) {
                    _jspx_th_form_005finput_005f3.doCatch(var15);
                    break;
                }

                _jspx_page_context.popBody();
            }
        } finally {
            _jspx_th_form_005finput_005f3.doFinally();
        }
    } finally {
        this._005fjspx_005ftagPool_005fform_005finput_0026_005fvalue_005fpath_005fmaxlength_005fhtmlEscape_005fclass_005fnobody
                .reuse(_jspx_th_form_005finput_005f3);
    }

    return false;
}