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

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.

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.

Comments:

Hi, I am trying to create a JSF Media display album(image, video, audio) but I am stuck on trying to dsiplay it in grid table form in 5 rows and 4 columns the data is fetch from a a column in a database example just the thumb images will be displayed and when the user clicks on a pic it sends him to a detail page where just an image is displayed and has the option to navigate to the previous or next image. Can you give me any tips on going about this? Thanks

Posted by Ransford Segu-Baffoe on March 28, 2007 at 07:14 AM PDT #

[Trackback] For the past few months, I have been collaborating with a great group of people to bring you a fantistic hands on lab for JavaOne . This lab, session # LAB-4460 Building Ajax-Enabled JavaServer Faces Components and Web Applications With jMaki, Dynami...

Posted by Insider Scoop From the Tutorial Divas on April 11, 2007 at 03:47 AM PDT #

I know litle about Ajax....

Posted by autooo on May 21, 2007 at 11:57 AM PDT #

hello,Winston

How can I specify the datePattern MM/yyyy to woodStock calender component.And to get the same date pattern value from the woodStock calender component.

Help me in this regard.

Posted by Archana on June 17, 2008 at 05:34 PM PDT #

Hi Winston,
I'm trying to internationalize my application, everything seems to work fine, I've only encountered problems with calendar component:
Is there any way to change labels (in several languages) in datepicker??? i.e. I'd like to translate "Today: 27-Jun-2008" with "Oggi: 27-giu-2008"
"List of months (display month you select)" with "Lista dei mesi (mostra il mese selezionato)" and so on...

thanks
Giorgio

Posted by Giorgio on June 26, 2008 at 04:57 PM PDT #

Hi Winston,

I am using Netbeans 6.1 and working on one of your examples presented in http://www.netbeans.org/kb/60/web/web-jpa-part2.html. I add grid panel such addUpdatePanel and they are not recognized by the system. I Java tab I get " cannot find variable addUpdatePanel " I have done it before in previous versions of Netbeans and do not understand what is goin on. Can anyone help please?

Thanks,

petraq

Posted by Petraq Papajorgji on July 15, 2008 at 03:22 AM PDT #

Respected Sir
I am starting to learn JSF concept.I got idea about the basic but i need to impelement that concept in Visual Web JSF and DataBase example. Can u tell me how to do simple databae Application without using Table componant. Please give me some information about it.

Thanks

Posted by Sagar Sutar on October 21, 2008 at 04:11 PM PDT #

Post a Comment:
  • HTML Syntax: NOT allowed
Search

Archives
« April 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
   
       
Today