IceFaces
From Resin 3.0
(Difference between revisions)
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 | + | == 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 |
[edit] Step by Step (Deploying IceFaces Component Showcase Application)
[Tested with Resin 3.2.1 and IceFaces 1.7.1]
[edit] 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
[edit] Known Issues
Mini Applications that are used in IceFaces tutorial require the following changes to web.xml and faces-config.xml
[edit] 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>
[edit] faces-config.xml
Supply IceFaces view handler for the Application
<context-param>
<application>
<view-handler>
com.icesoft.faces.facelets.D2DFaceletViewHandler
</view-handler>
</application>