Blog Archives

Conditional re-rendering in JSF (Richfaces)

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

Tagged with: , , , , ,
Posted in Software Development, Tips and Tricks

Richfaces a4j:poll and a4j:push Can Do More Together

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

Tagged with: , , , , , ,
Posted in Software Development, Tips and Tricks

Show dynamic progress of time-consuming process in Seam/RichFaces

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

Tagged with: , , , , , , , , , , ,
Posted in Software Development, Tips and Tricks

Howto avoid concurrent call to conversation problem in Seam

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

Tagged with: , , , , , ,
Posted in Software Development, Tips and Tricks