Component CALLSERVERONINACTIVITY

Overview

This component calls the corresponding action listener if there is NO user activity for a certain duration of time.

The following user activities are relevant:
1. Mouse clicks
2. Keyboard clicks

(Mouse movements are not regards as user activity.)

Attribute summary

Typically used attributes

All attributes are

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 componet adapter object instance on server side.

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.

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.

duration

Duration in milliseconds after which a request to the client is triggered. In case of TIMER components this is the actual polling duration (every xxx milliseconds), in case of LONGPOLLING components this is the duration after which the new polling request is sent to the server (in order to avoid, that there are too many requests).

0Deactivated
10001000 milliseconds
20002000 milliseconds

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