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!

Bug on "rendered"

753236Apr 13 2010 — edited Apr 13 2010
Hi all,

I had the following case which shows the bug on "rendered"

TEST 1:

<af:inputText value="#{'Y' eq bindings.v1Return.inputValue}" id="it5">
<af:inputText value="#{'Y' eq bindings.v2Return.inputValue}" id="it6">

The screen output :
true
false

TEST 2:

<af:inputText value="#{'Y' eq bindings.v1Return.inputValue}" id="it5" rendered="#{'Y' eq bindings.v1Return.inputValue}" >
<af:inputText value="#{'Y' eq bindings.v2Return.inputValue}" id="it6" rendered="#{'Y' eq bindings.v2Return.inputValue}" >


The screen output :
true



TEST 3:

<af:panelGroupLayout id="pgl7" rendered="#{'Y' eq bindings.v2Return.inputValue}">
.....// some af:outputText here
</af:panelGroupLayout >

The screen shows correctly except that this panelGroupLayout(with all children) is hidden


TEST 4 (Bug):

<af:panelGroupLayout id="pgl7" rendered="#{'Y' eq bindings.v1Return.inputValue}">
.....// some af:outputText here
</af:panelGroupLayout >

Loading error... The page does not show up.


TEST 5:

<af:panelGroupLayout id="pgl7" rendered="#{'Y' eq 'Y'}">
.....// some af:outputText here
</af:panelGroupLayout >

Everything shows correctly in the screen

=============================

I need to use the EL expression to control this panelGroupLayout rendered or not using v1Return and v2Return. They are the return values by invokeAction.

However, it seems that there is a bug here...
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 11 2010
Added on Apr 13 2010
4 comments
845 views