There seems to be a bug with p:graphicimage
when using the update-functionality. Loading one image through value="#{myController.myStreamedContent}"
works, but when changing myController.myStreamedContent
followed by updating p:graphicimage
, the previously loaded image remains unchanged. There is the possibilty to set cache="false"
, but this does not work within my Firefox 45.0. I use PrimeFaces 5.3.
The following sites mention this, too:
- PRIMEFACES - How to refresh a from clicking a ?
- Primefaces : GraphicImage does not refresh
- Why can't I update a p:graphicImage twice after upload a file with p:uploadFile
Are there any alternatives that provide similar or equal functionality to p:graphicimage
? I basically need to be able to show images stored as byte[]
within a MEDIUMBLOB
.