Netbeans tip: Creating an AJAX enabled custom JSF component - Part 2
By winston on Apr 30, 2007
Finally I got some time to complete part 2 of the Creating an AJAX enabled custom JSF component.
- 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.
In Part2, the walk through explains how to add design time to the ImageSlider component and create a complib archive. Also the walk through explains how the complib is imported in to the Netbeans Visual Web Pack application to add the component to a visual web page by drag and drop.