Total Pageviews

2010/07/12

ICEFaces Quick Start



Install IceFace Plug-in for Eclipse 3.6

Please go to here to download the zip file:http://www.icefaces.org/main/downloads/os-downloads.iface


Click Install new software

Click Add button

Click Archive button

Click OK button

Check ICEFaces Plugin and click Next button


Click Next


Check the first radio button and click next button


Installing

Restart Eclipse 3.6

Create a dynamic web project & a simple demo application

fill in project-related information

Click Next

Click Next

download icefaces-related jar files

Download...

Click Next

Click Finish


Scenario

User provide his/her name in index page, and click submit button
System will show welcome message in hello page.

and defined the navigation rule in faces-config.xml

I create one bean class and one controller class and defined in face-config.xml

User.java

UserController.java

Index.xhtml

user.xhtml


Demo
1. User input name and click Submit button

2. System will show welcome message. User click back button to previous page.

3. System will redirect to first page as use click back button.



2010/07/07

Fail to download ICEFaces library in Eclipse


Install IceFace Plug-in for Eclipse 3.6
Please go to here to download the zip file: http://www.icefaces.org/main/downloads/os-downloads.iface


Click Next

Click Next

Choose I accept option, and click Next

After installing software, then restart Eclipse

Create a dynamic web application project

Choose ICEFaces 2 Project as its configuration

Click Next

Click Next

Click download library button to get ICEFaces library

BUT THE POPUP WINDOW IS EMPTY

This problem resulted from my company's firewall.
As I changed to use iPhone to connect to Internet, the problem was solved.