Skip to main content



      Home
Home » Newcomers » Newcomers » CheckBoxes in BIRT
CheckBoxes in BIRT [message #1801031] Fri, 11 January 2019 06:19 Go to next message
Eclipse UserFriend
Hi All,

I have created a BIRT and have included two images - Checked Box and Unchecked Box for getting a checkbox functionality on BIRT.

For the Checked Box image, under Visibility property, I have selected Hide Element option and provided the below expression:

if (bodyTextArray[10]=="Y")
{
false
}
else
{
true
}

Here, bodyTextArray[10] is actually from an array and holds values of Y or N. So when the value is 'Y', it should send false as per the above condition and unhide the checked box image.

Similarly, I have done this for the unchecked box image and have the below condition as part of it:
if (bodyTextArray[10]=="Y")
{
true
}
else
{
false
}
So, the uncheck box image will come up.

When I am testing this, it is rightly getting the uncheck box image when the bodyTextArray[10] value is 'N'. But is getting the uncheck box image again if the bodyTextArray[10] value is 'Y'. In the case of 'Y', it should get only the checked box image but it is not doing that.

Can someone please help me on this?

Thanks in advance.
Re: CheckBoxes in BIRT [message #1801078 is a reply to message #1801031] Sat, 12 January 2019 01:32 Go to previous message
Eclipse UserFriend
It's likely best to ask here:

https://www.eclipse.org/forums/index.php?t=thread&frm_id=2
Previous Topic:Eclipse SmartHome binding for yahoo wether
Next Topic:Ctrl click to file:// URI with relative path
Goto Forum:
  


Current Time: Mon Jul 07 16:05:25 EDT 2025

Powered by FUDForum. Page generated in 0.11538 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top