0 Replies Latest reply on Jan 29, 2008 5:38 AM by yj4jboss

    Booleans not working with <f:param> on rich component contro

      Hi,
      I am trying to implement a rich contextual menu just like the second example in the rich faces live demo.




      
       <rich:contextMenu attached="false" id="menu" submitMode="ajax">
      
       <rich:menuItem ajaxSingle="true" rendered="{showGroup}">
      
       <a4j:actionparam name="groupName" assignTo="#{myBean.currentGroupName}" value="{groupName}"/>
      
       </rich:menuItem>
      
       </rich:contextMenu>
      
      
      <rich:componentControl event="onmouseover" for="menu" operation="show">
      
       <f:param value="#{group.showGroup}" name="showGroup"/>
      
       <f:param value="#{group.groupName}" name="groupname"/>
      
      </rich:componentControl>
      
      
      




      However, it seems that the boolean showGroup is not treated as a boolean expression in the rendered attribute ?


      How do i work around this ?


      Regards,
      Yogesh