title: I am getting an error "Uncaught Reference Error: jsf is not defined at HTMLAnchorElement.onclick"
body: <p>I am using JSF2.2 with RichFaces4.5. I have an xhtml page with a custom defined jsf tag for pdf pop up. But when I click on the pdf link in the page, I am getting the error:</p>
  
  <blockquote>
    <p>Uncaught Reference Error: jsf is not defined at HTMLAnchorElement.onclick</p>
  </blockquote>
  
  <p>in the browser JavaScript console.</p>
  
  <p>I saw few questions which have been already posted related to this issue and the answers provided were to include head or body tags in the xhtml page. I tried those but still I am getting the same error.</p>