Netbeans tip: Creating an AJAX enabled custom JSF component - Part 1
By winston on Mar 13, 2007
Netbeans 5.5 Web Application Project provides lots of necessary plumbing to create a custom JSF component. I will be writing few articles explaining how to write an AJAX enabled JSF component. These articles will be concise version of more elaborate tutorial I am writing with Gail and Paul Anderson for JavaOne 2007 Hands-on Labs.
- Part 1 - Create a Simple Ajax enabled Image Slider Component.
- Part 2 - Add design time to the component to import it to use with Netbeans Visual Web Pack.
Part1, mainly covers how to write a simple Ajax enabled JSF component (ImageSlider). In this part, I have given the walk through on how to create the Image Slider Component. The Image Slider component would take one or more images and displays each image with a previous and a next link. Clicking on the next or previous link displays the next or previous image. Since the component has Ajax capability, the Image Slider component displays the next or previous image by fetching them with out submitting the form using Ajax transaction.