myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luka Surija <luka.sur...@iytim.hr>
Subject Re: Wierd bug!?
Date Fri, 14 Nov 2008 15:43:27 GMT
Also with trinidad 1.2.x no luck.

I'll try with JSF 1.2_09. But still this is a pretty ugly bug.

tnx,

Luka Surija

+385 1 61 99 140
+385 98 434 061
luka@iytim.hr

I.Y. tim d.o.o.
Vrbik 3, HR-10000 Zagreb
www.iytim.hr
info@iytim.hr



Scott O'Bryan wrote:
> Luka, if you are using JSF 1.2, you need to be on the Trinidad 1.2.x 
> branch.  Also, I would use as late a JSF as you can.  Perhaps 1.2_09.
>
> Scott
>
> Luka Surija wrote:
>> 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?
>>
>
>

Mime
View raw message