Typically used attributes
All attributes are
General attributes are
Binding to server side method that processes the events coming from this component.
The attribute value must be an expression.
| #{methodBinding} | Method binding |
Special binding to componet adapter object instance on server side.
The attribute value must be an expression.
| #{tobedefined} | Binding to IComponentAdapter instance |
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.
When a roundtrip is triggered then by default the curren user input is validated. This may lead to some change within the current user input field (e.g. is user just defines a date then the user might not yet have specified a correct date).
| false | Validations are executed (default) |
| true | Validations are not executed |
Baud rate of serial interface.
| 9600 | 9600 bit/s (default) |
| 4800 | 4800 bit/s |
| 2400 | 2400 bit/s |
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.
Data Bits
| 5 | 5 |
| 6 | 6 |
| 7 | 7 |
| 8 | 8 |
Flow control in
| None | None (default) |
| Xon/Xoff Out | Xon/Xoff Out |
| Xon/Xoff In | Xon/Xoff In |
| RTS/CTS In | RTS/CTS In |
| RTS/CTS Out | RTS/CTS Out |
Flow control out
| None | None (default) |
| Xon/Xoff Out | Xon/Xoff Out |
| Xon/Xoff In | Xon/Xoff In |
| RTS/CTS In | RTS/CTS In |
| RTS/CTS Out | RTS/CTS Out |
Parity
| None | None (default) |
| Even | Even |
| Odd | Odd |
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.
| 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.
The attribute value must be an expression.
| true | Component is rendered (default) |
| false | Component is not rendered |
Name of serial port.
| COM1 | COM1 (default) |
| COM2 | COM2 |
| COM3 | COM3 |
| COM4 | COM4 |
If set to true, then the roundtrip that is caused by the component does NOT clear the current statusbar content.
| false | Statusbar content is cleared. (default) |
| true | Statusbar content is kept. |
Stop Bits
| 1 | 1 |
| 1.5 | 1.5 |
| 2 | 2 |