Typically used attributes
All attributes are
General attributes are
Used inside: BEANPROCESSING
Binding to server side method that processes the events coming from this component.
#{methodBinding} | Method binding |
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.
Filter for commands that are executed on client level as part of the client message management. The actionListener is invoked if a command matches the commandfilter. The messages (each message assocaited with a command) are thrown either by the server side application or are generated on client side, by using the MessageBus* framework.
eclntNoActivity5 | 5 seconds of no-user-activity |
eclntNoActivity10 | 10 seconds of no-user-activity |
anyApplicationCommand | Any application command from server side. |
Comment that can be asigned to any component. The comment is not operationally used.
Any text | Any text |
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.
Delay in ms which the client waits with exeucting the activity after being triggered by the response.
0 | Imediately (default) |
1000 | 1000ms (1 second) |
2000 | 2000ms (1 second) |
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.
ref | One reference |
ref1;ref2 | Two references |
ref1;ref2;ref3 | Three references |
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.
true | Component is rendered (default) |
false | Component is not rendered |
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.