Accessing Report Elements of Same Name
Because the server searches bean scope first, variables and elements in the bean will hide objects of the same name in the containing report. To access such objects in the containing report, use the ParentReport Object. For example, if the bean contains a text element with Element ID of 'Title', and the parent report also contains a text element with Element ID of 'Title', you can access the parent report instance as follows:
parentReport.Title
or
parentReport['Title']
| << 3.10.2 Bean Scripting Scopes | © 1996-2013 InetSoft Technology Corporation (v11.5) | Dynamically Modifying the Parent Report >> |