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!

disable button based on value of column in table

user6003393Jun 21 2017 — edited Jun 21 2017

I am using ADF 11.1.2.4.0.

I would like to disable a button based on the value of a column in a table.

AuthorCn is the column on the table to which I created an attribute binding.

The disable property on the button is set as follows:

    disabled="#{bindings.AuthorCn == 'Yes'}

I have also set the triggers property of the button to the id of the table.

When the value of the column is "Yes", the button should be disabled;  otherwise, it should be enabled.

This is not working.  The button is not disabled, regardless of the value of the column in the current row of the table.

Any ideas?

Thanks in advance

This post has been answered by Timo Hahn on Jun 21 2017
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 19 2017
Added on Jun 21 2017
4 comments
1,154 views