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 <[EMAIL PROTECTED]> 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