部署一个 seam + icefaces 项目

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
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)
3、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)
4、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)
5、Add the backport-util-concurrent.jar and commons-fileupload.jar to the JBoss Tools project (same thing about the EAR/WAR selection)
Copy the home.xhtml from the seam-gen icefaces project to your JBoss Tools project for a semi-working test

你可能感兴趣的:(xml,jboss,Richfaces,JSF,seam)