org.scalatra.forms
Members list
Type members
Classlikes
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ServletBase & I18nSupport
The base class for the object field ValueTypes.
The base class for the object field ValueTypes.
Attributes
- Supertypes
The base class for the single field ValueTypes.
The base class for the single field ValueTypes.
Attributes
- Supertypes
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class MappingValueType[T]class SingleValueType[T]
Value members
Concrete methods
ValueType for the Boolean property.
ValueType for the Boolean property.
Attributes
ValueType for the java.util.Date property.
ValueType for the java.util.Date property.
Attributes
ValueType for the Double property.
ValueType for the Double property.
Attributes
ValueType for the dummy property.
ValueType for the dummy property.
Attributes
ValueType wrapper to specified a property name which is used in the error message.
ValueType wrapper to specified a property name which is used in the error message.
val form = trim(mapping(
"name" -> label("User name" , text(required)),
"mail" -> label("Mail address", text(required))
))
Attributes
ValueType for the List property. Parameter name must be "name[index]" or "name[index][subName]".
ValueType for the List property. Parameter name must be "name[index]" or "name[index][subName]".
Attributes
ValueType for the Long property.
ValueType for the Long property.
Attributes
ValueType for the Int property.
ValueType for the Int property.
Attributes
ValueType wrapper for the optional property.
ValueType wrapper for the optional property.
Attributes
ValueType wrapper for the optional mapping property.
ValueType wrapper for the optional mapping property.
Attributes
ValueType wrapper for the optional property which is available if checkbox is checked.
ValueType wrapper for the optional property which is available if checkbox is checked.
Attributes
ValueType wrapper for the optional property which is required if condition is true.
ValueType wrapper for the optional property which is required if condition is true.
Attributes
ValueType wrapper for the optional property which is required if checkbox is checked.
ValueType wrapper for the optional property which is required if checkbox is checked.
Attributes
ValueType for the String property.
ValueType for the String property.
Attributes
ValueType wrapper to trim a parameter.
ValueType wrapper to trim a parameter.
val form = mapping(
"name" -> trim(text(required)),
"mail" -> trim(text(required))
)