I am using BIRT 4.3 in my Java application.
I am passing report parameters from a Java class to BIRT, and then I am displaying those parameters in the final(output) report.
If a value I am passing is null
, then I want to pass blank string ""
as report parameter like this
map.put("NAME", salesLocBean.getName() == null ? "" : salesLocBean.getName().toUpperCase());
But BIRT does not seem to like that, some times it complaints that X parameter is blank and sometimes it runs fine but screws up the UI.
I have tried passing string with spaces like this '" "' but BIRT treats them as blank strings.
So how can I pass blank String ""
as report parameter to BIRT.