Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Updating the model via AJAX

843842Apr 4 2006 — edited Feb 23 2007
Victor,

I find Tor's and Greg M's bpcatalog documents describing AJAX and JSF useful. However they do not address 'updates'.

Updating the model via an AJAX request that is handled by the JSF framework as suggested by bccatalog examples is a challenge.

I am not sure if it is best to use the "Update Model" phase of the life cycle or just cheat and put he update code in the tags render response phase. Also, it appears that the "update model Phase" may not be included in the lifecycle as the ajax request is not really a JSF "postback".

Does anyone know what tradeoff result in doing an update in the Render Response Phase?

Cheers,
Godfrey
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 23 2007
Added on Apr 4 2006
10 comments
259 views