This content has been marked as final.
Show 4 replies
-
1. Re: a4j:mediaOutput displays old picture the second time
nbelaevski Oct 28, 2008 3:44 AM (in response to larry3k)Hello,
Try to use:<a4j:mediaOutput cacheable="false">
-
2. Re: a4j:mediaOutput displays old picture the second time
larry3k Oct 28, 2008 7:28 AM (in response to larry3k)Hi
I've tried with cacheable="false" but it still doesn't work. I'm working with reRender right now and if I refresh the page the actual image is displayed.
I want to avoid refreshing the whole page because then it jumps to the beginning of the page.
Thanks -
3. Re: a4j:mediaOutput displays old picture the second time
ilya_shaikovsky Oct 28, 2008 8:28 AM (in response to larry3k)chacheable="false" allows you to turn off server caching but browser tries to show old picture anyway if the value of mediaoutput is the same between requests.
check demosite sample. There we've solved this problem already using f:param inside media output which value always different. -
4. Re: a4j:mediaOutput displays old picture the second time
larry3k Oct 28, 2008 12:20 PM (in response to larry3k)ok ... thanks :)