Skip to main content

Builtin ValueField Types

Builtin value types available to all applications.


<field name="item">
<!-- ... -->
<valueField>
<!-- `name` from the table below -->
<valueFieldType component="" name="StringLong"/>
</valueField>
</field>

The default database column for string fields is varchar(255), except for StringLong and StringMultiLine which use varchar(16384).

NameJava Storage ClassDisplayed AsForm Input
Stringjava.lang.Stringsingle-line stringinput type text
Booleanjava.lang.Booleanread-only checkboxcheckbox
Shortjava.lang.Shortnumberinput type text with numeric restriction
Integerjava.lang.Integernumberinput type text with numeric restriction
Longjava.lang.Longnumberinput type text with numeric restriction
Doublejava.lang.Doublenumberinput type text with numeric restriction
Datejava.util.Datedate without timedate picker
DateLongjava.util.Datedate with timedatetime picker
byte[]byte[]stringnot supported
StringLongjava.lang.Stringhtml textrich text editor
StringMultiLinejava.lang.Stringmulti-line stringtextarea
StringLinkjava.lang.Stringclickable linkinput type text
StringPassjava.lang.StringDisplayed as a Passwordinput type password
StringFile
DEPRECATED
java.lang.StringDisplayed as a Filefile upload button