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)
.
Name | Java Storage Class | Displayed As | Form Input |
---|---|---|---|
String | java.lang.String | single-line string | input type text |
Boolean | java.lang.Boolean | read-only checkbox | checkbox |
Short | java.lang.Short | number | input type text with numeric restriction |
Integer | java.lang.Integer | number | input type text with numeric restriction |
Long | java.lang.Long | number | input type text with numeric restriction |
Double | java.lang.Double | number | input type text with numeric restriction |
Date | java.util.Date | date without time | date picker |
DateLong | java.util.Date | date with time | datetime picker |
byte[] | byte[] | string | not supported |
StringLong | java.lang.String | html text | rich text editor |
StringMultiLine | java.lang.String | multi-line string | textarea |
StringLink | java.lang.String | clickable link | input type text |
StringPass | java.lang.String | Displayed as a Password | input type password |
StringFile DEPRECATED | java.lang.String | Displayed as a File | file upload button |