Put it in a h:panelGroup?
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Matthias Wessendorf
Sent: Thursday, 13 July 2006 2:33 PM
To: MyFaces Discussion
Subject: Re: Should ValueBindings inside rendered="false" be evaluated?
I think that div doesn't care about it's children
dataTable for instance does.
-Matthias
On 7/11/06, Matt Hughes <[EMAIL PROTECTED]> wrote:
> If you have the following code:
>
> <t:div rendered="false">
> <h:outputText value="#{backingBean.someGetterMethod}" />
> </t:div>
>
> Should getSomeGetterMethod() be invoked? My initial thought was if
the
> parent's rendered attribute was false, the value binding expression
> *shouldn't* be evaluated. Using MyFaces 1.1.1 and Facelets 1.10, it
is
> being evaluated.
>
> Ideally if rendered is false, than I don't want all the ValueBinding
> expressions underneath that tag to be evaluated.
>
> Any thoughts?
>
>
>
--
Matthias Wessendorf
further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com
This correspondence is for the named persons only.
It may contain confidential or privileged information or both.
No confidentiality or privilege is waived or lost by any mis transmission.
If you receive this correspondence in error please delete it from your system
immediately and notify the sender.
You must not disclose, copy or relay on any part of this correspondence, if you
are not the intended recipient.
Any opinions expressed in this message are those of the individual sender
except where the sender expressly,
and with the authority, states them to be the opinions of the Department of
Emergency Services, Queensland.