I have a list of packages each containing a table to be part of a report template.
I have scripts for each table and they work when I set the scope to the specific "table package" when generating the report.
See attachment
When I generate the report, I want the parent package as the scope and to access to the specific "table package" in my script.
I tried:
#foreach($p in $Package)
#if($p.name == "Table 1")
#foreach($c in $Class)
$c.name
#end
#end
#end
I get all of the class elements in all of the Tables. I only want to work on a specific package. any ideas?
Thanks