Example usage for org.springframework.web.servlet.tags.form SelectTag setDynamicAttribute

List of usage examples for org.springframework.web.servlet.tags.form SelectTag setDynamicAttribute

Introduction

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

Prototype

@Override
public void setDynamicAttribute(String uri, String localName, Object value) throws JspException 

Source Link

Usage

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

private boolean _jspx_meth_form_005fselect_005f0(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();
    SelectTag _jspx_th_form_005fselect_005f0 = (SelectTag) this._005fjspx_005ftagPool_005fform_005fselect_0026_005fpath_005fclass
            .get(SelectTag.class);

    try {//  w ww.  j a  va 2 s  .c o m
        _jspx_th_form_005fselect_005f0.setPageContext(_jspx_page_context);
        _jspx_th_form_005fselect_005f0.setParent((Tag) _jspx_th_form_005fform_005f0);
        _jspx_th_form_005fselect_005f0.setPath("tableType");
        _jspx_th_form_005fselect_005f0.setDynamicAttribute((String) null, "class", "form-control m-b");
        int[] _jspx_push_body_count_form_005fselect_005f0 = new int[1];

        try {
            int _jspx_exception = _jspx_th_form_005fselect_005f0.doStartTag();
            int evalDoAfterBody;
            if (_jspx_exception != 0) {
                do {
                    out.write("\n");
                    out.write("\t\t\t\t\t\t\t\t\t");
                    if (this._jspx_meth_form_005foptions_005f0(_jspx_th_form_005fselect_005f0,
                            _jspx_page_context, _jspx_push_body_count_form_005fselect_005f0)) {
                        return true;
                    }

                    out.write("\n");
                    out.write("\t\t\t\t\t\t\t\t");
                    evalDoAfterBody = _jspx_th_form_005fselect_005f0.doAfterBody();
                } while (evalDoAfterBody == 2);
            }

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

                out = _jspx_page_context.popBody();
            }
        } finally {
            _jspx_th_form_005fselect_005f0.doFinally();
        }
    } finally {
        this._005fjspx_005ftagPool_005fform_005fselect_0026_005fpath_005fclass
                .reuse(_jspx_th_form_005fselect_005f0);
    }

    return true;
}