title: Primefaces Data Exporter with Primefaces Editor
body: <p>Is it possible  to export the editor data to pdf using Data exporter of primefaces. </p>
  
  <p>I tried with following code but it didnt worked.</p>
  
  <pre><code> &lt;p:editor value="#{mailBean.mail}" id="editor"&gt;
  
      &lt;/p:editor&gt;
  
      &lt;p:commandLink&gt;
      &lt;p:graphicImage value="/images/pdf.gif" /&gt; 
  &lt;p:dataExporter type="pdf" target="editor" fileName="files" pageOnly="true"/&gt; 
      &lt;/p:commandLink&gt;
  </code></pre>