Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

 

Provided property value types

 

TypeDescription
stringPlain String property
tagstringString property that can contain tags (e.g. 'Hello %%name%%') or i18n keys (i18n:com.mycompany.mykey).
Will be pre-processed before being provided to web component
colorString color value (e.g. #FFFFFF)
point

Point representation

Example
{
	x: 10, 
	y: 20
}
dimension

Dimension representation

Example
{
	width: 100, 
	height: 20
}
insets 
fontCSS Font String
borderCSS Border String
booleanBoolean 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'
	]
}
doubleA floating point number
floatA floating point number
intAn integer number
longA number, size is twice an integer
shortA number, 16 bit
byteA number, 8 bit unsigned
dataprovider

Reference to Servoy dataprovider, either a record or scope variable. Can be a complex object for supporting onDataChange

Example
{ 
	type:'dataprovider', 
	ondatachange: { 
		onchange: 'onDataChangeMethodID', 
		callback: 'onDataChangeCallback'
	}
}
valuelistReference to Servoy ValueList
formURL 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'
}
relationReference to Servoy Relation
mediaReference to Servoy Media entry
dateDate value
scrollbars..
tabSeq..

 

Property value type modifiers:

ModifierDescription
scopewith 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}]
defaultDefault value specification

 

See also:

  • No labels