myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mat...@apache.org
Subject cvs commit: incubator-myfaces/src/documentation/content/xdocs livesites.xml tabs.xml downloads.xml index.xml site.xml
Date Wed, 12 Jan 2005 14:53:38 GMT
matzew      2005/01/12 06:53:38

  Modified:    src/documentation/content/xdocs tabs.xml downloads.xml
                        index.xml site.xml
  Added:       src/documentation/content/xdocs/docs compatibility.xml
                        cardemoweb.xml risamples.xml gettingstarted.xml
               src/documentation/content/xdocs livesites.xml
  Log:
  updated forrest stuff
  
  Revision  Changes    Path
  1.1                  incubator-myfaces/src/documentation/content/xdocs/docs/compatibility.xml
  
  Index: compatibility.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.2//EN" "document-v12.dtd">
  
  <document>
  
  <header>
      <title>Apache MyFaces' compatibility</title>
  </header>
  
  <body>
  
  <section>
  	<title>MyFaces is known to work with and was tested in the following environments:</title>
  	<ol>
  		<li>Java</li>
  		<ol>
  			<li>JDK 1.4.x</li>
  		</ol>
  		<li>Servlet Container</li>
  		<ol>
  			<li>Tomcat 4.x</li>
  			<li>Tomcat 5.x</li>
  			<li>JRun 4 (SP1a)</li>
  			<li>JBoss 3.2.x</li>
  			<li>JBoss 4.0.x</li>
  			<li>BEA Weblogic 8.1</li>
  			<li>Jonas 3.3.6 w/ Tomcat</li>
  			<li>Resin 2.1.x</li>
  			<li>Jetty 4.2.x</li>
  			<li>Websphere 5.1.2</li>
  		</ol>
  	</ol>
  </section>
  <section>
  	<title>We encourage you to try other environments as well.</title>
  	<p>Please give us as much feedback as possible! </p>
  </section>
  
  </body>
      
      <footer>
      	<legal>Java, J2EE, and JCP are trademarks or registered trademarks of Sun Microsystems,
Inc. in the United States and other countries.<br />
  	&copy; 2004, Apache Software Foundation
  	</legal>
      </footer>
  
  </document>
  
  
  1.1                  incubator-myfaces/src/documentation/content/xdocs/docs/cardemoweb.xml
  
  Index: cardemoweb.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.2//EN" "document-v12.dtd">
  
  <document>
  
  <header>
      <title>Apache MyFaces FAQ</title>
  </header>
  
  <body>
  
  <section>
      <title>Cardemo web.xml</title>
    
  	<source><![CDATA[<?xml version='1.0' encoding='UTF-8'?>
  
  <!DOCTYPE web-app PUBLIC
   "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
   "http://java.sun.com/dtd/web-app_2_3.dtd">
  
  <web-app>
  
     <display-name>Car Store</display-name>
     <description>Buy a car.</description>
  
     <context-param>
         <param-name>javax.faces.application.CONFIG_FILES</param-name>
         <param-value>
             /WEB-INF/faces-config.xml
         </param-value>
         <description>
             Comma separated list of URIs of (additional) faces config files.
             (e.g. /WEB-INF/my-config.xml)
             See JSF 1.0 PRD2, 10.3.2
         </description>
     </context-param>
  
     <context-param>
         <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
         <param-value>client</param-value>
     </context-param>
  
     <context-param>
         <param-name>myfaces_allow_javascript</param-name>
         <param-value>true</param-value>
         <description>
             This parameter tells MyFaces if javascript code should be allowed in the
             rendered HTML output.
             If javascript is allowed, command_link anchors will have javascript code
             that submits the corresponding form.
             If javascript is not allowed, the state saving info and nested parameters
             will be added as url parameters.
             Default: "true"
         </description>
     </context-param>
  
     <context-param>
         <param-name>myfaces_pretty_html</param-name>
         <param-value>true</param-value>
         <description>
             If true, rendered HTML code will be formatted, so that it is "human readable".
             i.e. additional line separators and whitespace will be written, that do not
             influence the HTML code.
             Default: "true"
         </description>
     </context-param>
  
  
     <listener>
         <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
     </listener>
  
     <!-- Faces Servlet -->
     <servlet>
         <servlet-name>Faces Servlet</servlet-name>
         <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
         <load-on-startup>1</load-on-startup>
     </servlet>
  
  
     <!-- Faces Servlet Mapping -->
     <servlet-mapping>
         <servlet-name>Faces Servlet</servlet-name>
         <url-pattern>*.jsf</url-pattern>
     </servlet-mapping>
  
  
  </web-app> ]]></source>
  
  	</section>
  </body>
      
      <footer>
      	<legal>Java, J2EE, and JCP are trademarks or registered trademarks of Sun Microsystems,
