[jboss-cvs] JBossAS SVN: r81387 - projects/docs/enterprise/4.3.3.1/Seam/Seam_Reference_Guide/en-US.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Nov 20 22:48:01 EST 2008


Author: irooskov at redhat.com
Date: 2008-11-20 22:48:00 -0500 (Thu, 20 Nov 2008)
New Revision: 81387

Modified:
   projects/docs/enterprise/4.3.3.1/Seam/Seam_Reference_Guide/en-US/Migration.xml
   projects/docs/enterprise/4.3.3.1/Seam/Seam_Reference_Guide/en-US/Tutorial.xml
Log:
updated Seam Reference Guide with workarounds because of Publican FOP issues pointed out by Marek


Modified: projects/docs/enterprise/4.3.3.1/Seam/Seam_Reference_Guide/en-US/Migration.xml
===================================================================
--- projects/docs/enterprise/4.3.3.1/Seam/Seam_Reference_Guide/en-US/Migration.xml	2008-11-21 03:21:36 UTC (rev 81386)
+++ projects/docs/enterprise/4.3.3.1/Seam/Seam_Reference_Guide/en-US/Migration.xml	2008-11-21 03:48:00 UTC (rev 81387)
@@ -419,627 +419,246 @@
          </itemizedlist>
          
          <para>
-            The following table presents a non-exhaustive list of
+            The following presents a non-exhaustive list of
             changed components:
          </para>
          
-         <table>
+<itemizedlist>
             <title>Component's in Seam 2</title>
-            <tgroup cols="6">
-          <!--     <colspec colnum="1" colwidth="2*" />
-               <colspec colnum="2" colwidth="2*" />
-               <colspec colnum="3" colwidth="2*" />
-               <colspec colnum="4" colwidth="2*" />
-               <colspec colnum="5" colwidth="2*" />
-               <colspec colnum="6" colwidth="2*" /> -->
 
-               <thead>
-                  <row>
-                     <entry>
-                        <para>Component name</para>
-                     </entry>
-                     <entry>
-                        <para>Seam 1.2 Old class</para>
-                     </entry>
-                     <entry>
-                        <para>Seam 2 class</para>
-                     </entry>
-                     <entry>
-                        <para>XML Element</para>
-                     </entry>
-                     <entry>
-                        <para>XML namespace</para>
-                     </entry>
-                     <entry>
-                        <para>XSD</para>
-                     </entry>
-                  </row>
-               </thead>
-               <tbody>
-                  <row>
-                      <entry>
-                        <para><literal>actor</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>org.jboss.seam.core.Actor</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>org.jboss.seam.bpm.Actor</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>&lt;bpm:actor /&gt;</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>http://jboss.com/products/seam/bpm</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>http://jboss.com/products/seam/bpm-2.0.xsd</literal></para>
-                     </entry>
-                  </row>
-                  <row>
-                      <entry>
-                        <para><literal>businessProcess</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>org.jboss.seam.core.BusinessProcess</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>org.jboss.seam.bpm.BusinessProcess</literal></para>
-                     </entry>
-                     <entry>
-                        <para>N/A</para>
-                     </entry>
-                     <entry>
-                        <para>N/A</para>
-                     </entry>
-                     <entry>
-                        <para>N/A</para>
-                     </entry>
-                  </row>
-                  <row>
-                     <entry>
-                        <para><literal>dispatcher</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>org.jboss.seam.core.Dispatcher</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>org.jboss.seam.async.Dispatcher</literal> (now an interface)</para>
-                     </entry>
-                     <entry>
-                        <para><literal>&lt;async:timer-service-dispatcher /&gt;</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>http://jboss.com/products/seam/async</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>http://jboss.com/products/seam/async-2.0.xsd</literal></para>
-                     </entry>
-                  </row>
-                  <row>
-                      <entry>
-                        <para>Specified by user</para>
-                     </entry>
-                     <entry>
-                        <para><literal>javax.persistence.EntityManagerFactory</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>javax.persistence.EntityManagerFactory</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>&lt;persistence:entity-manager-factory /&gt;</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>http://jboss.com/products/seam/persistence</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>http://jboss.com/products/seam/persistence-2.0.xsd</literal></para>
-                     </entry>
-                  </row>
-                  <row>
-                     <entry>
-                        <para><literal>exceptions</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>org.jboss.seam.core.Exceptions</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>org.jboss.seam.exception.Exceptions</literal></para>
-                     </entry>
-                     <entry>
-                        <para>N/A</para>
-                     </entry>
-                     <entry>
-                        <para>N/A</para>
-                     </entry>
-                     <entry>
-                        <para>N/A</para>
-                     </entry>
-                  </row>
-                  <row>
-                     <entry>
-                        <para><literal>facesMessages</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>org.jboss.seam.core.FacesMessages</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>org.jboss.seam.faces.FacesMessages</literal></para>
-                     </entry>
-                     <entry>
-                        <para>N/A</para>
-                     </entry>
-                     <entry>
-                        <para>N/A</para>
-                     </entry>
-                     <entry>
-                        <para>N/A</para>
-                     </entry>
-                  </row>
-                  <row>
-                     <entry>
-                        <para><literal>facesPage</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>org.jboss.seam.core.FacesPage</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>org.jboss.seam.faces.FacesPage</literal></para>
-                     </entry>
-                     <entry>
-                        <para>N/A</para>
-                     </entry>
-                     <entry>
-                        <para>N/A</para>
-                     </entry>
-                     <entry>
-                        <para>N/A</para>
-                     </entry>
-                  </row>
-                  
-                  <row>
-                     <entry>
-                        <para>Specified by user</para>
-                     </entry>
-                     <entry>
-                        <para><literal>org.jboss.seam.core.Filter</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>org.jboss.seam.persistence.Filter</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>&lt;persistence:filter /&gt;</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>http://jboss.com/products/seam/persistence</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>http://jboss.com/products/seam/persistence-2.0.xsd</literal></para>
-                     </entry>
-                  </row>
-                  <row>
-                     <entry>
-                        <para>Specified by user</para>
-                     </entry>
-                     <entry>
-                        <para><literal>org.jboss.seam.core.HibernateSessionFactory</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>org.jboss.seam.persistence.HibernateSessionFactory</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>&lt;persistence:hibernate-session-factory /&gt;</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>http://jboss.com/products/seam/persistence</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>http://jboss.com/products/seam/persistence-2.0.xsd</literal></para>
-                     </entry>
-                  </row>
-                  <row>
-                     <entry>
-                        <para><literal>httpError</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>org.jboss.seam.core.HttpError</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>org.jboss.seam.faces.HttpError</literal></para>
-                     </entry>
-                     <entry>
-                        <para>N/A</para>
-                     </entry>
-                     <entry>
-                        <para>N/A</para>
-                     </entry>
-                     <entry>
-                        <para>N/A</para>
-                     </entry>
-                  </row>
-                  <row>
-                     <entry>
-                        <para><literal>image</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>org.jboss.seam.core.Image</literal></para>
-                     </entry>
-                     <entry>
-                        <para>removed</para>
-                     </entry>
-                     <entry>
-                        <para>N/A</para>
-                     </entry>
-                     <entry>
-                        <para>N/A</para>
-                     </entry>
-                     <entry>
-                        <para>N/A</para>
-                     </entry>
-                  </row>
-                  <row>
-                     <entry>
-                        <para><literal>isUserInRole</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>Map&lt;String, Boolean&gt;</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>org.jboss.seam.faces.IsUserInRole</literal></para>
-                     </entry>
-                     <entry>
-                        <para>N/A</para>
-                     </entry>
-                     <entry>
-                        <para>N/A</para>
-                     </entry>
-                     <entry>
-                        <para>N/A</para>
-                     </entry>
-                  </row>
-                  <row>
-                     <entry>
-                        <para><literal>jbpm</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>org.jboss.seam.core.Jbpm</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>org.jboss.seam.bpm.Jbpm</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>bpm</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>http://jboss.com/products/seam/bpm</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>http://jboss.com/products/seam/bpm-2.0.xsd</literal></para>
-                     </entry>
-                  </row>
-                  <row>
-                     <entry>
-                        <para>N/A</para>
-                     </entry>
-                     <entry>
-                        <para><literal>org.jboss.seam.core.LocalDispatcher</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>org.jboss.seam.async.LocalDispatcher</literal></para>
-                     </entry>
-                     <entry>
-                        <para>N/A</para>
-                     </entry>
-                     <entry>
-                        <para>N/A</para>
-                     </entry>
-                     <entry>
-                        <para>N/A</para>
-                     </entry>
-                  </row>
-                  <row>
-                     <entry>
-                        <para><literal>localeSelector</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>org.jboss.seam.core.LocaleSelector</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>org.jboss.seam.international.LocaleSelector</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>&lt;international:locale-selector /&gt;</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>http://jboss.com/products/seam/international</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>http://jboss.com/products/seam/international-2.0.xsd</literal></para>
-                     </entry>
-                  </row>
-                  <row>
-                     <entry>
-                        <para>N/A</para>
-                     </entry>
-                     <entry>
-                        <para><literal>org.jboss.seam.core.LocalTransactionListener</literal></para>
-                     </entry>
-                     <entry>
-                        <para>removed</para>
-                     </entry>
-                     <entry>
-                        <para>N/A</para>
-                     </entry>
-                     <entry>
-                        <para>N/A</para>
-                     </entry>
-                     <entry>
-                        <para>N/A</para>
-                     </entry>
-                  </row>
-                  <row>
-                     <entry>
-                        <para>Specified by user</para>
-                     </entry>
-                     <entry>
-                        <para><literal>org.jboss.seam.core.ManagedHibernateSession</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>org.jboss.seam.persistence.ManagedHibernateSession</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>&lt;persistence:managed-hibernate-session /&gt;</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>http://jboss.com/products/seam/persistence</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>http://jboss.com/products/seam/persistence-2.0.xsd</literal></para>
-                     </entry>
-                  </row>
-                  <row>
-                     <entry>
-                        <para><literal>jbpmContext</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>org.jboss.seam.core.ManagedJbpmContext</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>org.jboss.seam.bpm.ManagedJbpmContext</literal></para>
-                     </entry>
-                     <entry>
-                        <para>N/A</para>
-                     </entry>
-                     <entry>
-                        <para>N/A</para>
-                     </entry>
-                     <entry>
-                        <para>N/A</para>
-                     </entry>
-                  </row>
-                  <row>
-                     <entry>
-                        <para>Specified by user</para>
-                     </entry>
-                     <entry>
-                        <para><literal>org.jboss.seam.core.ManagedEntityManager</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>org.jboss.seam.persistence.ManagedEntityManager</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>&lt;persistence:managed-entity-manager /&gt;</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>http://jboss.com/products/seam/persistence</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>http://jboss.com/products/seam/persistence-2.0.xsd</literal></para>
-                     </entry>
-                  </row>
-                  <row>
-                     <entry>
-                        <para><literal>microcontainer</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>org.jboss.seam.core.Microcontainer</literal></para>
-                     </entry>
-                     <entry>
-                        <para>removed</para>
-                     </entry>
-                     <entry>
-                        <para>N/A</para>
-                     </entry>
-                     <entry>
-                        <para>N/A</para>
-                     </entry>
-                     <entry>
-                        <para>N/A</para>
-                     </entry>
-                  </row>
-                  <row>
-                     <entry>
-                        <para><literal>pageflow</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>org.jboss.seam.core.Pageflow</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>org.jboss.seam.bpm.Pageflow</literal></para>
-                     </entry>
-                     <entry>
-                        <para>N/A</para>
-                     </entry>
-                     <entry>
-                        <para>N/A</para>
-                     </entry>
-                     <entry>
-                        <para>N/A</para>
-                     </entry>
-                  </row>
-                  <row>
-                     <entry>
-                        <para><literal>pages</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>org.jboss.seam.core.Pages</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>org.jboss.seam.navigation.Pages</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>&lt;navigation:pages/&gt;</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>http://jboss.com/products/seam/navigation</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>http://jboss.com/products/seam/navigation-2.0.xsd</literal></para>
-                     </entry>
-                  </row>
-                  <row>
-                     <entry>
-                        <para><literal>persistenceContexts</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>org.jboss.seam.core.PersistenceContexts</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>org.jboss.seam.persistence.PersistenceContexts</literal></para>
-                     </entry>
-                     <entry>
-                        <para>N/A</para>
-                     </entry>
-                     <entry>
-                        <para>N/A</para>
-                     </entry>
-                     <entry>
-                        <para>N/A</para>
-                     </entry>
-                  </row>
-                  <row>
-                     <entry>
-                        <para><literal>pooledTask</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>org.jboss.seam.core.PooledTask</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>org.jboss.seam.bpm.PooledTask</literal></para>
-                     </entry>
-                     <entry>
-                        <para>N/A</para>
-                     </entry>
-                     <entry>
-                        <para>N/A</para>
-                     </entry>
-                     <entry>
-                        <para>N/A</para>
-                     </entry>
-                  </row>
-                  <row>
-                     <entry>
-                        <para><literal>processInstanceFinder</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>org.jboss.seam.core.ProcessInstanceFinder</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>org.jboss.seam.bpm.ProcessInstanceFinder</literal></para>
-                     </entry>
-                     <entry>
-                        <para>N/A</para>
-                     </entry>
-                     <entry>
-                        <para>N/A</para>
-                     </entry>
-                     <entry>
-                        <para>N/A</para>
-                     </entry>
-                  </row>
-                  <row>
-                     <entry>
-                        <para><literal>redirect</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>org.jboss.seam.core.Redirect</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>org.jboss.seam.faces.Redirect</literal></para>
-                     </entry>
-                     <entry>
-                        <para>N/A</para>
-                     </entry>
-                     <entry>
-                        <para>N/A</para>
-                     </entry>
-                     <entry>
-                        <para>N/A</para>
-                     </entry>
-                  </row>
-                  <row>
-                     <entry>
-                        <para><literal>switcher</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>org.jboss.seam.core.Switcher</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>org.jboss.seam.faces.Switcher</literal></para>
-                     </entry>
-                     <entry>
-                        <para>N/A</para>
-                     </entry>
-                     <entry>
-                        <para>N/A</para>
-                     </entry>
-                     <entry>
-                        <para>N/A</para>
-                     </entry>
-                  </row>
-                  <row>
-                     <entry>
-                        <para><literal>timeZoneSelector</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>org.jboss.seam.core.TimeZoneSelector</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>org.jboss.seam.international.TimeZoneSelector</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>&lt;international:time-zone-selector /&gt;</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>http://jboss.com/products/seam/international</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>http://jboss.com/products/seam/international-2.0.xsd</literal></para>
-                     </entry>
-                  </row>
-                  <row>
-                     <entry>
-                        <para><literal>transition</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>org.jboss.seam.core.Transistion</literal></para>
-                     </entry>
-                     <entry>
-                        <para><literal>org.jboss.seam.bpm.Transition</literal></para>
-                     </entry>
-                     <entry>
-                        <para>N/A</para>
-                     </entry>
-                     <entry>
-                        <para>N/A</para>
-                     </entry>
-                     <entry>
-                        <para>N/A</para>
-                     </entry>
-                  </row>
-               </tbody>
-            </tgroup>
-         </table>
+                <listitem>
+			<para>Component name: <literal>actor</literal></para>
+			<para>Seam 1.2 Old class: <literal>org.jboss.seam.core.Actor</literal></para>
+			<para>Seam 2 class: <literal>org.jboss.seam.bpm.Actor</literal></para>
+			<para>XML Element: <literal>&lt;bpm:actor /&gt;</literal></para>
+			<para>XML namespace: <literal>http://jboss.com/products/seam/bpm</literal></para>
+			<para>XSD: <literal>http://jboss.com/products/seam/bpm-2.0.xsd</literal></para>
+		</listitem>
+		<listitem>
+			<para>Component name: <literal>businessProcess</literal></para>
+			<para>Seam 1.2 Old class: <literal>org.jboss.seam.core.BusinessProcess</literal></para>
+			<para>Seam 2 class: <literal>org.jboss.seam.bpm.BusinessProcess</literal></para>
+	<!--		<para>XML Element: </para>
+			<para>XML namespace: </para>
+			<para>XSD: </para> -->
+		</listitem>
+		<listitem>
+			<para>Component name: <literal>dispatcher</literal></para>
+			<para>Seam 1.2 Old class: <literal>org.jboss.seam.core.Dispatcher</literal></para>
+			<para>Seam 2 class: <literal>org.jboss.seam.async.Dispatcher</literal> (now an interface)</para>
+			<para>XML Element: <literal>&lt;async:timer-service-dispatcher /&gt;</literal></para>
+			<para>XML namespace: <literal>http://jboss.com/products/seam/async</literal></para>
+			<para>XSD: <literal>http://jboss.com/products/seam/async-2.0.xsd</literal></para>
+		</listitem>
+		<listitem>
+			<para>Component name: Specified by user</para>
+			<para>Seam 1.2 Old class: <literal>javax.persistence.EntityManagerFactory</literal></para>
+			<para>Seam 2 class: <literal>javax.persistence.EntityManagerFactory</literal></para>
+			<para>XML Element: <literal>&lt;persistence:entity-manager-factory /&gt;</literal></para>
+			<para>XML namespace: <literal>http://jboss.com/products/seam/persistence</literal></para>
+			<para>XSD: <literal>http://jboss.com/products/seam/persistence-2.0.xsd</literal></para>
+		</listitem>
+		<listitem>
+			<para>Component name: <literal>exceptions</literal></para>
+			<para>Seam 1.2 Old class: <literal>org.jboss.seam.core.Exceptions</literal></para>
+			<para>Seam 2 class: <literal>org.jboss.seam.exception.Exceptions</literal></para>
+		<!--	<para>XML Element: </para>
+			<para>XML namespace: </para>
+			<para>XSD: </para> -->
+		</listitem>
+		<listitem>
+			<para>Component name: <literal>facesMessages</literal></para>
+			<para>Seam 1.2 Old class: <literal>org.jboss.seam.core.FacesMessages</literal></para>
+			<para>Seam 2 class: <literal>org.jboss.seam.faces.FacesMessages</literal></para>
+		<!--	<para>XML Element: </para>
+			<para>XML namespace: </para>
+			<para>XSD: </para> -->
+		</listitem>
+		<listitem>
+			<para>Component name: <literal>facesPage</literal></para>
+			<para>Seam 1.2 Old class: <literal>org.jboss.seam.core.FacesPage</literal></para>
+			<para>Seam 2 class: <literal>org.jboss.seam.faces.FacesPage</literal></para>
+		<!--	<para>XML Element: </para>
+			<para>XML namespace: </para>
+			<para>XSD: </para> -->
+		</listitem> 
+		<listitem>
+			<para>Component name: Specified by user</para>
+			<para>Seam 1.2 Old class: <literal>org.jboss.seam.core.Filter</literal></para>
+			<para>Seam 2 class: <literal>org.jboss.seam.persistence.Filter</literal></para>
+			<para>XML Element: <literal>&lt;persistence:filter /&gt;</literal></para>
+			<para>XML namespace: <literal>http://jboss.com/products/seam/persistence</literal></para>
+			<para>XSD: <literal>http://jboss.com/products/seam/persistence-2.0.xsd</literal></para>
+		</listitem>
+		<listitem>
+			<para>Component name: Specified by user</para>
+			<para>Seam 1.2 Old class: <literal>org.jboss.seam.core.HibernateSessionFactory</literal></para>
+			<para>Seam 2 class: <literal>org.jboss.seam.persistence.HibernateSessionFactory</literal></para>
+			<para>XML Element: <literal>&lt;persistence:hibernate-session-factory /&gt;</literal></para>
+			<para>XML namespace: <literal>http://jboss.com/products/seam/persistence</literal></para>
+			<para>XSD: <literal>http://jboss.com/products/seam/persistence-2.0.xsd</literal></para>
+		</listitem>
+		<listitem>
+			<para>Component name: <literal>httpError</literal></para>
+			<para>Seam 1.2 Old class: <literal>org.jboss.seam.core.HttpError</literal></para>
+			<para>Seam 2 class: <literal>org.jboss.seam.faces.HttpError</literal></para>
+		<!--	<para>XML Element: </para>
+			<para>XML namespace: </para>
+			<para>XSD: </para> -->
+		</listitem>
+		<listitem>
+			<para>Component name: <literal>image</literal></para>
+			<para>Seam 1.2 Old class: <literal>org.jboss.seam.core.Image</literal></para>
+			<para>Seam 2 class: removed</para>
+		<!--	<para>XML Element: </para>
+			<para>XML namespace: </para>
+			<para>XSD: </para> -->
+		</listitem>
+		<listitem>
+			<para>Component name: <literal>isUserInRole</literal></para>
+			<para>Seam 1.2 Old class: <literal>Map&lt;String, Boolean&gt;</literal></para>
+			<para>Seam 2 class: <literal>org.jboss.seam.faces.IsUserInRole</literal></para>
+		<!--	<para>XML Element: </para>
+			<para>XML namespace: </para>
+			<para>XSD: </para> -->
+		</listitem>
+		<listitem>
+			<para>Component name: <literal>jbpm</literal></para>
+			<para>Seam 1.2 Old class: <literal>org.jboss.seam.core.Jbpm</literal></para>
+			<para>Seam 2 class: <literal>org.jboss.seam.bpm.Jbpm</literal></para>
+			<para>XML Element: <literal>bpm</literal></para>
+			<para>XML namespace: <literal>http://jboss.com/products/seam/bpm</literal></para>
+			<para>XSD: <literal>http://jboss.com/products/seam/bpm-2.0.xsd</literal></para>
+		</listitem>
+		<listitem>
+		<!--	<para>Component name: </para> -->
+		<para>Seam 1.2 Old class: <literal>org.jboss.seam.core.LocalDispatcher</literal></para>
+		<para>Seam 2 class: <literal>org.jboss.seam.async.LocalDispatcher</literal></para>
+		<!--	<para>XML Element: </para>
+			<para>XML namespace: </para>
+			<para>XSD: </para> -->
+		</listitem>
+		<listitem>
+			<para>Component name: <literal>localeSelector</literal></para>
+			<para>Seam 1.2 Old class: <literal>org.jboss.seam.core.LocaleSelector</literal></para>
+			<para>Seam 2 class: <literal>org.jboss.seam.international.LocaleSelector</literal></para>
+			<para>XML Element: <literal>&lt;international:locale-selector /&gt;</literal></para>
+			<para>XML namespace: <literal>http://jboss.com/products/seam/international</literal></para>
+			<para>XSD: <literal>http://jboss.com/products/seam/international-2.0.xsd</literal></para>
+		</listitem>
+		<listitem>
+		<!--	<para>Component name: </para> -->
+		<para>Seam 1.2 Old class: <literal>org.jboss.seam.core.LocalTransactionListener</literal></para>
+		<para>Seam 2 class: removed</para>
+		<!--	<para>XML Element: </para>
+			<para>XML namespace: </para>
+			<para>XSD: </para> -->
+		</listitem>
+		<listitem>
+			<para>Component name: Specified by user</para>
+			<para>Seam 1.2 Old class: <literal>org.jboss.seam.core.ManagedHibernateSession</literal></para>
+			<para>Seam 2 class: <literal>org.jboss.seam.persistence.ManagedHibernateSession</literal></para>
+			<para>XML Element: <literal>&lt;persistence:managed-hibernate-session /&gt;</literal></para>
+			<para>XML namespace: <literal>http://jboss.com/products/seam/persistence</literal></para>
+			<para>XSD: <literal>http://jboss.com/products/seam/persistence-2.0.xsd</literal></para>
+		</listitem>
+		<listitem>
+			<para>Component name: <literal>jbpmContext</literal></para>
+			<para>Seam 1.2 Old class: <literal>org.jboss.seam.core.ManagedJbpmContext</literal></para>
+			<para>Seam 2 class: <literal>org.jboss.seam.bpm.ManagedJbpmContext</literal></para>
+		<!--	<para>XML Element: </para>
+			<para>XML namespace: </para>
+			<para>XSD: </para> -->
+		</listitem>
+		<listitem>
+			<para>Component name: Specified by user</para>
+			<para>Seam 1.2 Old class: <literal>org.jboss.seam.core.ManagedEntityManager</literal></para>
+			<para>Seam 2 class: <literal>org.jboss.seam.persistence.ManagedEntityManager</literal></para>
+			<para>XML Element: <literal>&lt;persistence:managed-entity-manager /&gt;</literal></para>
+			<para>XML namespace: <literal>http://jboss.com/products/seam/persistence</literal></para>
+			<para>XSD: <literal>http://jboss.com/products/seam/persistence-2.0.xsd</literal></para>
+		</listitem>
+		<listitem>
+			<para>Component name: <literal>microcontainer</literal></para>
+			<para>Seam 1.2 Old class: <literal>org.jboss.seam.core.Microcontainer</literal></para>
+			<para>Seam 2 class: removed</para>
+		<!--	<para>XML Element: </para>
+			<para>XML namespace: </para>
+			<para>XSD: </para> -->
+		</listitem>
+		<listitem>
+			<para>Component name: <literal>pageflow</literal></para>
+			<para>Seam 1.2 Old class: <literal>org.jboss.seam.core.Pageflow</literal></para>
+			<para>Seam 2 class: <literal>org.jboss.seam.bpm.Pageflow</literal></para>
+		<!--	<para>XML Element: </para>
+			<para>XML namespace: </para>
+			<para>XSD: </para> -->
+		</listitem>
+		<listitem>
+			<para>Component name: <literal>pages</literal></para>
+			<para>Seam 1.2 Old class: <literal>org.jboss.seam.core.Pages</literal></para>
+			<para>Seam 2 class: <literal>org.jboss.seam.navigation.Pages</literal></para>
+			<para>XML Element: <literal>&lt;navigation:pages/&gt;</literal></para>
+			<para>XML namespace: <literal>http://jboss.com/products/seam/navigation</literal></para>
+			<para>XSD: <literal>http://jboss.com/products/seam/navigation-2.0.xsd</literal></para>
+		</listitem>
+		<listitem>
+			<para>Component name: <literal>persistenceContexts</literal></para>
+			<para>Seam 1.2 Old class: <literal>org.jboss.seam.core.PersistenceContexts</literal></para>
+			<para>Seam 2 class: <literal>org.jboss.seam.persistence.PersistenceContexts</literal></para>
+		<!--	<para>XML Element: </para>
+			<para>XML namespace: </para>
+			<para>XSD: </para> -->
+		</listitem>
+		<listitem>
+			<para>Component name: <literal>pooledTask</literal></para>
+			<para>Seam 1.2 Old class: <literal>org.jboss.seam.core.PooledTask</literal></para>
+			<para>Seam 2 class: <literal>org.jboss.seam.bpm.PooledTask</literal></para>
+		<!--	<para>XML Element: </para>
+			<para>XML namespace: </para>
+			<para>XSD: </para> -->
+		</listitem>
+		<listitem>
+			<para>Component name: <literal>processInstanceFinder</literal></para>
+			<para>Seam 1.2 Old class: <literal>org.jboss.seam.core.ProcessInstanceFinder</literal></para>
+			<para>Seam 2 class: <literal>org.jboss.seam.bpm.ProcessInstanceFinder</literal></para>
+		<!--	<para>XML Element: </para>
+			<para>XML namespace: </para>
+			<para>XSD: </para> -->
+		</listitem>
+		<listitem>
+			<para>Component name: <literal>redirect</literal></para>
+			<para>Seam 1.2 Old class: <literal>org.jboss.seam.core.Redirect</literal></para>
+			<para>Seam 2 class: <literal>org.jboss.seam.faces.Redirect</literal></para>
+		<!--	<para>XML Element: </para>
+			<para>XML namespace: </para>
+			<para>XSD: </para> -->
+		</listitem>
+		<listitem>
+			<para>Component name: <literal>switcher</literal></para>
+			<para>Seam 1.2 Old class: <literal>org.jboss.seam.core.Switcher</literal></para>
+			<para>Seam 2 class: <literal>org.jboss.seam.faces.Switcher</literal></para>
+		<!--	<para>XML Element: </para>
+			<para>XML namespace: </para>
+			<para>XSD: </para> -->
+		</listitem>
+		<listitem>
+			<para>Component name: <literal>timeZoneSelector</literal></para>
+			<para>Seam 1.2 Old class: <literal>org.jboss.seam.core.TimeZoneSelector</literal></para>
+			<para>Seam 2 class: <literal>org.jboss.seam.international.TimeZoneSelector</literal></para>
+			<para>XML Element: <literal>&lt;international:time-zone-selector /&gt;</literal></para>
+			<para>XML namespace: <literal>http://jboss.com/products/seam/international</literal></para>
+			<para>XSD: <literal>http://jboss.com/products/seam/international-2.0.xsd</literal></para>
+		</listitem>
+		<listitem>
+			<para>Component name: <literal>transition</literal></para>
+			<para>Seam 1.2 Old class: <literal>org.jboss.seam.core.Transistion</literal></para>
+			<para>Seam 2 class: <literal>org.jboss.seam.bpm.Transition</literal></para>
+		<!--	<para>XML Element: </para>
+			<para>XML namespace: </para>
+			<para>XSD: </para> -->
+		</listitem>
+	</itemizedlist>
          
       </section>
       

Modified: projects/docs/enterprise/4.3.3.1/Seam/Seam_Reference_Guide/en-US/Tutorial.xml
===================================================================
--- projects/docs/enterprise/4.3.3.1/Seam/Seam_Reference_Guide/en-US/Tutorial.xml	2008-11-21 03:21:36 UTC (rev 81386)
+++ projects/docs/enterprise/4.3.3.1/Seam/Seam_Reference_Guide/en-US/Tutorial.xml	2008-11-21 03:48:00 UTC (rev 81387)
@@ -141,8 +141,8 @@
                         <emphasis>validation</emphasis> declaratively, via annotations. It also needs some extra
                     annotations that define the class as a Seam component. </para>
                   <!-- Can't use code hightlighting with callouts -->
-                  <example>
-                  <title></title>
+    <!--              <example>
+                  <title></title> -->
                         <programlisting role="JAVA">
 @Entity &lt;co id="registration-entity-annotation"/&gt;
 @Name("user")
@@ -239,7 +239,7 @@
 
                                 <para> The EJB standard <literal>@Id</literal> annotation indicates the primary key
                                     attribute of the entity bean. </para>
-                    </example>
+              <!--      </example> -->
                     <para> The most important things to notice in this example are the <literal>@Name</literal> and
                             <literal>@Scope</literal> annotations. These annotations establish that this class is a Seam component. </para>
                     <para> We'll see below that the properties of our <literal>User</literal> class are bound
@@ -263,8 +263,8 @@
 
                 <para> This is the only really interesting code in the example! </para>
                     <!-- Can't use code hightlighting with callouts -->
-                    <example>
-                    <title></title>
+    <!--                <example>
+                    <title></title> -->
 
                         <programlisting>
 @Stateless
@@ -347,7 +347,7 @@
                                     display templated error or success messages. Built-in Seam components may be
                                     obtained by injection, or by calling an <literal>instance()</literal> method.
                                 </para>
-                    </example>
+            <!--        </example> -->
 
                     <para> Note that we did not explicitly specify a <literal>@Scope</literal> this time. Each Seam
                         component type has a default scope if not explicitly specified. For stateless session beans, the
@@ -373,15 +373,17 @@
 
                 <para>Naturally, our session bean needs a local interface.</para>
 
-                 <example><title></title>
+    <!--             <example><title></title> -->
                  <programlisting role="JAVA">
 @Local
 public interface Register
 {
    public String register();
-}</programlisting></example>
-                
+}</programlisting>
 
+<!--</example> -->
+                 
+
                 <para> That's the end of the Java code. Now onto the deployment descriptors. </para>
 
             </section>
@@ -401,8 +403,8 @@
                     configuration in a file called <literal>components.xml</literal>, located in the
                     <literal>WEB-INF</literal> directory. We'll use the <literal>components.xml</literal> file to tell
                     Seam how to find our EJB components in JNDI: </para>
-                 <example>
-                 <title></title>
+   <!--              <example>
+                 <title></title> -->
                 <programlisting role="XML">
 &lt;?xml version="1.0" encoding="UTF-8"?&gt;
 &lt;components xmlns="http://jboss.com/products/seam/components"
@@ -414,8 +416,10 @@
             
      &lt;core:init jndi-pattern="@jndiPattern@"/&gt;
      
-&lt;/components&gt; </programlisting></example>
+&lt;/components&gt; </programlisting>
 
+<!--</example> -->
+
                 <para> This code configures a property named <literal>jndiPattern</literal> of a built-in Seam component
                     named <literal>org.jboss.seam.core.init</literal>. The funny <literal>@</literal> symbols are
                     there because our Ant build script puts the correct JNDI pattern in when we deploy the application.</para>
@@ -427,7 +431,7 @@
 
                 <para> The presentation layer for our mini-application will be deployed in a WAR. So we'll need a web
                     deployment descriptor. </para>
-                     <example><title></title>
+   <!--                  <example><title></title> -->
                     <programlisting role="XML">
 &lt;?xml version="1.0" encoding="UTF-8"?&gt;
 &lt;web-app version="2.5"
@@ -468,7 +472,8 @@
     	&lt;session-timeout&gt;10&lt;/session-timeout&gt;
     &lt;/session-config&gt;
 
-&lt;/web-app&gt;</programlisting></example>
+&lt;/web-app&gt;</programlisting>
+<!--</example> -->
                 
 
                 <para> This <literal>web.xml</literal> file configures Seam and JSF. The configuration you see here is
@@ -483,8 +488,8 @@
                         <literal>faces-config.xml</literal>. In our case, we are going to use Facelets for
                         defining our views, so we need to tell JSF to use Facelets as its templating engine. </para>
             
-                <example>
-                <title></title>
+ <!--               <example>
+                <title></title> -->
                     <programlisting role="XML">
 &lt;?xml version="1.0" encoding="UTF-8"?&gt;
 &lt;faces-config version="1.2"
@@ -498,7 +503,7 @@
     &lt;/application&gt;
     
 &lt;/faces-config&gt;</programlisting>
-                </example>
+   <!--             </example> -->
                 
 
                 <para> Note that we don't need
@@ -578,8 +583,8 @@
                 <para> The view pages for a Seam application could be implemented using any technology that supports
                     JSF. In this example we use Facelets, because we think it's better than JSP.</para>
 
-                <example>
-                <title></title>
+    <!--            <example>
+                <title></title> -->
                     <programlisting role="XHTML">
 &lt;?xml version="1.0" encoding="utf-8"?&gt;
 &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
@@ -608,15 +613,16 @@
 	&lt;/f:view&gt;
 &lt;/body&gt;
 
-&lt;/html&gt;</programlisting></example>
+&lt;/html&gt;</programlisting>
+<!--</example> -->
                 
 
                 <para> The only thing here that is specific to Seam is the
                     <literal>&lt;s:validateAll&gt;</literal> tag. This JSF component tells JSF to validate all
                     the contained input fields against the Hibernate Validator annotations specified on the entity bean. </para>
 
-                <example>
-                  <title></title>
+ <!--               <example>
+                  <title></title> -->
                     <programlisting role="XHTML">
 &lt;?xml version="1.0" encoding="utf-8"?&gt;
 &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
@@ -632,7 +638,7 @@
 &lt;/body&gt;
 
  &lt;/html&gt;</programlisting>
-                </example>
+ <!--               </example> -->
 
 
                 <para> This is a boring old Facelets page using some embedded EL. There is nothing specific to Seam
@@ -645,7 +651,7 @@
 
                 <para> Finally, since our application is deployed as an EAR, we need a deployment descriptor there, too. </para>
 
-                <example id="registration-application-xml"><title>registration application</title>
+ <!--               <example id="registration-application-xml"><title>registration application</title> -->
                   <programlisting role="XML">
 &lt;?xml version="1.0" encoding="UTF-8"?&gt;
 &lt;application xmlns="http://java.sun.com/xml/ns/javaee" 
@@ -673,7 +679,7 @@
 &lt;/module&gt;
 
  &lt;/application&gt;</programlisting>
-                </example>
+   <!--             </example> -->
 
                 <para> This deployment descriptor links modules in the enterprise archive and binds the web application
                     to the context root <literal>/seam-registration</literal>. </para>
@@ -740,8 +746,8 @@
                 <para> The <literal>Message</literal> entity defines the title, text, date and time of a message, and a
                     flag indicating whether the message has been read: </para>
 
-                <example>
-                    <title></title>
+<!--                <example>
+                    <title></title> -->
                     <programlisting role="JAVA">
 @Entity
 @Name("message")
@@ -796,7 +802,7 @@
    }
    
 }</programlisting>
-                 </example>
+   <!--              </example> -->
 
             </section>
 
@@ -817,8 +823,8 @@
                 <para> We want to cache the list of messages in memory between server requests, so we will make this a
                     stateful session bean. </para>
                  <!-- Can't use code hightlighting with callouts -->
-                <example>
-                    <title></title>
+ <!--               <example>
+                    <title></title> -->
                         <programlisting>
 @Stateful
 @Scope(SESSION)
@@ -898,7 +904,7 @@
                                     with no parameters marked <literal>@Remove</literal> that Seam uses to remove 
                                     the stateful bean when the Seam context ends, and clean up any server-side state.
                                 </para>
