http://wiki.apache.org/myfaces/ provides things like this, and allows
you to add new material as well.   You could start a "new-user tips"
page if you wanted.

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
> >
>
>

Reply via email to