IceFaces
From Resin 3.0
Contents |
Step by Step (Deploying IceFaces Component Showcase Application)
[Tested with Resin 3.2.1 and IceFaces 1.7.1]
Deploying Calendar-Sample Application
- Download Resin from http://caucho.com/download
- Unzip Resin into /usr/local/share/resin
- Download IceFaces 1.7.1 from http://www.icefaces.org/main/home/index.jsp (a binary package will be needed)
- Extract files from the archive and change into directory that now contains the extracted download
- Create directory /usr/local/share/resin/webapps/cs
- Copy component-showcase.war file from ./icefaes/samples to /usr/local/share/resin/webapps/cs
- Extract the archive using jar -xf component-showcase.war and delete component-showcase.war file
- From the WEB-INF/lib directory delete the following files: jsf-api-1.2*.jar jsf-impl-1.2*.jar jstl.jar common-el.jar el-ri.jar
- cd into /usr/local/share/resin/bin directory and start Resin with ./httpd.sh
- Browse to http://localhost:8080/cs
Known Issues
Mini Applications that are used in IceFaces tutorial require the following changes to web.xml and faces-config.xml
web.xml
Add context parameter for jsf default suffix
<context-param>
<param-name>javax.faces.DEFAULT_SUFFIX</param-name>
<param-value>.jspx</param-value>
</context-param>
faces-config.xml
Supply IceFaces view handler for the Application
<context-param>
<application>
<view-handler>
com.icesoft.faces.facelets.D2DFaceletViewHandler
</view-handler>
</application>