Bug on "rendered"
753236Apr 13 2010 — edited Apr 13 2010Hi 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...