Hi,
last 2 days I'm going crazy because something changed in JSF
constellation and now I have a problem that I can't locate. The
following scenario:
Environment:
Glassfish (JSF RI 1.2_04-b18-p03)
Trinidad (1.0.5 -> 1.0.11-SNAPSHOT)
Facelets (1.1.12 -> 1.1.14)
<tr:commandButton text="Display" >
<tr:setActionListener from="#{true}" to="#{MyBean.display}" />
</tr:commandButton>
<tr:panelHorizontalLayout rendered="{MyBean.display}">
<tr:outputText value="Test : #{MyBean.npeValue}" />
</tr:panelHorizontalLayout>
MyBean is session scope,
MyBean.display property default value is false;
MyBean.npeValue returns some value, it shouldn't be called if display!=true
So, what's happening here? Components inside PanelHorizontalLayout are
always evaluated (I thing is only decode called) regardless rendered
value, but they are actually displayed only if rendered is true. This is
started to happening lately.
Any ideas?
--
Luka Surija
+385 1 61 99 140
+385 98 434 061
[EMAIL PROTECTED]
I.Y. tim d.o.o.
Vrbik 3, HR-10000 Zagreb
www.iytim.hr
[EMAIL PROTECTED]