title: Load content in Primefaces Extensions documentViewer
body: <p>I'm loading StreamedContent into the document viewer like this.</p>
  
  <p><strong>xhtml:</strong></p>
  
  <pre><code>&lt;h:body&gt;
      &lt;h:form&gt;
          &lt;p:commandButton value="Content A" action="#{viewer.selectContentA()}" update="viewerForm" /&gt;
          &lt;p:commandButton value="Content B" action="#{viewer.selectContentB()}" update="viewerForm" /&gt;
      &lt;/h:form&gt;
      &lt;h:form id="viewerForm"&gt;
          &lt;pe:documentViewer value="#{viewer.content}" download="demo.pdf" height="500"/&gt;
      &lt;/h:form&gt;
  &lt;/h:body&gt;
  </code></pre>
  
  <p><strong>Bean:</strong></p>
  
  <pre><code>public void selectContentA() {
      content = contentA;
  }
  public void selectContentB() {
      content = contentB;
  }
  public StreamedContent getContent() {
      return content;
  }
  </code></pre>
  
  <p><strong>Question:</strong>
  Is there any way to change the document in the viewer without update the whole component? </p>