Typically used attributes
All attributes are
General attributes are
Used inside: BEANPROCESSING
If printing without print dialog and if passing the client printer name then by default the print dialog is opened if the client printer name does not fit to the client side printers. If defining true with this attribute then no printer selection dialog will show up but the printing will be aborted. If having defined WITHSERVERPRINTNOTIFICATION as true then a corresponding ERROR-callback will be done to the server side.
false | Printer selection will pop up if client printer name is not correct (default) |
true | Printing will be aborted. |
Binding to server side method that processes the events coming from this component.
#{methodBinding} | Method binding |
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).
#{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.
Name of printer to which the printing is directed.
Name of tray to which the printing is directed.
Default tray (default) | |
top | Top tray |
middle | Middle tray |
bottom | Bottom tray |
... | ...or any other tray name of your local configuration |
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.
Number of copies that are printed. Any integer value.
1 | (default) 1 copy |
2 | 2 copies |
3 | 3 copies |
Paper height in inch for printing.
11.69 | 11.69 inch (default)) |
Width of margin in inch that is arranged around the printed document.
0.1 | 0.1 inch (default)) |
0 | No margin |
Paper width in inch for printing.
8.26 | 8.26 inch (default)) |
Hexadecimal representation of byte stream that represents the PDF to be output.
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.
Trigger value: if the value changes then the component's print function is executed on client side. Use class Trigger on server side for implementations of this property.
Defines if to shop printer selection and configuration popup on client side.
true | Show dialog (default) |
false | No dialog, printing to default printer |
Defines is a notification about the printing is sent to the server. If true, then the action listener will be called.
true | With notification of server on print |
false | Without notification of server on print (default) |