Netbeans tip: Creating an AJAX enabled custom JSF component - Part 2

Finally I got some time to complete  part 2 of the Creating an AJAX enabled custom JSF component.

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.

Comments:

easy

Posted by guest on May 07, 2007 at 05:58 PM PDT #

Hi.

I am trying to create a complib for a set of components that I have not coded myself. So I wanted to ask, do I have to use the same package for the designtime and runtime files?

Thanks...

Posted by Zzzzz on January 17, 2008 at 05:41 PM PST #

You could use different package name. In that case you need to register your package name to the Java Bean Introspector. Unfortunately, complib does not provide a way to do that. It is a good enhancement for complib manager though.

Posted by Winston Prakash on January 17, 2008 at 10:16 PM PST #

good

Posted by guest on August 05, 2009 at 11:19 PM PDT #

Post a Comment:
  • HTML Syntax: NOT allowed
Search

Archives
« July 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
  
       
Today