Example usage for org.springframework.web.servlet.tags.form OptionsTag setHtmlEscape

List of usage examples for org.springframework.web.servlet.tags.form OptionsTag setHtmlEscape

Introduction

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

Prototype

public void setHtmlEscape(boolean htmlEscape) throws JspException 

Source Link

Document

Set HTML escaping for this tag, as boolean value.

Usage

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

private boolean _jspx_meth_form_005foptions_005f0(JspTag _jspx_th_form_005fselect_005f0,
        PageContext _jspx_page_context, int[] _jspx_push_body_count_form_005fselect_005f0) throws Throwable {
    _jspx_page_context.getOut();/*from  w w w  .  j ava2s.  c  o m*/
    OptionsTag _jspx_th_form_005foptions_005f0 = (OptionsTag) this._005fjspx_005ftagPool_005fform_005foptions_0026_005fitems_005fitemValue_005fitemLabel_005fhtmlEscape_005fnobody
            .get(OptionsTag.class);

    try {
        _jspx_th_form_005foptions_005f0.setPageContext(_jspx_page_context);
        _jspx_th_form_005foptions_005f0.setParent((Tag) _jspx_th_form_005fselect_005f0);
        _jspx_th_form_005foptions_005f0.setItems(PageContextImpl.proprietaryEvaluate(
                "${fns:getDictList(\'table_type\')}", Object.class, _jspx_page_context, _jspx_fnmap_2));
        _jspx_th_form_005foptions_005f0.setItemLabel("label");
        _jspx_th_form_005foptions_005f0.setItemValue("value");
        _jspx_th_form_005foptions_005f0.setHtmlEscape(false);
        int[] _jspx_push_body_count_form_005foptions_005f0 = new int[1];

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

                _jspx_page_context.popBody();
            }
        } finally {
            _jspx_th_form_005foptions_005f0.doFinally();
        }
    } finally {
        this._005fjspx_005ftagPool_005fform_005foptions_0026_005fitems_005fitemValue_005fitemLabel_005fhtmlEscape_005fnobody
                .reuse(_jspx_th_form_005foptions_005f0);
    }

    return false;
}

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

private boolean _jspx_meth_form_005foptions_005f1(JspTag _jspx_th_form_005fselect_005f1,
        PageContext _jspx_page_context, int[] _jspx_push_body_count_form_005fselect_005f1) throws Throwable {
    _jspx_page_context.getOut();//from  w w  w  .  ja  va 2  s  .  c o  m
    OptionsTag _jspx_th_form_005foptions_005f1 = (OptionsTag) this._005fjspx_005ftagPool_005fform_005foptions_0026_005fitems_005fitemValue_005fitemLabel_005fhtmlEscape_005fnobody
            .get(OptionsTag.class);

    try {
        _jspx_th_form_005foptions_005f1.setPageContext(_jspx_page_context);
        _jspx_th_form_005foptions_005f1.setParent((Tag) _jspx_th_form_005fselect_005f1);
        _jspx_th_form_005foptions_005f1.setItems(PageContextImpl.proprietaryEvaluate("${tableList}",
                Object.class, _jspx_page_context, (ProtectedFunctionMapper) null));
        _jspx_th_form_005foptions_005f1.setItemLabel("nameAndComments");
        _jspx_th_form_005foptions_005f1.setItemValue("name");
        _jspx_th_form_005foptions_005f1.setHtmlEscape(false);
        int[] _jspx_push_body_count_form_005foptions_005f1 = new int[1];

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

                _jspx_page_context.popBody();
            }
        } finally {
            _jspx_th_form_005foptions_005f1.doFinally();
        }
    } finally {
        this._005fjspx_005ftagPool_005fform_005foptions_0026_005fitems_005fitemValue_005fitemLabel_005fhtmlEscape_005fnobody
                .reuse(_jspx_th_form_005foptions_005f1);
    }

    return false;
}