Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » CheckBoxes in BIRT
CheckBoxes in BIRT [message #1801031] Fri, 11 January 2019 11:19 Go to next message
Priyank Vw is currently offline Priyank VwFriend
Messages: 1
Registered: January 2019
Junior Member
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 06:32 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
It's likely best to ask here:

https://www.eclipse.org/forums/index.php?t=thread&frm_id=2


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Eclipse SmartHome binding for yahoo wether
Next Topic:Ctrl click to file:// URI with relative path
Goto Forum:
  


Current Time: Wed Apr 24 20:37:38 GMT 2024

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

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

Back to the top