org.springframework.web.servlet.tags.form
Class OptionsTag.OptionsWriter

java.lang.Object
  extended by org.springframework.web.servlet.tags.form.OptionWriter
      extended by org.springframework.web.servlet.tags.form.OptionsTag.OptionsWriter
Enclosing class:
OptionsTag

private class OptionsTag.OptionsWriter
extends OptionWriter

Inner class that adapts OptionWriter for multiple options to be rendered.


Constructor Summary
OptionsTag.OptionsWriter(java.lang.Object optionSource, java.lang.String valueProperty, java.lang.String labelProperty)
           
 
Method Summary
protected  boolean isOptionDisabled()
          Determine whether the option fields should be disabled.
protected  void writeCommonAttributes(TagWriter tagWriter)
          Writes default attributes configured to the supplied TagWriter.
 
Methods inherited from class org.springframework.web.servlet.tags.form.OptionWriter
writeOptions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OptionsTag.OptionsWriter

public OptionsTag.OptionsWriter(java.lang.Object optionSource,
                                java.lang.String valueProperty,
                                java.lang.String labelProperty)
Method Detail

isOptionDisabled

protected boolean isOptionDisabled()
                            throws JspException
Description copied from class: OptionWriter
Determine whether the option fields should be disabled.

Overrides:
isOptionDisabled in class OptionWriter
Throws:
JspException

writeCommonAttributes

protected void writeCommonAttributes(TagWriter tagWriter)
                              throws JspException
Description copied from class: OptionWriter
Writes default attributes configured to the supplied TagWriter.

Overrides:
writeCommonAttributes in class OptionWriter
Throws:
JspException