IceFaces

From Resin 3.0

(Difference between revisions)
Jump to: navigation, search
m (New page: == Step by Step (Deploying Ice Faces Component Showcase Application) == ''[Tested with Resin 3.2.1 and IceFaces 1.7.1]'' ===Deploying Calendar-Sample Application=== <ol> <li>Download Res...)
 
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
== Step by Step (Deploying Ice Faces Component Showcase Application) ==
+
== Step by Step (Deploying IceFaces Component Showcase Application) ==
  
 
''[Tested with Resin 3.2.1 and IceFaces 1.7.1]''
 
''[Tested with Resin 3.2.1 and IceFaces 1.7.1]''
Line 18: Line 18:
  
 
==Known Issues==
 
==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
 +
 +
<code><pre>
 +
<context-param>
 +
  <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
 +
  <param-value>.jspx</param-value>
 +
</context-param>
 +
</pre></code>
 +
 +
=== faces-config.xml ===
 +
Supply IceFaces view handler for the Application
 +
 +
<code><pre>
 +
<context-param>
 +
<application>
 +
    <view-handler>
 +
        com.icesoft.faces.facelets.D2DFaceletViewHandler
 +
      </view-handler>
 +
</application>
 +
</pre></code>

Latest revision as of 20:51, 17 September 2008

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