In one of the previous post I show an example of how a4j-push and a4j-poll were used together. It help to solve several things and optimize code/requests a bit. But in reality it was not “real” push – it just…
In one of the previous post I show an example of how a4j-push and a4j-poll were used together. It help to solve several things and optimize code/requests a bit. But in reality it was not “real” push – it just…
It happens that you want something to be re-rendered only if ajax-request is executed without errors. Or in other words – you want to be lazy if it possible and not perform “reRender” if you could. Just like that funny…
Task: Update the content of the page if the content is changed on server-side, in other words – show the most-fleshiest content to the user. The most simple solution that comes to mind is to use <a4j:poll/> component which will periodically…
It’s quite generic problem – to disable automatic form submit on ENTER, to avoid occasional submits which could lead either to page refresh or even to redirecting to another page. The general idea is to define onkeypressed event handler for…
Sometimes you need to start really time-consuming task on the server, but doing that with simple h:commandAction which will re-render page after it is done is not a good idea. Showing a4j:status (which could be blocking – see “avoid concurrent…
Practical advices to minimize the ability of famous “Concurrent call to conversation error – 503”
It gives the solution of howto eliminate double-clicks and other actions of user during the request processing time
Tuning of aj4:commandLink to avoid concurrent call to conversation