PRIMEFACES - How to refresh a <p:graphicImage> from clicking a <p:commandButton>?
By default the graphicImage
caches the image.
Set the cache
attribute to false
on your p:graphicImage
Something like this:<p:graphicImage value="#{dynamicImageController.graphicText}" cache="false" />
Ok update: the problem is a bug of primefaces I discussed here the problems:
http://forum.primefaces.org/viewtopic.php?f=3&t=35637&p=113830#p113830