Help

Built with Seam

You can find the full source code for this website in the Seam package in the directory /examples/wiki. It is licensed under the LGPL.

seam-gen is capable of generating projects that uses ICEFaces but many of us who use JBoss Tools prefer the project structure generated by the New Seam Web Project wizard. Here are the steps to start an ICEFaces-enabled project in JBoss Tools:

Requirements

  • Eclipse + JBoss Tools 2 plugins
  • Latest Seam (currently 2.0.1.GA)
  • Latest ICEFaces (currently 1.7beta1)

Steps

  1. Generate a Seam Web Project in JBoss Tools (procedure should be similar for both EAR and WAR deployment)
  2. Generate a seam-gen-icefaces project somewhere
  3. Copy the web.xml, faces-config.xml and components.xml from the seam-gen-icefaces project to your JBoss Tools project, replacing them (OK, you actually only need the view-handler from faces-config.xml and the renderManager from components.xml)
  4. Remove the jsf-facelets.jar and richfaces*.jar from the JBoss Tools project library folder (OK, the richfaces jars should be pretty harmless but you might as well remove them)
  5. Add the icefaces-comps.jar, icefaces-facelets.jar and icefaces.jar to the JBoss Tools project (location depends on if you generated a WAR or EAR based project)
  6. Add the backport-util-concurrent.jar and commons-fileupload.jar to the JBoss Tools project (same thing about the EAR/WAR selection)
  7. Copy the home.xhtml from the seam-gen icefaces project to your JBoss Tools project for a semi-working test