Example usage for org.springframework.web.servlet.tags.form OptionTag DISPLAY_VALUE_VARIABLE_NAME

List of usage examples for org.springframework.web.servlet.tags.form OptionTag DISPLAY_VALUE_VARIABLE_NAME

Introduction

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

Prototype

String DISPLAY_VALUE_VARIABLE_NAME

To view the source code for org.springframework.web.servlet.tags.form OptionTag DISPLAY_VALUE_VARIABLE_NAME.

Click Source Link

Document

The name of the JSP variable used to expose the display value for this tag.

Usage

From source file:org.hdiv.web.servlet.tags.form.OptionTagHDIV.java

@Override
protected void exposeAttributes() throws JspException {
    Object value = resolveValue();
    this.oldValue = this.pageContext.getAttribute(OptionTag.VALUE_VARIABLE_NAME);
    this.pageContext.setAttribute(OptionTag.VALUE_VARIABLE_NAME, value);
    this.oldDisplayValue = this.pageContext.getAttribute(OptionTag.DISPLAY_VALUE_VARIABLE_NAME);
    this.pageContext.setAttribute(DISPLAY_VALUE_VARIABLE_NAME,
            getDisplayString(value, getBindStatus().getEditor()));
}