Chapter: Internet & World Wide Web HOW TO PROGRAM - Rich Internet Application Server Technologies - Ajax-Enabled JavaServer Faces Web Applications

| Study Material, Lecturing Notes, Assignment, Reference, Wiki description explanation, brief detail |

Ajax-Enabled JSF Components

The Java BluePrints Ajax component library provides Ajax-enabled JSF components.

Ajax-Enabled JSF Components

 

The Java BluePrints Ajax component library provides Ajax-enabled JSF components.

 

These components rely on Ajax technology to deliver the feel and responsiveness of a desk-top application over the web. Figure 27.9 summarizes the current set of components that you can download and use with Netbeans. We demonstrate the and Map Viewer components in the next two sections.



Downloading the Java BluePrints Ajax-Enabled Components

 

To use the Java BluePrints Ajax-enabled components in Netbeans, you must download and import them. The IDE provides a wizard for installing this group of components (In-ternet access is required). To access it, choose Tools > Update Center to display the Update Center Wizard dialog. Click Next > to search for available updates. In the Available Updates and New Modules area of the dialog, locate and select BluePrints AJAX Components then click the Add > button to add them to the list of items you’d like to install. Click Next > and follow the prompts to accept the terms of use and download the components. When the download completes, click Next > then click Finish. Click OK to restart the IDE.

 

Importing the Java BluePrints Ajax-Enabled Components into the Netbeans Palette

 

Next, you must import the components into the Palette. Select Tools > Component Library Manager, then click Import…. Click Browse… in the Component Library Manager dialog that appears. Select the ui.complib file and click Open. Click OK to import both the Blue-Prints AJAX Components and the BluePrints AJAX Support Beans. Close the Component Library Manager to return to the IDE.

 

To see the new components in the Palette, you must add the BluePrints AJAX Com-ponents library to your visual web application. To do so, make sure your application’s node is expanded in the Projects tab. Right click the Component Libraries node and select Add Component Library. In the Add Component Library dialog box, select the BluePrints AJAX Components library and click Add Component Library. You should now see two new nodes in the Palette. The first, BluePrints AJAX Components, provides the eight compo-nents listed in Fig. 27.9. The second, BluePrints AJAX Support Beans, includes compo-nents that support the Ajax components. You can now build high-performance Ajax web applications by dragging, dropping and configuring the component’s properties, just as you do with other components in the Palette.

 


Study Material, Lecturing Notes, Assignment, Reference, Wiki description explanation, brief detail


Copyright © 2018-2020 BrainKart.com; All Rights Reserved. Developed by Therithal info, Chennai.