Component COMBOBOXITEM

Overview

The COMBOBOXITEM is a value item inside a COMBOBOX component. Only use this COMBOBOXITEM component if you really want to define the items of the COMBOBOX within the layout definition. Otherwise ("by default") use the attribute COMBOBOX-VALIDVALUESBINDING to link to server side list of available items.

Attribute summary

Typically used attributes

All attributes are

General attributes are

Positioning

Used inside: COMBOBOX

Attribute details

attributemacro

Name of macro that is used for generating certain attributes of this component. Please pay attention: the value of this attribute is read one time for each control and cannot be changed afterwards.

comment

Comment that can be asigned to any component. The comment is not operationally used.

Any textAny text

configinfo

Configuration information that is attached to this component. This information is not functionally used by CaptainCasa, but may be used for any application specific purpose.

image

Reference to image within your web application. The image is defined in an absolute way (e.g. /images/abc.png) - the root directory for absolute addressing is the directory of the web application.

/images/abc.pngImage /images/abc.png
/images/svg/def.svgImage /images/svg/def.svg

stylevariant

In CaptainCasa you can define styles definitions for components. A style definition is a definition of a set of default attribute values that are applied to the component. In case you want to differenciate between different usage types of the component you can apply multiple styles - and use the stylevariant attribute to select between.

text

Text that is shown and (dependent from the component type) edited inside the component. The terminator is a decimal byte value.

value

Data value that is shown and (dependent from the component type) edited inside the component.

valuecomment

Text comment about the value.