title: How to include HTML content programmatically?
body: <p>I have a method at Spring controller which returns HTML code. How can I inlude this HTML code in DetailsDialog? By the way this method returns HTML codes as <code>Byte Array</code>.</p>
  
  <pre><code>&lt;p:dialog id="DetailsDialog" header="Details" widgetVar="DetailsDialogWid"&gt;
      &lt;!--HTML PAGE--&gt;
  &lt;/p:dialog&gt;
  </code></pre>