title: Problem passing boolean value from rich:ComponentControl in order to render rich:menuItems
body: <p>We have the following rich:ComponentControl:</p>
  
  <pre><code>&lt;rich:componentControl event="onRowClick" for="ctxMenu" operation="show"&gt;
  &lt;f:param value="#{item.hasDocuments}" name="hasDocuments" /&gt;
  &lt;/rich:componentControl&gt;
  </code></pre>
  
  <p>The value of #{item.hasDocuments} is being successfully passed from the bean as either true or false.</p>
  
  <p>Here's the contextMenu which is supposed to conditionally show the item:</p>
  
  <pre><code>&lt;rich:contextMenu id="ctxMenu" submitMode="ajax" attached="false"&gt;
  &lt;rich:menuItem ajaxSingle="true" value="View Documents oncomplete="#{rich:component('documentsMenu')}.doShow(event, {})" reRender="documentsMenu" rendered="#{hasDocuments}"&gt;
  &lt;a4j:actionparam name="selectedApplicationId" value="#{applicationId}" assignTo="#{activeAppsForm.applicationId}" /&gt;
  &lt;/rich:menuItem&gt;
  &lt;/rich:contextMenu&gt;
  </code></pre>
  
  <p>The problem is that it's always hiding the link, even when {hasDocuments} is true.
  My guess is that the value for {hasDocuments} is being treated as string instead of boolean, and therefore rendered will always be false. </p>
  
  <p>Any ideas on how to remedy this problem?</p>