Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Update UI on JSF 2

Tags:

jsf-2

Is there a way to update UI elements asynchronously in JSF 2? For example a person is looking on the screen and some pieces on the screen get updated, when say a batch job changes some value.

like image 341
Spenser Avatar asked Nov 20 '25 09:11

Spenser


1 Answers

There are a couple of solutions. One is e.g. a4j:push, which is further described here.

IceFaces is also known for this. Note that some of the components essentially do polling via AJAX, while others actually use reverse ajax/comet.

like image 156
Arjan Tijms Avatar answered Nov 22 '25 22:11

Arjan Tijms