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!

adf jsf: disabled property works on table row selection but not rendered

rade.todorovichFeb 5 2014 — edited Feb 5 2014

I am using JDeveloper 12.1.2

Page has 3 components:

- table

- button

- outputFormatted text component

When user selects certain row, button is enabled/disabled based on the backing bean logic. It works fine:

<af:button text="Go to Reports!" id="b1" action="#{backingBeanScope.Studybrowse.b1_action}"

               disabled="#{!backingBeanScope.Studybrowse.userAuthStdNotExp}"

               partialTriggers="t1"/>  

However when I apply the very same boolean to the rendered property of outputFormatted, it stays not visible (not rendered)

<af:outputFormatted value="You are not authorized or study expired" id="of1"

                              rendered="#{!backingBeanScope.Studybrowse.userAuthStdNotExp}"                                

                              inlineStyle="color:Red;" partialTriggers="t1"/>

Anyone knows why?

This post has been answered by rade.todorovich on Feb 5 2014
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 5 2014
Added on Feb 5 2014
1 comment
178 views