Sie sind auf Seite 1von 4

ICEfaces™ Project Integration for NetBeans v6.

9 Guide
V6.9.0.5

Contents
• 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.9-
modules.zip was unzipped. Navigate to nbms subdirectory and select
• org-icefaces--netbeans-modules-lib.nbm
• org-icefaces--netbeans-modules-web-frameworks.nbm
Click Open button.

4. In Plugins installation wizard, check the Install checkboxes beside ICEfaces 2 Libraries and ICEfaces 2
Project Integration, and click Install button.

5. In following dialogs, accept license agrment, follow instructions and finally press Close button.

Note, please un-install any previous versions of the ICEfaces Project Integration prior to installing this plugin.

Add ICEfaces Framework


In order to create a web project with ICEfaces support, adding ICEfaces Framework to the web project is required.
Following these steps to create ICEfaces web project.
1. From main menu bar, choose File → New Project... → Java Web → Web Application → Next > button
2. In Name and Location view, enter Name and Location of your project, and press Next > button
3. In Server and Settings view, select runtime server, Java EE Version, and press Next > button.
4. In Frameworks view, select ICEfaces (Do NOT need to select JavaServer Faces Framework here.)
5. Click Finish.

Create ICEfaces Friendly Page


ICEfaces page is basically the same as JSF page but with ICEfaces component namespace. ICEfaces 2 integration
provides wizard to help your create ICEfaces 2 friendly page, template, or template client. On any active web project
with ICEfaces framework added, choose File → New File... and follow wizards provided as shown below.

Note that there are 2 ICEfaces namespaces for ICEfaces components and advanced components. This wizard detects
the type of current ICEfaces project and provide right facelets xhtml page, template or template client. Use
xmlns:ace="http://www.icefaces.org/icefaces/components" for ICEfaces Advanced Components and use
xmlns:ice="http://www.icefaces.com/icefaces/component" for ICEfaces Components

Enable Palette
Palette view can be enabled by Window → Palette

Das könnte Ihnen auch gefallen