Provided property value types
Type | Description |
---|---|
string | Plain string property |
tagstring | String property that can contain %%tags%% or i18n keys. Example Hello %%name%% or Example i18n:com.mycompany.mykey |
color | String color value Example #FFFFFF |
point | Point representation Example { x: 10, y: 20 } |
dimension | Dimension representation Example { width: 100, height: 20 } |
insets | |
font | CSS font string |
border | CSS border string |
boolean | Boolean value, either true or false |
styleclass | String with space separated CSS classnames.Possible values supported by the component can be specified as hint for the developer Example specifying special classnames supported by the component as hint for the developer { type:'styleclass', values:[ 'btn', 'btn-default', 'btn-lg', 'btn-sm', 'btn-xs' ] } |
double | A floating point number |
float | A floating point number |
int | An integer number |
long | A number, size is twice an integer |
short | A number, 16 bit |
byte | A number, 8 bit unsigned |
dataprovider | Reference to a dataprovider, either a record or scope variable. Can be a complex object for supporting onDataChange Example { type:'dataprovider', ondatachange: { onchange: 'onDataChangeMethodID', callback: 'onDataChangeCallback' } } |
valuelist | Reference to a ValueList |
form | URL string pointing to a form (like tab in tabpanel) |
format | Format string. Requires to be specified as object to specify which dataprovider property to map this format property on Example { for: 'dataProviderID', type: 'format' } |
relation | Reference to a Relation |
media | Reference to a Media entry |
date | Date value |
scrollbars | .. |
tabSeq | .. |
Property value type modifiers:
Modifier | Description |
---|---|
scope | with a value "design", it's possible to indicate the property is only mend to be used as designer value i.e not at runtime. |
values | Fixed values, can have real/display values. Example [{"LEFT":2}, {"CENTER":0},{"RIGHT":4}] |
default | Default value specification |
See also: