[seam-commits] Seam SVN: r12995 - modules/faces/trunk/docs/reference/src/main/docbook/en-US.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Wed Jun 2 16:08:34 EDT 2010


Author: lincolnthree
Date: 2010-06-02 16:08:34 -0400 (Wed, 02 Jun 2010)
New Revision: 12995

Modified:
   modules/faces/trunk/docs/reference/src/main/docbook/en-US/installation.xml
   modules/faces/trunk/docs/reference/src/main/docbook/en-US/scopes.xml
Log:
A few more docs updates

Modified: modules/faces/trunk/docs/reference/src/main/docbook/en-US/installation.xml
===================================================================
--- modules/faces/trunk/docs/reference/src/main/docbook/en-US/installation.xml	2010-06-02 20:07:16 UTC (rev 12994)
+++ modules/faces/trunk/docs/reference/src/main/docbook/en-US/installation.xml	2010-06-02 20:08:34 UTC (rev 12995)
@@ -16,6 +16,15 @@
 	<tip>
 		<para>Replace ${seam-faces-version} with the most recent or appropriate version of Seam Faces.</para>			
 	</tip>
+	<para>
+		In a Servlet 3.0 or Java EE 6 environment, your configuration is now complete; however, if you are still using Servlet 2.5 or Java EE 5, then you
+		need to add the following code to your application's web.xml file:
+	</para>
+	<programlisting><![CDATA[<web-app>
+	<listener>
+		<listener-class>org.jboss.seam.faces.beanManager.BeanManagerServletContextListener</listener-class>
+	</listener>
+</web-app>]]></programlisting>
 
 <!-- 
 	<section id="configuration">

Modified: modules/faces/trunk/docs/reference/src/main/docbook/en-US/scopes.xml
===================================================================
--- modules/faces/trunk/docs/reference/src/main/docbook/en-US/scopes.xml	2010-06-02 20:07:16 UTC (rev 12994)
+++ modules/faces/trunk/docs/reference/src/main/docbook/en-US/scopes.xml	2010-06-02 20:08:34 UTC (rev 12995)
@@ -10,7 +10,7 @@
 		 same page.
 	</para>
 	<section id="flashscoped">
-		<title>@FlashScope</title>
+		<title>@FlashScoped</title>
 		<para>
 			You should think about using the Flash scope if you want to store information that will be relevant to the user even after an action
 			sends them to another view. For instance, when a user submits a form, you may want to invoke JSF navigation and redirect 
@@ -22,7 +22,7 @@
 			To scope a bean to the Flash, use the <literal>@javax.faces.bean.FlashScoped</literal> annotation. This means that your bean will be stored in the 
 			<literal>org.jboss.seam.context.FlashContext</literal> until the next page is rendered, at which point the FlashScope will be cleared.
 
-<programlisting>
+<programlisting>@FlashScoped
 public class Bean {
 	// ...
 }</programlisting>
@@ -42,7 +42,7 @@
 		</para>
 	</section>
 	<section id="viewscoped">
-		<title>@ViewScope</title>
+		<title>@ViewScoped</title>
 		<para>
 			To scope a bean to the View, use the <literal>@javax.faces.bean.ViewScoped</literal> annotation. This means that your bean will be stored in the 
 			<literal>javax.faces.component.UIViewRoot</literal> object associated with the view in which it was accessed. Each JSF view (faces-page) will store



More information about the seam-commits mailing list