title: Primefaces extensions documentViewer show download status
body: <p>I use the primefaces extensions documentViewer to show pdfs. The files are streamed, this means the backing bean provides an instance of <code>org.primefaces.model.DefaultStreamedContent</code>. If a big pdf is shown, it took some time until the viewer is showing something. In the showcase of the PF extensions website, the <code>documentViewer</code> shows a loading bar under the viewers button bar. Unfortunately this is not shown in my case. In the showcase there is no <code>DefaultStreamContent</code> used. It is url to file. Maybe I have to set the total size for the streamed content? Is that possible with <code>DefaultStreamedContent</code>?</p>