title: How To use Rendering plugin in grails
body: <p>I am using the Rendering plugin for creating PDFs. The plugin is working fine. However, when I click on download as PDF. It redirects me to another page:</p>
  <p><img src="https://i.stack.imgur.com/Mj87k.png" alt="Screenshot of the other page" /></p>
  <p>It gives me a result in PDF format and then it gives me an option for saving as in this image:
  <img src="https://i.stack.imgur.com/bh7NN.png" alt="Screenshot of saving as PDF" /></p>
  <p>But what I want is when I click on the download as PDF button:
  <img src="https://i.stack.imgur.com/xUEas.png" alt="Download button" /></p>
  <p>That it will show me a save window directly rather than redirecting me to another page.</p>
  <p>My code:</p>
  <pre><code>def renderFormPDF(Long id){
          def empinstance= emp.get(id)
          renderPdf(template:&quot;view&quot;, model:[empinstance:empinstance, pdfRendering:true])
          
      }
  </code></pre>