Often the most important part of the news is what they didn't tell.
Tim Holloway wrote:I do not recommend using actionListeners. They have a purpose, but it is so specialized that I cannot recall a single webapp I've ever done in JSF that required one. An action method is POJO, and thus less platform-specific.
Besides, when using RichFaces 4, the a4j tags are supplanted by JSF2 f:ajax tags, and the f:ajax listener is a completely different construct than an actionListener, and sends a completely different parameter. So avoid confusion.
The reason why your updated data isn't being seen is because you didn't tell the View to refresh its data after the ajax process. Use the reRender a4j:commandButton attribute to indicate what elements of the View should be re-rendered (updated) after the ajax call is done.
Often the most important part of the news is what they didn't tell.
Often the most important part of the news is what they didn't tell.
The human mind is a dangerous plaything. This tiny ad is pretty safe:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
|