Inc. in the United States and other countries.<br />
  	&copy; 2004, Apache Software Foundation
  	</legal>
      </footer>
  
  </document>
  
  
  1.1                  incubator-myfaces/src/documentation/content/xdocs/docs/risamples.xml
  
  Index: risamples.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.2//EN" "document-v12.dtd">
  
  <document>
  
  <header>
      <title>Running Apache MyFaces with RI sample</title>
  </header>
  
  <body>
  
  <section>
      <title>Steps to get Sun's cardemo sample running</title>
  	<ol>
  		<li>Download the latest JSF Reference Implementation <link href="http://java.sun.com/j2ee/javaserverfaces/download.html">here</link></li>
  		<li>In samples dir you will find the cardemo web application archive named jsf-cardemo.war</li>
  		<li>Unpack jsf-cardemo.war to a directory of your choice. If you are not familiar
with deploying web applications and you are using tomcat, unpack jsf-cardemo.war to CATALINA_HOME/webapps/cardemo
directory (where CATALINA_HOME = Tomcat installation directory)</li>
  		<li>Remove jsf-api.jar and jsf-impl.jar from WEB-INF/lib directory</li>
  		<li>Copy myfaces.jar and cos.jar to WEB-INF/lib directory</li>
  		<li>Replace WEB-INF/web.xml with <link href="cardemoweb.html">web.xml</link></li>
  		<li>Deploy web application. If you unpacked cardemo.war into CATALINA_HOME/webapps/cardemo
start tomcat and see cardemo running at http://localhost:8080/cardemo</li>
  	</ol>
  </section>    </body>
      
      <footer>
      	<legal>Java, J2EE, and JCP are trademarks or registered trademarks of Sun Microsystems,
Inc. in the United States and other countries.<br />
  	&copy; 2004, Apache Software Foundation
  	</legal>
      </footer>
  
  </document>
  
  
  1.1                  incubator-myfaces/src/documentation/content/xdocs/docs/gettingstarted.xml
  
  Index: gettingstarted.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.2//EN" "document-v12.dtd">
  
  <document>
  
  <header>
      <title>Getting started with Apache MyFaces</title>
  </header>
  
  <body>
  
  <section>
      <title>What you need for the Examples Application</title>
      <ul>
  		<li>Tomcat 5.x. Download <link href="http://jakarta.apache.org/tomcat/index.html">here</link>.</li>
  		<li> MyFaces examples. Latest are <link href="http://cvs.apache.org/dist/incubator/myfaces/builds/">here</link>.</li>
      </ul>
  </section>
  
  
  <section>
  	<title>Installing and Running the Examples</title>
  	<ul>
  		<li>Unpack the MyFaces examples archive myfaces-X.X.X-examples.tgz to a directory
of your choice.</li>
  		<li>Remove any previous MyFaces webapps from your Tomcat installation and clean
up your Tomcat work dir. Also make sure that there is no jsf-api.jar or jsf-impl.jar (i.e.
Suns API implementation) in the classpath or in one of Tomcat's lib directories (common/lib
or shared/lib).</li>
  		<li>Copy the file myfaces-examples.war to the webapps dir of your Tomcat installation
