Lakshmi Karancheti wrote:what is use is RichFaces4, in which rerender is deprecated
Hence my qualification for RichFaces 3.
The Richfaces 4 docs are horrible and often obscured by the RichFaces 3 docs, but I dug around just to confirm the finer points of this tag. Digressing for a moment to pedantry (again), "reRender" isn't merely "deprecated" in RF4, it's entirely replaced.
In
Java terms, "deprecated" means that you'll get warnings, but the deprecated function will still work, providing a smoother migration path and reducing the likelihood that an emergency "1-line fix" won't require a major rewrite on a critical production system in a panic. The lack of true deprecation in RF 4 is what's keeping some major projects of mine mired in RF3, since the last time I saw breakage of this magnitude was when VB6 turned into VB.Net.
Everything in your example looks fine to me. I would confirm (via breakpoint) that the action method is, in fact, being invoked, and I'd use a web traffic tracer (such as FireBug) to see what's coming back from it. It's also possible that if you are incorporating jQuery into your Views that whichever version you are invoking is conflicting with the jQuery version that RichFaces itself yanks in.
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.