Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
Designing Analytics Reports
Label Visibility Property in BIRT 4.2.0
Migrateduser
I have a report that contains a label. I also have a report parameter named <em class='bbc'>rep_param1</em>. In the Visibility property of the label, I have checked the <em class='bbc'>Hide Element</em> checkbox, selected the <em class='bbc'>For <span class='bbc_underline'>all</span> outputs</em> radio button, and in the Detail section I have javascript similiar to:<br />
<br />
if (params["rep_param1"].value == 'A' || params["rep_param1"].value == 'B')<br />
{<br />
true;<br />
}<br />
<br />
Why do I get the following error message when I run the report in BIRT 4.2.0 and the value of <em class='bbc'>rep_param1</em> equals 'C'?<br />
<br />
<em class='bbc'>The following visibility expression does not evaluate to a legal boolean value: if (params["rep_param1"].value == 'A' || params["rep_param1"].value == 'B') <br />
{<br />
true;<br />
}</em><br />
<br />
I do not receive this error when I run the same report in BIRT 3.7.0.
Find more posts tagged with
Comments
There are no comments yet