Skip to main content

Skip over site navigation to main content

developerWorks  >   Web development  >   Technical library  >  

Technical library view  RSS for Web development

developerWorks
 Related links:    Redbooks

Filter your search and/or enter a keyword. If you don't filter your search or enter a keyword, the search results will default to all results.

 
 
 
  1 - 3 of 3 results    Hide Summaries
Title   Type   Date  

Table that contains the results that meet the search criteria.

Auto-save JSF forms with Ajax: Part 1
In this three-part series, author and Java developer Andrei Cioroianu shows you how to automatically save form data in a Java Web application using Asynchronous JavaScript + XML (Ajax) and JavaServer Faces (JSF) technologies. You'll learn how to submit Web forms with Ajax, how to use the JSF framework to handle Ajax requests, how to control the JSF request processing life cycle, how to manage form data on the server side, and how to identify anonymous users across browser sessions. Discover several frequently occurring development mistakes, including incorrect form-data encoding and improper Ajax request management, which can lead to failed requests and memory leaks.
Articles 07 Aug 2007  
 
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.
Articles 09 Oct 2007  
 
Auto-save JSF forms with Ajax: Part 2
In the first part of this "Auto-save JSF forms with Ajax" series, author and Java developer Andrei Cioroianu showed you how to build Java applications that automatically save Web forms, using Asynchronous JavaScript + XML (Ajax) and JavaServer Faces (JSF) technologies. You learned how to obtain, encode, and submit form data with JavaScript and XMLHttpRequest, how to adapt the JSF request processing life cycle for handling Ajax requests, and how to get the submitted data from the JSF component tree on the server side. In this second installment of the three-part series, you will see how to identify anonymous users across browser sessions, how to manage the auto-saved form data for multiple users and pages, how to choose a data repository, and how to deal with thread-safety issues.
Articles 18 Sep 2007  
 
  1 - 3 of 3 results    Hide Summaries
Not finding what you're looking for? Suggest Content