myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerald Müllan" <bierbra...@gmail.com>
Subject Re: rendered attribute not working as expect in components in home page of an webapp
Date Tue, 19 Sep 2006 12:40:28 GMT
Hi,

try it out with doing the "resultCount > -1" in the backend method and
refer only with ftSearchResult.resultCount to it and have a look what
the debugger says;

Maybe other values in the backend don`t have the expected values.

Does it help?

cheers,

Gerald

On 9/19/06, Rogerio Pereira <rogerio.araujo@gmail.com> wrote:
> Hi guys!
>
> I have a component in a first page that is only rendered when an conditional
> EL expression is satiesfied:
>
> <h:outputText value="Save Topic" onclick="showPanel(this, 'newTopicPanel');"
> styleClass="txtpq hand" rendered="#{ ftSearchResult.resultCount > -1}"/>
>
> But when i do the first request on this page in my webapp the component is
> still rendered.
>
> Any ideas? I'm using MyFaces 1.1.1 in  this app.
>
> --
> Yours truly (Atenciosamente),
>
> Rogério (_rogerio_)
> http://faces.eti.br


-- 
http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces

Mime
View raw message