Configuration
<properties>
The element “properties” can contain the following child elements.
Element | Description | Namespace | Number |
---|---|---|---|
property | Parent element for defining the configurations | http://onion.net/modulesystem/widgetcomponent | 1..* |
<w:properties xmlns:w="http://onion.net/modulesystem/widgetcomponent" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:onion="http://onionworks.net/2004/data">
<w:property name="headline" dataType="xs:string" mode="Server" localizable="true" defaultValue="headline" type="user" />
</w:properties>Example-XML properties
<property>
The “property” element can contain the following attributes:
Attribute | Description | Optional |
---|---|---|
name | Indicates the name of the feature. | No |
dataType | Indicates the XMLSchema data type of the feature. | Yes |
mode | Indicates whether the feature is available in the client component, in the server component or in both modes. The following values are available for this:
| No |
localizable | Indicates whether the feature is localizable. | Yes |
defaultValue | Indicates the default value of the feature. | Yes |
type | Indicates the type of the feature. Features can be user-related or system-related. The following values are for definition:
| Yes |
<w:property name="headline" dataType="xs:string" mode="Server" localizable="true" defaultValue="headline" type="user" />