I just searched the forum for a single sample with a4j:mediaOutput and a4j:poll.
Right now I have my mediaOutput displaying my jpeg and it works fine.
But from time to time I need my mediaOutput to be refreshed with no user interaction. So I think a4j:poll should be a way for achieving it.
As much as I got a4j:poll working I couldn't figure out a way to have it call createContent of mediaOutput.
Is there any sample of it available?
just reRender it and it will call the method to refresh the data. (also do not forget about http://community.jboss.org/wiki/AjaxCoreComponents#refreshmediaproblem known issue)
Retrieving data ...