MyEclipse ICEfaces Example Project

* License

This project is provided under the Apache 2 license, please see LICENSE.txt for
details.

* Description

This is a simple example application that uses the ICEfaces (Ajax-enbaled JSF 
components) and Facelets to design a robust paging and in-lined editing application 
of customer data. This example project is meant to be a companion to the 
MyEclipse-ICEfaces tutorial available from Help > Help Contents > MyEclipse
Learning Center > Web Development > ICEfaces, Ajax for Java EE > 
MyEclipse ICEfaces Tutorial.

To get an indepth understanding of how the data is loaded and manipulated using
the managed beans in this application, you can use breakpoints in the
org.icefaces.ui.SessionBean class for most of the action handlers to get an idea of
when and how they are called.

The rest of the application is implemented using the ICEfaces Ajax-enabled JSF
components in the MyJsp.jspx Facelets page.

* Requirements

	* MyEclipse 6.0.1 or later
	* ICEfaces AJAX Tooling for MyEclipse

* How to Run

The easiest way to run the project is after it's been installed from Examples on 
Demand, is to right-click on it, go down to Debug As and select MyEclipse Server 
Application.

If the server-selection screen pops up, simply select the MyEclipse Tomcat server
and hit OK. The application server should start up, and open the first page of the
application for you.

NOTE: If you observe an HTTP ERROR 500 or exception on startup, namely:
	SEVERE: Servlet.service() for servlet jsp threw exception
	java.net.ConnectException: Connection refused: connect

Then chances are the MyEclipse Derby server did not automatically start up. 
To fix this issue, please switch to the Servers view in the MyEclipse 
Perspective, start the MyEclipse Derby server manually and then relaunch the 
application.

*FAQ
1. Is the database used in this example created automatically or should I create 
one prior to running this application?

For 6.0.0 or 6.0.1 installs this should work out of the box. This means that the 
embedded derby that is in the Server Sandbox that ships with MyEclipse contains 
all the Schema data that you need to run these examples.

If you still see errors like a missing tables on the database, then do the following:

   1. Go to Window > Preferences > MyEclipse > Servers > Integrated Sandbox > MyEclipse Derby
   2. Click on Restore MyEclipse Derby Driver and Restore Sample Database
   3. Go to your ICEfaces tutorial example and right click and from the context menu choose Properties
   4. Go to MyEclipse > Java Persistence
   5. Make sure that Enable database metadata analysis is checked
   6. Make sure that the Driver is set to MyEclipse Derby
   7. Make sure that the Catalog/Schema is set to "CLASSICCARS"
   8. Click on Refresh Metadata
   9. The project can then be revalidated and this should fix the issue.

 * Related Links

	* MyEclipse JSF Tutorial - http://www.myeclipseide.com/documentation/quickstarts/jsf/
	* MyEclipse JSF Designer Tutorial - http://www.myeclipseide.com/documentation/quickstarts/jsfdesigner/
	* MyEclipse JSF/JPA MyBlog Demo Application - http://www.myeclipseide.com/images/tutorials/demos/community_one_2007/community_one_2007.htm

* Feedback

We hope you found this example project helpful. If you ran into any problems 
while working with the example project, please feel free to post to our Example 
Project Forum (http://www.myeclipseide.com/PNphpBB2-viewforum-f-54.html) and 
let us know. Also if you had any suggestions for improvements, noticed something 
wrong or just wanted to ask questions we encourage you to post and let us know!