getAttributes().put("value", format(this.value));
    public int doEndInputTag() throws JspException {        // Find our mandatory enclosing select tag        InputSelectTag selectTag = getParentTag(InputSelectTag.class);        if (selectTag == null) {            throw new StripesJspException                    ("Option tags must always be contained inside a select tag.");        }        if ( selectTag.isOptionSelected(getValue(), (this.selected != null)) ) {            getAttributes().put("selected", "selected");        }        getAttributes().put("value", format(this.value));        try {            String actualLabel = getBodyContentAsString();            if (actualLabel == null) {                actualLabel = this.label;            }            writeOpenTag(getPageContext().getOut(), "option");            if (actualLabel != null) {                getPageContext().getOut().write(actualLabel);            }            writeCloseTag(getPageContext().getOut(), "option");            // Clean out the attributes we modified            getAttributes().remove("selected");            getAttributes().remove("value");        }        catch (IOException ioe) {            throw new JspException("IOException in InputOptionTag.doEndTag().", ioe);        }        return EVAL_PAGE;    }