Component JRVIEWER

Attribute summary

Typically used attributes

All attributes are

Attribute details

adapterbinding

Special binding to componet adapter object instance on server side.

#{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.

colspan

Spanning of columns if used inside a COLSYNCHEDROW.

1Control spans one column (default)
22 columns
33 columns

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.

height

Height of the control. Either defined as absolute value or as percentage value. Pay attention when using percentage sizing: the size refers to what is given from the components above. - When using components within a grid (FIXGRID) then the sizing of the component is completely managed by the grid, you do not need to specify any height in this case.

100100 Pixels
120120 Pixels
200200 Pixels
50%50 percents
100%Full available height

jasperxml

The XML output of a jasper report. This is NOT the xml of the JRXML file, this is the result XML!

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.

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.

trueComponent is rendered (default)
falseComponent is not rendered

saveformatfilter

Output formats that are supported when the user save the report. By default all output formats are supported, you can restrict by listing the ouput formats as semicolon separated string.

 All output formats supported (default)
csvcsv
docxdocx
htmlhtml
odtodt
jrprintjrprint
pdfpdf
rtfrtf
xlsxls
xmlxml
csv;pdf;xlscsv, pdf, xls

stylevariant

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.

width

Width of the control. Either defined as absolute value or as percentage value. Pay attention when using percentage sizing: the size refers to what is given from the components above. - When using components within a grid (FIXGRID) then the sizing of the component is completely managed by the grid, you do not need to specify any width in this case.

100100 Pixels
120120 Pixels
200200 Pixels
50%50 percents
100%Full available width

x

y