-                </example>
+  <!--              </example> -->
 
                 <para> Note that this is a session-scoped Seam component. It is associated with the user login session,
                     and all requests from a login session share the same instance of the component. (In Seam
@@ -935,8 +941,8 @@
 
                 <para> The JSP page is a straightforward use of the JSF <literal>&lt;h:dataTable&gt;</literal>
                     component. Again, nothing specific to Seam. </para>
-                <example>
-                    <title></title>
+  <!--              <example>
+                    <title></title> -->
                     <programlisting role="XHTML">
 &lt;%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %&gt;
 &lt;%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %&gt;
@@ -982,7 +988,7 @@
 			    &lt;/f:view&gt;
 	&lt;/body&gt;
 &lt;/html&gt;</programlisting>
-                </example>
+ <!--               </example> -->
                 
 
             </section>
@@ -1045,8 +1051,8 @@
                 JavaBeans (There was no reason to use session beans, since they do not access the database, or have any
                 other transactional behavior). Let's start with the process definition: </para>
              <!-- Can't use code hightlighting with callouts -->
-             <example>
-                 <title></title>
+ <!--            <example>
+                 <title></title> -->
                     <programlisting>
 &lt;process-definition name="todo"&gt;
    
@@ -1086,8 +1092,8 @@
                             <para> The <literal>&lt;end-state&gt;</literal> node defines the logical end of the
                                 business process. When execution reaches this node, the process instance is destroyed.
                             </para>
-            </example>
-            
+ <!--           </example> -->
+             
 
             <para> If we view this process definition using the process definition editor provided by JBossIDE, this is
                 what it looks like: </para>
@@ -1108,8 +1114,8 @@
             <para> The first JavaBean handles the login screen <literal>login.jsp</literal>. Its job is just to
                 initialize the jBPM actor id using the <literal>actor</literal> component. (In a real application, it
                 would also need to authenticate the user.) </para>
-            <example>
-               <title></title>
+  <!--          <example>
+               <title></title> -->
                <programlisting role="JAVA">
 @Name("login")
 public class Login {
@@ -1133,7 +1139,7 @@
       return "/todo.jsp";
    }
 }</programlisting>
-            </example>
+  <!--          </example> -->
             
 
             <para> Here we see the use of <literal>@In</literal> to inject the built-in <literal>Actor</literal>
@@ -1166,8 +1172,8 @@
             <para> The second JavaBean is responsible for starting business process instances, and ending tasks. </para>
 
             <!-- Can't use code hightlighting with callouts -->
-            <example>
-               <title></title>
+  <!--          <example>
+               <title></title> -->
                  <programlisting>
 @Name("todoList")
 public class TodoList {
@@ -1200,7 +1206,7 @@
                             <para> The Seam <literal>@StartTask</literal> annotation starts work on a task. The
                                     <literal>@EndTask</literal> ends the task, and allows the business process execution
                                 to resume. </para>
-            </example>
+<!--            </example> -->
             
 
             <para> In a more realistic example, <literal>@StartTask</literal> and <literal>@EndTask</literal> would not
@@ -1208,8 +1214,8 @@
                 complete the task. </para>
 
             <para> Finally, the meat of the application is in <literal>todo.jsp</literal>: </para>
-            <example>
-                <title></title>
+  <!--          <example>
+                <title></title> -->
                 <programlisting role="XHTML">
 &lt;%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %&gt;
 &lt;%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %&gt;
@@ -1276,15 +1282,15 @@
 		&lt;/f:view&gt;
 	&lt;/body&gt;
 &lt;/html&gt;</programlisting>
-            </example>
+  <!--          </example> -->
             
 
             <para> Let's take this one piece at a time. </para>
 
             <para> The page renders a list of tasks, which it gets from a built-in Seam component named
                     <literal>taskInstanceList</literal>. The list is defined inside a JSF form. </para>
-            <example>
-                <title></title>
+  <!--          <example>
+                <title></title> -->
                 <programlisting role="XHTML">
 &lt;h:form id="list"&gt;
 &lt;div&gt;
@@ -1295,7 +1301,7 @@
 	 &lt;/h:dataTable&gt;
 &lt;/div&gt;
 &lt;/h:form&gt;</programlisting>
-            </example>
+ <!--           </example> -->
 
             <para> Each element of the list is an instance of the jBPM class <literal>TaskInstance</literal>. The
                 following code simply displays the interesting properties of each task in the list. For the description,
@@ -1365,10 +1371,10 @@
                 configuration and not very interesting. </para>
         </section>
 
-        <section>
+ <!--       <section>
             <title>How it works</title>
             <para>TODO</para>
-        </section>
+        </section> -->
 
     </section>
 
@@ -1398,9 +1404,9 @@
             <para> The example is implemented using one JavaBean, three JSP pages and a jPDL pageflow definition. Let's
                 begin with the pageflow: </para>
              <!-- Can't use code hightlighting with callouts -->
-             <example>
-                <title></title>
-                 <programlisting>
+  <!--           <example>
+                <title></title> -->
+                 <screen>
 &lt;pageflow-definition 
         xmlns="http://jboss.com/products/seam/pageflow"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@@ -1442,7 +1448,7 @@
 		 &lt;end-conversation/&gt;
 		 &lt;/page&gt;
    
-&lt;/pageflow-definition&gt;</programlisting>
+&lt;/pageflow-definition&gt;</screen>
                    
                             <para> The <literal>&lt;page&gt;</literal> element defines a wait state where the
                                 system displays a particular JSF view and waits for user input. The
@@ -1461,7 +1467,7 @@
                         
                             <para> A <literal>&lt;decision&gt;</literal> node branches the pageflow, and
                                 determines the next node to execute by evaluating a JSF EL expression. </para>
-            </example>
+  <!--          </example> -->
                 
 
             <para> Here is what the pageflow looks like in the JBoss Developer Studio pageflow editor: </para>
@@ -1479,8 +1485,8 @@
 
             <para> Here is the main page of the application, <literal>numberGuess.jspx</literal>: </para>
 
-            <example>
-                <title></title>
+<!--            <example>
+                <title></title> -->
                 <programlisting role="XHTML">
 &lt;?xml version="1.0"?&gt;
 &lt;jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" 
@@ -1551,15 +1557,15 @@
 	&lt;/body&gt;
 &lt;/html&gt;
 &lt;/jsp:root&gt;</programlisting>
-            </example>
+<!--            </example> -->
             
 
             <para> Notice how the command button names the <literal>guess</literal> transition instead of calling an
                 action directly. </para>
 
             <para> The <literal>win.jspx</literal> page is predictable: </para>
-            <example>
-                <title></title>
+ <!--           <example>
+                <title></title> -->
                 <programlisting role="JSP">
 &lt;jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" 
           xmlns:h="http://java.sun.com/jsf/html"
@@ -1588,14 +1594,14 @@
 			&lt;/html&gt;
 			&lt;/jsp:root&gt;
 </programlisting>
-            </example>
+   <!--         </example> -->
             
 
             <para> As is <literal>lose.jspx</literal> (which I can't be bothered copy/pasting). Finally, the JavaBean
                 Seam component: </para>
              <!-- Can't use code hightlighting with callouts -->
-             <example>
-                 <title></title>
+ <!--            <example>
+                 <title></title> -->
                  <programlistingco>
                  <areaspec>
                      <area id="numberguess-create" coords="13"/>
@@ -1711,7 +1717,7 @@
                         </callout>
                     </calloutlist>
                 </programlistingco>
-            </example>
+   <!--         </example> -->
             
 
          
@@ -1744,10 +1750,10 @@
             
         </section>
 
-        <section>
+ <!--       <section>
             <title>How it works</title>
             <para>TODO</para>
-        </section>
+        </section> -->
 
     </section>
 
@@ -1923,8 +1929,8 @@
             <para> The search functionality is implemented using a session-scope stateful session bean, similar to the
                 one we saw in the message list example above. </para>
                 
-            <example>
-                <title></title>
+ <!--           <example>
+                <title></title> -->
              <!-- Can't use code hightlighting with callouts -->
                  <programlisting>
 @Stateful
@@ -2022,13 +2028,13 @@
                                 method. In Seam, all stateful session beans must define a method with no parameters marked
                                     <literal>@Remove</literal>. This method will be
                                 called when Seam destroys the session context.</para>
-            </example>
+    <!--        </example> -->
             
 
             <para> The main page of the application is a Facelets page. Let's look at the fragment which relates to
                 searching for hotels: </para>
-            <example>
-               <title></title>
+  <!--          <example>
+               <title></title> -->
              <!-- Can't use code hightlighting with callouts -->
                  <programlisting>
 &lt;div class="section"&gt;
@@ -2124,7 +2130,7 @@
                                 you can find all the rules in <literal>WEB-INF/pages.xml</literal>;
                                 this is discussed in the navigation section of this book. </para>
                         
-            </example>
+  <!--          </example> -->
             
 
             <para> This page displays the search results dynamically as we type, and lets us choose a hotel and pass it
@@ -2136,8 +2142,8 @@
                 achieve a natural cache of persistent data related to the conversation. The following code example is
                 pretty long. But if you think of it as a list of scripted actions that implement the various steps of
                 the conversation, it's understandable. Read the class from top to bottom, as if it were a story. </para>
-            <example>
-               <title></title>
+  <!--          <example>
+               <title></title> -->
              <!-- Can't use code hightlighting with callouts -->
                  <programlisting>
 @Stateful
@@ -2255,8 +2261,8 @@
                       
                             <para> This EJB remove method will be called when Seam destroys the conversation context.
                                 Don't forget to define this method! </para>
-            </example>
-            
+ <!--           </example> -->
+             
 
             <para>
                 <literal>HotelBookingAction</literal> contains all the action listener methods that implement selection,
@@ -2408,8 +2414,8 @@
 
             <para> This snippet from the <literal>index.xhtml</literal> facelets page displays a list of recent blog
                 entries: </para>
-            <example>
-               <title></title>
+    <!--        <example>
+               <title></title> -->
             <programlisting role="XHTML">
 &lt;h:dataTable value="#{blog.recentBlogEntries}" var="blogEntry" rows="3"&gt;
 &lt;h:column&gt;
@@ -2440,7 +2446,7 @@
 &lt;/h:column&gt;
 &lt;/h:dataTable&gt;
 </programlisting>
-</example>
+<!--</example> -->
             
 
             <para> If we navigate to this page from a bookmark, how does the data used by the
@@ -2448,8 +2454,8 @@
                 the <literal>Blog</literal> is retrieved lazily&#8212;"pulled"&#8212;when needed, by a Seam
                 component named <literal>blog</literal>. This is the opposite flow of control to what is usual in
                 traditional web action-based frameworks like Struts. </para>
-             <example>
-               <title></title>
+ <!--            <example>
+               <title></title> -->
              <!-- Can't use code hightlighting with callouts -->
                  <programlisting>
 @Name("blog")
@@ -2481,7 +2487,7 @@
                                     <literal>BlogService</literal> component to clients. This is the Seam
                                     <emphasis>manager component pattern</emphasis>. </para>
 
-               </example>
+     <!--          </example> -->
             
 
             <para> This is good so far, but what about bookmarking the result of form submissions, such as a search
@@ -2495,8 +2501,8 @@
             <para> The blog example has a tiny form in the top right of each page that allows the user to search for
                 blog entries. This is defined in a file, <literal>menu.xhtml</literal>, included by the facelets
                 template, <literal>template.xhtml</literal>: </para>
-            <example>
-               <title></title>
+  <!--          <example>
+               <title></title> -->
             <programlisting role="XHTML">
 &lt;div id="search"&gt;
 	&lt;h:form&gt;
@@ -2520,7 +2526,7 @@
 	&lt;/navigation-case&gt;
 &lt;/navigation-rule&gt;
 </programlisting>
-            </example>
+   <!--         </example> -->
 
             <para> Then the form would have looked like this: </para>
             
@@ -2539,8 +2545,8 @@
                 <literal>http://localhost:8080/seam-blog/search.seam?searchPattern=seam</literal>. JSF does not provide
                 an easy way to do this, but Seam does. We use a Seam <emphasis>page parameter</emphasis>, defined in
                     <literal>WEB-INF/pages.xml</literal>: </para>
-            <example>
-            <title></title>
+ <!--           <example>
+            <title></title> -->
 		    <programlisting role="XML">
 &lt;pages&gt;
 	&lt;page view-id="/search.xhtml"&gt;
@@ -2548,7 +2554,7 @@
 	&lt;/page&gt;
 &lt;/pages&gt;
 </programlisting>
-</example>
+<!-- </example> -->
             
 
             <para> This tells Seam to include the value of <literal>#{searchService.searchPattern}</literal> as a




More information about the jboss-cvs-commits mailing list