P. 1


|Views: 119|Likes:
Published by Rafael_Torres_1405

More info:

Published by: Rafael_Torres_1405 on Nov 14, 2010
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less





ICEfaces™ Project Integration for NetBeans v6.

9 Guide

• • • • •

Overview Requirements Installation Add ICEfaces Framework Create ICEfaces Friendly Page

Overview ICEfaces 2 Project Integration for Netbeans v6.9 provides ICEfaces 2.0.0 Beta2 support for developers who use Netbeans v6.9.x for ICEfaces 2 application development. This integration extends Netbeans' web framework and provides following extra features for ICEfaces 2 support. Following features are offered in this integration for ICEfaces support.
• • • •

Creates web project with ICEfaces capability. Configures required libraries and configuration file. Changes deployment descriptor and configures the IDE for ICEfaces support. Provides sample ICEfaces facelets page, ICEfaces friendly template/template client page

Requirements Netbeans IDE v6.9 Java Bundle. Netbeans IDE v6.9 Java Bundle can be downloaded from http://www.netbeans.org/downloads/index.html • ICEfaces Project Integration for Netbeans v6.9 bundle (ICEfaces-2.0.0.Beta2a-Netbeans-6.9-modules.zip)

Remove previous version of ICEfaces Integration for Netbeans 6.9 If you have installed previous version ICEfaces Integration for Netbeans 6.9, you need to remove it first. This can be done as following:
• • •

Tools → Plugins → click Installed tab Find and check ICEfaces Libraries and ICEfaces Project Integration, and then click Uninstall button Restart Netbeans

Installation Download and unzip ICEfaces-2.0.0.beta2a-Netbeans-6.9-modules.zip to a local directory. After the zip file is unzipped, a subdirectory named “nbms” with 2 .nbm files: • org-icefaces—netbeans-modules-web-frameworks.nbm (ICEfaces Project Integration) • org-icefaces—netbeans-modules-lib.nbm (ICEfaces Libraries) Following instructions describe how to install ICEfaces Project Integration and ICEfaces Run-Time Libraries. 1. From the main menu bar, select Tools --> Plugins. 2. Select Downloaded tab in Plugins installation wizard and click Add Plugins... button. 3. In Add Plugins file dialog, navigate to the directory where ICEfaces-2.0.0.Beta2a-Netbeans-6.9modules.zip was unzipped. Navigate to nbms subdirectory and select

accept license agrment.org-icefaces--netbeans-modules-lib. . and click Install button. 5. • • 4. please un-install any previous versions of the ICEfaces Project Integration prior to installing this plugin. In following dialogs. Note. check the Install checkboxes beside ICEfaces 2 Libraries and ICEfaces 2 Project Integration. Following these steps to create ICEfaces web project. follow instructions and finally press Close button. Add ICEfaces Framework In order to create a web project with ICEfaces support.nbm Click Open button. adding ICEfaces Framework to the web project is required.nbm org-icefaces--netbeans-modules-web-frameworks. In Plugins installation wizard.

Note that there are 2 ICEfaces namespaces for ICEfaces components and advanced components.. On any active web project with ICEfaces framework added. In Frameworks view. template.) Click Finish. ICEfaces 2 integration provides wizard to help your create ICEfaces 2 friendly page. and press Next > button In Server and Settings view. This wizard detects . 4. or template client. From main menu bar. Java EE Version. enter Name and Location of your project. select runtime server. → Java Web → Web Application → Next > button In Name and Location view. and press Next > button. select ICEfaces (Do NOT need to select JavaServer Faces Framework here. 3. and follow wizards provided as shown below. 2.. choose File → New Project.. Create ICEfaces Friendly Page ICEfaces page is basically the same as JSF page but with ICEfaces component namespace. 5. choose File → New File..1.

icefaces. template or template client.com/icefaces/component" for ICEfaces Components Enable Palette Palette view can be enabled by Window → Palette .org/icefaces/components" for ICEfaces Advanced Components and use xmlns:ice="http://www. Use xmlns:ace="http://www.icefaces.the type of current ICEfaces project and provide right facelets xhtml page.

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->