I need to set a theme according to a report parameter value (language). I have a JS file that checks the content of the parameter and sets my other theme (defined in the rptlibrary as usual), whenever the language of the report is english. The call:
ThemeHandle th = ((LibraryHandle)lib).findTheme("libname.mytheme");
I also tried:
This theme switch appears to be working in the Designer but fails to find the theme at runtime. Strangely, it works in our old BIRT 3.7.2 application but not with BIRT 4.8.0
Can anyone help me with that? Thanks a million in advance!!! I've been stuck with that for a week.
Note: My design files are in another folder than the library. But it is exactly like with 3.7.2