Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Check / Uncheck checkbox using Groovy or EL

RajuChetriApr 30 2017 — edited May 2 2017

Hi All,

I am using jDeveloper 12.2.1.0.

My Application is based on Entity Objects and Entity Based View Objects. In one of the table there is a column called type: having 2 values complete and target. This is selectOneChoice component in page. On selection I need to check or uncheck the checkboxes based on the value of selectOneChoice. How to achieve this.

I am able to disable the checkboxes using the Expression

disabled="#{viewScope.IR_ReferenceViewBean.TypeLovBind.value eq 'C' ? true : false}" partialTriggers="soc1"

But when I am giving the same expression for Value of checkbox then upon target selection checkbox coming as single line like this.

pastedImage_0.png

If its complete its coming like this.

pastedImage_1.png

How to fix this issue. Am I missing anything.

This post has been answered by Timo Hahn on Apr 30 2017
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 29 2017
Added on Apr 30 2017
9 comments
1,131 views