Check your code.
<tr:panelHorizontalLayout rendered="{MyBean.display}">

"{MyBean.display}" isn't an EL expression. You are missing the #
it should be "#{MyBean.display}"

On Fri, Nov 14, 2008 at 7:43 AM, Luka Surija <[EMAIL PROTECTED]> wrote:
> 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
> [EMAIL PROTECTED]
>
> I.Y. tim d.o.o.
> Vrbik 3, HR-10000 Zagreb
> www.iytim.hr
> [EMAIL PROTECTED]
>
>
>
> 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?
>>>
>>
>>
>

Reply via email to