3.10.2 Bean Scripting Scopes
A bean has its own scripting scope, similar to a report's scope, and all elements within the bean fall within the bean's scope. Therefore, if you place a script on an element within a bean, when the script encounters a symbol (variable, property), the server checks for the reference in the following sequence:
1. Search element scope (i.e., properties defined by the element to which the script is attached).
2. Search the bean “report” scope (i.e., properties defined by the onInit Handler and onLoad Handler of the bean containing the element).
3. Search the bean “element” scope (i.e., properties defined by element-level script attached to the bean element within the parent report).
4. Search parent report scope.
5. Search global scope.

| << 3.10.1 Bean Handlers | © 1996-2013 InetSoft Technology Corporation (v11.4) | Accessing Report Elements of Same Name >> |