I would like to invoke it on server-side. Maybe your point is helpful also for this situation, I'm not sure now.
Clarification: source of invocation should be an event on server-side.
if so, look at a4j:push
thank you for you response, you are doing great job, but i do not want to use a4j:push. It is not satisfy the requirement "use internal timer" in example. For more clarification:
I have TimerTask in Java code. And this TimerTaks has to invoke the ajax rerender request on server side.
One more thing: i don't really sure how a4j:push works. I have seen a lot of questions on it, but no good example. So maybe connection a4j:push with something inside - for example required TimerTask would be fine. But I don;t know.
Thx anyway B.
1.) I wanna have a good example for a4j:push, too. :-)
2.) @bardolf: It is not possible to do that what you want. This depends not on Richfaces components, JSF but on the whole web architecture itself. The server is not allowed to send responses to a client without request. a4j:push could be the best alternative to simulate such behavior (if one knows how to use it).
Yes, you are right! So easy explanation and that's right. I cannot response, if I wasn't asked. I think is has something to do with a4j:push, but explanation, that the a4j:push is little bit different to a4j:poll, as described in manual, is not enough for me. But thank you, I will focus this direction.