Component NOTIFICATION

Attribute summary

Typically used attributes

All attributes are

Positioning

Used inside: BEANPROCESSING, PANE

Attribute details

actionListener

Binding to server side method that processes the events coming from this component.

The attribute value must be an expression.

#{methodBinding}Method binding

adapterbinding

Special binding to component adapter object instance on server side. The component adapter must be an instance of IComponentAdapterBinding. For some components (e.g. FIXGRID) there is an extended interface (e.g. IFIXGRIDComponentAdapterBinding).

The attribute value must be an expression.

#{tobedefined}Binding to IComponentAdapter instance

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.

The attribute value must not be changed once the component is created.

badgeimage

Image that is used to represent the notification when there is not enough space to display the notification itself.

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

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

onlysendifhidden

The notification is only sent if the browser is hidden.

falseThe notification is always sent (default)
trueThe notifcation is only sent if the browser is hidden.

reference

Reference to an outside object that is the content behind the component. E.g. a field is representing a certain field of a database table: in this case you could define the value table;column. The reference plays a siginficant role within the attributemacro management.

The attribute value must not be changed once the component is created.

refOne reference
ref1;ref2Two references
ref1;ref2;ref3Three references

rendered

Flag that indicated if this component is rendered at all. If set to false then the component is not rendered - there is no component data sent to the client.

The attribute value must be an expression.

trueComponent is rendered (default)
falseComponent is not rendered

requireinteraction

By default a notification message disappears after some duration of time. If setting this attribute to true then the message is only cleared after some user interaction.

falseMessage automatically disappears (default)
trueUser must click/touch onto message

text

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

title

The title of the dialog.

trigger

Trigger value: if the value changes then the component's activity is executed on client side. Use class Trigger on server side for implementations of this property.

The attribute value must be an expression.