[jboss-cvs] jboss-seam/doc/reference/en/modules ...
Gavin King
gavin.king at jboss.com
Sat Feb 24 13:38:40 EST 2007
User: gavin
Date: 07/02/24 13:38:40
Modified: doc/reference/en/modules tutorial.xml
Log:
promoted from forum thread
Revision Changes Path
1.78 +59 -0 jboss-seam/doc/reference/en/modules/tutorial.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: tutorial.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/doc/reference/en/modules/tutorial.xml,v
retrieving revision 1.77
retrieving revision 1.78
diff -u -b -r1.77 -r1.78
--- tutorial.xml 20 Feb 2007 23:35:47 -0000 1.77
+++ tutorial.xml 24 Feb 2007 18:38:40 -0000 1.78
@@ -3192,4 +3192,63 @@
</section>
+ <section>
+ <title>Running the Seam examples in JBoss using the JSF 1.2 RI</title>
+ <para>
+ JBoss AS 4.0 ships with the Apache MyFaces implementation of JSF 1.1. After many months of
+ waiting, there is <emphasis>still</emphasis> no implementation of JSF 1.2 from MyFaces.
+ For this and other reasons, JBoss AS 4.2 will embed the JSF 1.2 Reference Implementation
+ by default. Soon after the release of 4.2, we will migrate the Seam examples to JSF 1.2.
+ </para>
+ <para>
+ For those who can't wait, Seam is already compatible with JSF 1.2, and it's easy to get
+ the Seam examples running with JSF 1.2 in JBoss 4.0.5. Let's start with the famous booking
+ example:
+ </para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ copy <literal>jsf-api.jar</literal>, <literal>jsf-impl.jar</literal>,
+ <literal>el-api.jar</literal>, <literal>el-impl.jar</literal> to
+ <literal>server/default/deploy/tomcat/jbossweb-tomcat55.sar/jsf-libs</literal>.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ delete <literal>myfaces-api.jar</literal> and <literal>myfaces-impl.jar</literal>
+ from <literal>server/default/deploy/tomcat/jbossweb-tomcat55.sar/jsf-libs</literal>.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ edit <literal>server/default/deploy/tomcat/jbossweb-tomcat55.sar/conf/web.xml</literal>,
+ replacing <literal>myfaces-impl.jar</literal> with <literal>jsf-impl.jar</literal>.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ edit <literal>examples/booking/resources/WEB-INF/web.xml</literal>, deleting the MyFaces
+ listener, uncommenting the RI listener
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ edit <literal>examples/booking/resources/WEB-INF/faces-config.xml</literal>, uncommenting
+ the lines that install the <literal>SeamELResolver</literal> using the new JSF 1.2 XML
+ schema declaration.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ edit <literal>examples/booking/resources/META-INF/application.xml</literal>, deleting the
+ lines that declare <literal>el-api.jar</literal> and <literal>el-impl.jar</literal> as Java
+ modules.
+ </para>
+ </listitem>
+ </itemizedlist>
+ <para>
+ Restart JBoss, and type <literal>ant</literal> in the <literal>examples/booking</literal> directory.
+ </para>
+ </section>
+
</chapter>
More information about the jboss-cvs-commits
mailing list