on-internet
← Community

Using a4j:support to update the model and view, ready for the next button/submit action

Stack Overflow ·

The Problem We have a swing based front end for an enterprise application and now are implementing a (for now simpler) JSF/Seam/Richfaces front end for it. Some of the pages include fields that, when edited, should cause other fields to change as a result. We need this change to be shown to the user immediately (i.e. they should not have to press a button or anything). I have implemented this successfully using h:commandButton and by adding onchange="submit()" to the fields that cause other fields to change. That way, a form submit occurs when they edit the field, and the other fields are upda

Comments

Sign in or sign up to comment and upvote.

No comments yet.