Reputation: 22506
Can I re-render some component when property in the bean is changed. For example if I have ApplicationScoped bean and one of it's properties is List, I wan every time when some user add element in the list, everybody else to see the change, without to submit the form. Something like chat room. When someone add message to the collection, it has to be rendered immediately to the other side.
Upvotes: 0
Views: 1005
Reputation: 519
You should use server-side push. Watch this to know how it can be done with Oracle ADF Faces. And this with ICEfaces push component
Upvotes: 2
Reputation: 41127
You can use either <a4j:push>
or <a4j:poll>
to refresh partial pages on a timer.
Upvotes: 1