How to use with DefaultStreamedContent in an ui:repeat?

It is not possible to use <p:graphicImage> this way. You should rather iterate over a collection of unique image identifiers, not over a collection of StreamedContent. Those unique image identifiers have then to be passed as a <f:param> to <p:graphicImage> which in turn will generate the right URLs for the browser. <ui:repeat value=”#{data.imageIds}” var=”imageId”> <p:graphicImage … Read more