You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by mm...@apache.org on 2006/04/23 01:10:39 UTC

svn commit: r396177 - in /myfaces/site/trunk/src/site/xdoc: faq.xml gettingstarted.xml

Author: mmarinschek
Date: Sat Apr 22 16:10:35 2006
New Revision: 396177

URL: http://svn.apache.org/viewcvs?rev=396177&view=rev
Log:
fixed several issues with cross references and duplicate information

Modified:
    myfaces/site/trunk/src/site/xdoc/faq.xml
    myfaces/site/trunk/src/site/xdoc/gettingstarted.xml

Modified: myfaces/site/trunk/src/site/xdoc/faq.xml
URL: http://svn.apache.org/viewcvs/myfaces/site/trunk/src/site/xdoc/faq.xml?rev=396177&r1=396176&r2=396177&view=diff
==============================================================================
--- myfaces/site/trunk/src/site/xdoc/faq.xml (original)
+++ myfaces/site/trunk/src/site/xdoc/faq.xml Sat Apr 22 16:10:35 2006
@@ -12,7 +12,7 @@
       <ol>
         <li><a href="#what-is">What is MyFaces?</a></li>
         <li><a href="#tomcat5">Does MyFaces work with Tomcat 5.5?</a></li>
-        <li><a href="#extentions">Can I use MyFaces extensions with the JSF RI?</a></li>
+        <li><a href="#extensions">Can I use MyFaces extensions with the JSF RI?</a></li>
       </ol>
 </section>
 
@@ -28,7 +28,8 @@
       </dl>
 	  <dl>
         <dt>Can I use MyFaces extensions (aka Tomahawk) with the JSF RI?</dt>
-        <dd><a id="extentions"/> Yes, most of the Apache MyFaces extensions work with JSF RI. You must only copy <code>tomahawk.jar</code> to your <code>WEB-INF/lib</code> folder. To be able to use the MyFaces extensions add the following line to your JSPs: <source xml:space="preserve">&lt;%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%&gt;</source>
+        <dd><a id="extensions"/> Yes, most of the Apache MyFaces extensions work with JSF RI. Follow the instructions in the section "Using the MyFaces extensions (aka Tomahawk) in your own web application" under <a
+                href="http://myfaces.apache.org/gettingstarted.html">http://myfaces.apache.org/gettingstarted.html</a>
 			If you notice problems please submit a ticket on <a href="issue.html">JIRA</a></dd>
       </dl>
  </section>

Modified: myfaces/site/trunk/src/site/xdoc/gettingstarted.xml
URL: http://svn.apache.org/viewcvs/myfaces/site/trunk/src/site/xdoc/gettingstarted.xml?rev=396177&r1=396176&r2=396177&view=diff
==============================================================================
--- myfaces/site/trunk/src/site/xdoc/gettingstarted.xml (original)
+++ myfaces/site/trunk/src/site/xdoc/gettingstarted.xml Sat Apr 22 16:10:35 2006
@@ -109,7 +109,7 @@
 		    </tr>
 		  </table>
 		</li>
-		<li>If you are using a JSP 1.2 container like Tomcat 4 you must also copy the file jsp-2.0.jar to your WEB-INF/lib dir.</li>
+		<li>If you are using a JSP 1.2 container like Tomcat 4 you must also copy the file jsp-2.0.jar to your WEB-INF/lib dir, you may not do this for Tomcat 5.5.x. If you get problems with blank pages on startup, please make sure that neither jsp-2.0.jar nor commons-el.jar is in your WEB-INF/lib directory.</li>
 		<li>Make sure that there is no jsf-api.jar (i.e. Suns API implementation) in the classpath or in one of your container's shared lib directories (e.g. common/lib or shared/lib for Tomcat).</li>
 		<li>Configure your webapp's web.xml file (see conf/web.xml for example and documentation)</li>
 		<li>Add the following lines to your JSPs:</li>
@@ -117,12 +117,23 @@
 			<li><source xml:space="preserve">&lt;%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%&gt;</source></li>
 			<li><source xml:space="preserve">&lt;%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%&gt;</source></li>
 		</ul>
-		<li> To be able to use the MyFaces extensions (aka Tomahawk) add the following line to your JSPs:</li>
-		<ul>
-			<li><source xml:space="preserve">&lt;%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%&gt;</source></li>
-			<li><source xml:space="preserve">&lt;%@ taglib uri="http://myfaces.apache.org/wap" prefix="wap" %&gt;</source></li>
-		</ul>
-	</ul>
+    </ul>
+</section>
+
+<section name="Using the MyFaces extensions (aka Tomahawk) in your own web application">
+
+<ul>
+    <li>If you don't use the MyFaces implementation, you will need to add the file tomahawk.jar to your web-app directory.</li>
+    <li> To be able to use the MyFaces extensions (aka Tomahawk) add the following line to your JSPs:</li>
+    <ul>
+        <li><source xml:space="preserve">&lt;%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%&gt;</source></li>
+        <li><source xml:space="preserve">&lt;%@ taglib uri="http://myfaces.apache.org/wap" prefix="wap" %&gt;</source></li>
+    </ul>
+
+    For using the Tomahawk components, it's also very important to setup the MyFaces Extensions-Filter. You find the explanations
+    for doing this under: <a href="http://myfaces.apache.org/tomahawk/extensionsFilter.html">http://myfaces.apache.org/tomahawk/extensionsFilter.html</a>
+</ul>
+
 </section>
 
 <section name="Tutorials for getting started with JSF">