You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by Apache Wiki <wi...@apache.org> on 2006/04/13 01:50:57 UTC

[Myfaces Wiki] Update of "Installation and Configuration" by DonaldOakes

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Myfaces Wiki" for change notification.

The following page has been changed by DonaldOakes:
http://wiki.apache.org/myfaces/Installation_and_Configuration

------------------------------------------------------------------------------
  Add jsp-2.0.jar and servlet-api.jar (can be found in Tomcat 5.5.x share/lib) to classpath of server startup script (startWebLogic.sh/cmd) of WebLogic or include them in your war WEB-INF/lib
  
  servlet-api.jar is required if your server has no internet connection. The reason is when MyFaces lib parse web.xml file, it assumes that web-app_2_3.dtd is accessible locally as javax/servlet/web-app_2_3.dtd or directly on http://java.sun.com/dtd/web-app_2_3.dtd. WebLogic has not javax/servlet/web-app_2_3.dtd in it's lib
+ 
+ Steps for getting Facelets working with MyFaces on WebLogic 8.1sp5:
+  * Start with a working myfaces-1.1.1 webapp deployed on WebLogic Server 8.1sp5.
+  * Copy the following three jar files from facelets-1.0.7 into your WEB-INF/lib directory: jsf-facelets.jar, el-api.jar, el-ri.jar.
+  * Add this to your web.xml:
+      <context-param>
+        <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
+         <param-value>.xhtml</param-value>
+      </context-param>
+  * Add this to your faces-config.xml:
+      <application>
+        <view-handler>
+        com.qwest.networx.cso.facelets.FaceletViewHandler
+        </view-handler>
+      </application>
+  * IMPORTANT: Clean out your compiled class files, delete your WebLogic server cache directory (.wlnotdelete), and rebuild.
+  * If you want to use the tomahawk taglib, follow these instructions on the MyFaces wiki: http://wiki.apache.org/myfaces/Use_Facelets_with_Tomahawk
+ 
  
  == Oracle Application Server Containers for J2EE 10g (9.0.4.0.0) ==
  In order to deploy the simple.war from MyFaces 1.1.1 the following step were needed: