IceFaces

From Resin 3.0

Jump to: navigation, search

Contents

Step by Step (Deploying IceFaces Component Showcase Application)

[Tested with Resin 3.2.1 and IceFaces 1.7.1]

Deploying Calendar-Sample Application

  1. Download Resin from http://caucho.com/download
  2. Unzip Resin into /usr/local/share/resin
  3. Download IceFaces 1.7.1 from http://www.icefaces.org/main/home/index.jsp (a binary package will be needed)
  4. Extract files from the archive and change into directory that now contains the extracted download
  5. Create directory /usr/local/share/resin/webapps/cs
  6. Copy component-showcase.war file from ./icefaes/samples to /usr/local/share/resin/webapps/cs
  7. Extract the archive using jar -xf component-showcase.war and delete component-showcase.war file
  8. 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
  9. cd into /usr/local/share/resin/bin directory and start Resin with ./httpd.sh
  10. 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>
Personal tools