directory - and check once more that there is no old myfaces-examples directory there ;-)</li>
  		<li>(Re)start Tomcat</li>
  		<li> Start your browser and enjoy it at <link href="http://localhost:8080/myfaces-examples">http://localhost:8080/myfaces-examples</link></li>
  	</ul>
  </section>
  
  <section>
  	<title>Installing and Running Sun JSF-RI Samples with MyFaces</title>
  	<ul>
  		<li><link href="risamples.html">see detailed description</link></li>
  	</ul>
  </section>
  
  <section>
  	<title>Using MyFaces in your own web application</title>
  	<ul>
  		<li>Look at the <link href="compatibility.html">compatibility list</link>
to find out if your servlet container is supported.</li>
  		<li>Download the latest <link href="http://cvs.apache.org/dist/incubator/myfaces/builds/">MyFaces
binary</link> release.</li>
  		<li>Copy the jar files myfaces-jsf-api.jar, myfaces.jar, jstl.jar, jakarta-oro.jar,
commons-codec-1.2.jar, commons-el.jar, commons-fileupload-1.0.jar, commons-logging.jar and
commons-validator.jar from the lib directory to the WEB-INF/lib dir of your Webapplication.</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>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>
  		<ul>
  			<li><source><![CDATA[<%@ taglib uri="http://java.sun.com/jsf/html"
prefix="h"%>]]></source></li>
  			<li><source><![CDATA[<%@ taglib uri="http://java.sun.com/jsf/core"
prefix="f"%>]]></source></li>
  		</ul>
  		<li> To be able to use the MyFaces extensions add the following line to your JSPs:</li>
  		<ul>
  			<li><source><![CDATA[<%@ taglib uri="http://myfaces.apache.org/extensions"
prefix="x"%>]]></source></li>
  			<li><source><![CDATA[<%@ taglib uri="http://myfaces.apache.org/wap"
prefix="wap" %>]]></source></li>
  		</ul>
  	</ul>
  </section>
   
       </body>
      
      <footer>
      	<legal>Java, J2EE, and JCP are trademarks or registered trademarks of Sun Microsystems,
Inc. in the United States and other countries.<br />
  	&copy; 2004, Apache Software Foundation
  	</legal>
      </footer>
  
  </document>
  
  
  1.4       +1 -1      incubator-myfaces/src/documentation/content/xdocs/tabs.xml
  
  Index: tabs.xml
  ===================================================================
  RCS file: /home/cvs/incubator-myfaces/src/documentation/content/xdocs/tabs.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- tabs.xml	1 Dec 2004 10:08:11 -0000	1.3
  +++ tabs.xml	12 Jan 2005 14:53:38 -0000	1.4
  @@ -7,7 +7,7 @@
     xmlns:xlink="http://www.w3.org/1999/xlink">
   
     <tab label="Project" dir="" id="project" indexfile="index.html"/>
  -  <tab label="Documentation" dir="docs/" id="documentation" indexfile="faq.html"/>
  +  <tab label="Documentation" dir="docs/" id="documentation" indexfile="gettingstarted.html"/>
     <tab label="Community" dir="community/" id="community" indexfile="mailinglists.html"/>
   
   </tabs>
  
  
  
  1.3       +1 -1      incubator-myfaces/src/documentation/content/xdocs/downloads.xml
  
  Index: downloads.xml
  ===================================================================
  RCS file: /home/cvs/incubator-myfaces/src/documentation/content/xdocs/downloads.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- downloads.xml	29 Oct 2004 15:51:05 -0000	1.2
  +++ downloads.xml	12 Jan 2005 14:53:38 -0000	1.3
  @@ -15,7 +15,7 @@
         <br /><br /></p>
         
         <ul>
  -        <li><link href="http://www.myfaces.org">project home page</link></li>
  +        <li>here are the <link href="http://cvs.apache.org/dist/incubator/myfaces/builds/">last
