org.apache.tapestry5.corelib.data
public enum class: BlankOption [javadoc |
source]
java.lang.Enum
org.apache.tapestry5.corelib.data.BlankOption
Used with the
org.apache.tapestry5.corelib.components.Select component to control whether an initial blank
option is supplied. Determines the optionality of the undelrying property from the Select's {@linkplain
org.apache.tapestry5.FieldValidator#isRequired() validate parameter}
| Field Summary |
|---|
| public BlankOption | ALWAYS | Always include the blank option, even if the underlying property is required. |
| public BlankOption | NEVER | Never include the blank option, even if the underlying property is optional. |
| public BlankOption | AUTO | The default: include the blank option if the underlying property is optional. |