1 Reply Latest reply on Sep 25, 2008 4:50 AM by Ilya Shaikovsky

    Rich MenuItem Rendered Condition

    Deepthi M Newbie


      I have a problem while rendering condition.

      <h:outputText value="="#{testBean.testStatusId== 3 && testBean.testName=='Success'}" />
      <rich:menuItem submitMode="ajax" value="GOTO" action="#{testHandler.initTestCase}" rendered="#{testBean.testStatusId== 3 && testBean.testName=='Success'}" immediate="true"/>

      The statusID is returning 3 and i can see the rendered value returning true but the action method is not calling at all.
      And if I put rendered="#{testBean.testStatusId!= 3 && testBean.testName=='Success'}" the condition != it is calling the action method.

      Can anyone suggest me why on equal to condition the method is not called.