title: Passing string parameter to a function or method from xhtml
body: <p>I have a button that I'd like to render based on whether a function returns true or false. </p>
  
  <p><strong>The HTML:</strong></p>
  
  <pre><code>&lt;p:commandButton type="button" rendered="#{myBean.checkPermission(1)}" value="Create"  /&gt;
  </code></pre>
  
  <p><strong>And the supporting bean:</strong></p>
  
  <pre><code>public boolean checkPermission(String actionKey) {
  ...
  }
  </code></pre>
  
  <p>The problem is that when I call checkPermission with a numeric parameter like </p>
  
  <p><code>#{myBean.checkPermission(1)}</code>, </p>
  
  <p>it works fine, but with I pass a String as a parameter, i.e. </p>
  
  <p><code>#{myBean.checkPermission(ABC)}</code></p>
  
  <p>, I get an empty string passed. Any idea why?</p>