Oracle Magazine Special offer for AjaxImpact.com Visitors!! Subscribe to Oracle Magazine for Free!
AJAX IMPACT


TUTORIALS
Progress Bar Using JavaServer Faces Component with AJAX
02/02/2006 By Ed Burns


Problem Description

This solution demonstrates the power of combining AJAX techniques with JavaServer Faces. It leverages some of the JavaScript code from the Progress Bar solution while delivering a very simple experience to the page author.

  • How do I create a renderer that generates JavaScript and form elements that sync up?
  • How do processs AJAX requests using the FacesServlet? How does this work with the faces life-cycle model?
  • How do I create a renderer that produces XML responses for AJAX requests and HTML for others?
  • How does this type of processing effect performace with many small requests?


    Solution

    JSF and AJAX are a great match because they allow the component developer to provide a fully rich, AJAXian component, but hide all of the javascript from the page author, as well as removing the need for a separate servlet that must be configured in the user's web.xml. This solution addresses the "JSF Component that Renders Client-side AJAX Code and Processes AJAX Request" stragey presented in the Using JSF and AJAX document.

       Read Full Tutorial

     Rate this Ajax Tutorials
     Rating: 8.0 out of 2 votes cast

    AJAX NEWS
    04/01/2007 wxJavaScript : porting wxWidgets to JavaScript.
    03/31/2007 DED|Chain - The web developers JavaScript Kit
    03/30/2007 Clipperz Crypto Library - a JavaScript library of crypto primitives
    03/28/2007 ETech - AJAX Unplugged Slides
    03/27/2007 Stripe Generator: ajax powered web 2.0 tool!
    03/26/2007 Finally Microsoft joins the OpenAjax Alliance


    INDUSTRY NEWS
    05/19/2006 Ajax grabs center stage at JavaOne, By Tony Baer
    05/15/2006 Oracle to boost AJAX, Java , By Paul Krill
    05/13/2006 Open AJAX Group Drafts Development Plans, By Stacy Cowley
    05/13/2006 AJAX Powers Interactive Marketing ASP, By AjaxWorld News Desk
    05/12/2006 AJAX Experts Tackle Security, Other Issues , By Darryl K. Taft
    05/11/2006 Adobe Releases Spry Framework for AJAX, By AjaxWorld News Desk
    More 
           

          © 2008 ajaximpact.com. All rights reserved.