build</link>.</li>
         </ul>
   </section>
   
  
  
  
  1.3       +7 -4      incubator-myfaces/src/documentation/content/xdocs/index.xml
  
  Index: index.xml
  ===================================================================
  RCS file: /home/cvs/incubator-myfaces/src/documentation/content/xdocs/index.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- index.xml	7 Sep 2004 19:06:26 -0000	1.2
  +++ index.xml	12 Jan 2005 14:53:38 -0000	1.3
  @@ -23,13 +23,16 @@
        <title>News</title>
        <anchor id="News"></anchor>
        <ul>
  -       <li>See MyFaces at <fork href="http://www.apachecon.com/">ApacheCon
US2004</fork> by Bill Dudney (Wednesday, 17 November 2004).</li>
  +       <li>Bill Dudney talks at at <fork href="http://www.apachecon.com/">ApacheCon
US2004</fork> about MyFaces. <link href="http://bill.dudney.net/roller/resources/bill/jsfwithmyfaces.pdf">Get
slides</link></li>
        </ul>
  +		<p>If you are new to JavaServer Faces Technology look at the following resources
to become familar with JSF:</p>
  +		<ul>
  +			<li><link href="http://www.jsfcentral.com/">JSFCentral</link></li>
  +			<li><link href="http://www.jamesholmes.com/JavaServerFaces/">James Holmes'
JSF Resources</link></li>
  +		</ul>
       </section>
   	
  -    <p>
  -<link href="http://www.jsfcentral.com/">JSFCentral</link> is also a good place
for more JSF information and resources. 
  -   </p>  
  + 
       
     </body>
   </document>
  
  
  
  1.6       +6 -0      incubator-myfaces/src/documentation/content/xdocs/site.xml
  
  Index: site.xml
  ===================================================================
  RCS file: /home/cvs/incubator-myfaces/src/documentation/content/xdocs/site.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- site.xml	10 Jan 2005 07:23:15 -0000	1.5
  +++ site.xml	12 Jan 2005 14:53:38 -0000	1.6
  @@ -5,8 +5,12 @@
           <index_pm href="index.html" label="Welcome"/>
   	    <license label="License" href="license.html" />
   	    <downloads label="Downloads" href="downloads.html" />
  +	    <livesites label="Web apps using MyFaces" href="livesites.html"/>
        </project-information>
   	<docu href="docs/" label="Documentation" tab="documentation">
  +		<gettingstarted label="Getting Started" href="gettingstarted.html"/>
  +		<ri label="MyFaces and RI sample" href="risamples.html"/>
  +		<compatibility label="Compatibility" href="compatibility.html"/>
   		<faq label="FAQ" href="faq.html" />
   		<jars label="JARs" href="jars.html" />
   		<javadoc label="Java Doc" href="http://incubator.apache.org/myfaces/javadoc/" />
  @@ -18,7 +22,9 @@
       <contributors label="Contributors" href="contributors.html" />
       <status label="Status" href="status.html" />
       <bylaws label="Project Bylaws" href="bylaws.html"/>
  +	<issue label="Tracking System" href="issue.html"/>
       <wiki label="Wiki" href="http://wiki.apache.org/myfaces"/>
  +    <getinvolved label="Get Involved" href="http://jakarta.apache.org/site/getinvolved.html"/>
     </community>
   
   </site>
  
  
  
  1.1                  incubator-myfaces/src/documentation/content/xdocs/livesites.xml
  
  Index: livesites.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.2//EN" "document-v12.dtd">
  
  <document>
  
  <header>
      <title>Apache MyFaces in use</title>
  </header>
  
  <body>
  
  <section>
      <title>The following web apps are build with Apache MyFaces:</title>
  	<ul>
  		<li><link href="http://www.biblioteca.istitutodeglinnocenti.it/en/index.htm">Biblioteca
Innocenti Library (English)</link></li>
  		<li><link href="http://www.istitutodeglinnocenti.it/">Istituto degli Innocenti
(Italiano)</link></li>
  		<li><link href="http://www.emozionifotografiche.it">Emozioni fotografiche
(Italiano)</link></li>
  		<li>and serveral intranet apps</li>
  	</ul>
  </section>
  </body>
  </document>
  
  

Mime
View raw message