Dev Posts JavaScript Tutorials AJAX
 Developer Newsletter

Auto-save JSF forms with Ajax: Part 3
In the first article of this series, author and Java developer Andrei
Cioroianu showed how to submit the user input of a Web form with Asynchronous
JavaScript + XML (Ajax) and how to handle the Ajax requests with JavaServer Faces
(JSF). In the second article of the series, Andrei discussed data management on the
server side and presented a data repository for keeping the auto-saved form data. In this final installment of the three-part series, you'll find out how to restore the data of a JSF form, which is trickier than you might think. You will learn interesting JSF techniques, such as using the immediate and onclick attributes of JSF components, skipping some of the phases of the JSF request processing life cycle, and using hidden form elements to trigger JSF listeners. You will also learn how to include JSP/JSF expressions within the JavaScript code, how to use JavaScript with the HTML form elements generated by the renderers of the JSF components, and how to implement a servlet context listener for serializing and deserializing application beans.
Sunday, 18th November 2007   Comments(0)
  Rating:   |  Votes: 4  |  
Rate it:
Save [Login] 0  Clicks Today | 2  Clicks This Month | 11  Total Clicks

Related JavaScript AJAX Tutorials:
» AJAX: Client Side Actions Before and After PostBack
» jQuery: Easy JavaScript for Designers
» Tip: Make the best use of asynchronous callbacks
» 10 Business Reasons to Use AJAX
» Ajax Edit In Place


  Add a Comment
*Name:
*Email Address:
*Comment:
Yes, please send me your weekly DevPosts newsletter and any related promotions.
      characters left



About the MediaGroup1 LLC Network
Copyright ©2008 MediaGroup1 LLC. All Rights Reserved. Privacy Policy.
Visit other MediaGroup1 LLC sites: