Accessing Bean Properties from Parent Report
From within the parent report scope, you can modify the properties of elements located in a bean by using the 'elements' property of the bean.
For example, consider a report that contains a bean called “Bean1,” which in turn contains a text element called “Text1” and a table element called “Table1.” To access the properties of these bean elements from with parent report script, using the following syntax.
Bean1.elements.Text1.text= 'hello';
Bean1.elements.Table1.table[0][0] = 'Order ID';
See Also
Server-Side Features, for an example of reusing bean script across reports.
Accessing Element Properties, for the general scope hierarchy within a report.
| << Dynamically Modifying the Parent Report | © 1996-2013 InetSoft Technology Corporation (v11.4) | 3.10.3 Report Bean Example >> |