[EMAIL PROTECTED]: pt.te.universal.model.User.isActive".
Isn't that a string being returned? Can you do ! with a string here?
isActive should be boolean.
Adam


On 26/07/06, Rui Pacheco <[EMAIL PROTECTED]> wrote:

No luck.

Has anyone done this before?

On 7/26/06, Shing Hing Man <[EMAIL PROTECTED]> wrote:
>
> Please try :
>
> ognl:!user.active
>
> Shing
>
> --- Rui Pacheco <[EMAIL PROTECTED]> wrote:
>
> > Hi all
> >
> > I am trying to make my ASO available to an @If
> > component on my templates,
> > but I can't get past the following error:
> > "Unable to read OGNL expression '<parsed OGNL
> > expression>' of
> > [EMAIL PROTECTED]:
> > pt.te.universal.model.User.isActive".
> >
> > The ASO is being properly instanciated and I can
> > access it from my
> > component.
> >
> > I'm doing the evaluation on the template this way:
> > <span jwcid="@If" condition="ognl:! user.isActive">
> > <span jwcid="@RedMenu">Red Menu</span>
> > </span>
> >
> > User is my ASO and isActive is a public NON abstract
> > method.
> >
> > How do I negatively test that condition?
> >
> > --
> > Cumprimentos,
> > Rui Pacheco
> >
>
>
> Home page :
>   http://uk.geocities.com/matmsh/index.html
>
>
>
>
>
> ___________________________________________________________
> All new Yahoo! Mail "The new Interface is stunning in its simplicity and
> ease of use." - PC Magazine
> http://uk.docs.yahoo.com/nowyoucan.html
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Cumprimentos,
Rui Pacheco


Reply via email to