Valter Silva
Valter Silva

Reputation: 16656

How keep updating message with RichFaces 4?

i'm new with RichFaces 4 and JSF 2, i'm working with both together. How do i keep some message updating all time using RichFaces ? E.g: a clock, where the server keep sending a message to the client.

Could someone provide some code where it show how do that ?

Thanks.

Best regards, Valter Henrique.

Upvotes: 1

Views: 374

Answers (2)

Max Katz
Max Katz

Reputation: 1582

You could also use a4j:poll and render the clock component.

Upvotes: 1

akira
akira

Reputation: 1772

Reverse AJAX/comet would be the way. See this question for additional details: Reverse Ajax with JSF?

Upvotes: 2

Related Questions