You are welcome, Philippe. MyFaces is a great community ;-) You can check this page [1], for instance. We do not have information like the one you need in the wiki now. Feel free to add it if you have some time to spare. Thanks!
Regards, Bruno [1] http://developers.sun.com/prodtech/javatools/jscreator/reference/docs/help/jsp-jsfel/jsf_expression_language_intro.html On 2/15/06, Philippe Lamote <[EMAIL PROTECTED]> wrote: > Wow, the speed at which you get reaction here is phenomenal. > Thanks Bruno. > & It worked like a charm this way. > Would you know of a place where rules like this one are shown? > (useful material - not pages of specs but a fistful short statements > + an example, ideally - to get on speed quickly) Is there a section > on the MyFaces site for this? > > Philippe > > On 15 Feb 2006, at 18:04, Bruno Aranda wrote: > > Yes, your syntax is wrong, as you are putting values outside the > expression. You should use it like this: > > <t:div rendered = "#{bean.property eq 'aValue'}" > > > HTH, > > Bruno > > On 2/15/06, Philippe Lamote <[EMAIL PROTECTED]> wrote: > > Hi List, > > > > Does anyone know how to make this work: > > (in a jsf page) > > > > <t:div rendered = "#{bean.property}==aValue" > > > ... > > </t:div> > > > > More concrete: > > I have a portal bean, "portalbean", that keeps the current use case. > > ("useCase" being a String property of portalbean) > > Depending on this value, I would like to show or hide stuff on a > > page, using div like e.g. > > <t:div rendered="#{portalbean.useCase}==defineNew"> > > The Stack trace gives me a java.lang.String error. > > Is this impossible, or is my syntax wrong? > > > > Philippe > > > >

