PRIMEFACES - How to refresh a <p:graphicImage> from clicking a <p:commandButton>?

≯℡__Kan透↙ 提交于 2019-12-03 13:56:39

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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!