This content has been marked as final.
Show 3 replies
-
1. Re: paint2d refresh in IE
ilya_shaikovsky May 19, 2010 8:25 AM (in response to iimirela)1 of 1 people found this helpfuladd f:param with timestamp as done there http://livedemo.exadel.com/richfaces-demo/richfaces/fileUpload.jsf . It's just browser caching.
-
2. Re: paint2d refresh in IE
iimirela May 19, 2010 9:09 AM (in response to ilya_shaikovsky)I added timestamp, like this:
<rich:paint2D id="captcha" width="75" height="25" cacheable="false" data="#{PaintData}" format="gif" paint="#{Bean.paint}"> <f:param value="#{Bean.timeStamp}" name="time"/> </rich:paint2D>
but nothing happens. The getTimeStamp() method doesn't even get called (independently of the browser I use).
-
3. Re: paint2d refresh in IE
iimirela May 20, 2010 3:50 AM (in response to ilya_shaikovsky)Hello,
I decided to use a4j:mediaOutput instead of paint2D:
<a4j:mediaOutput element="img" createContent="#{Bean.paintMediaOutput}" style="width:75px; height:25px;" cacheable="false" value="#{PaintData}"> <f:param value="#{Bean.timeStamp}" name="time"/> </a4j:mediaOutput>
and it works.
Could it be that f:param and paint2d don't go along so well?
Anyway, this works, in case anyone is interested.
Thanks Ilya.