[jboss-cvs] JBossAS SVN: r104463 - projects/docs/enterprise/4.3.3/Getting_Started/en-US.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue May 4 23:27:28 EDT 2010


Author: laubai
Date: 2010-05-04 23:27:28 -0400 (Tue, 04 May 2010)
New Revision: 104463

Modified:
   projects/docs/enterprise/4.3.3/Getting_Started/en-US/Book_Info.xml
   projects/docs/enterprise/4.3.3/Getting_Started/en-US/Sample_JSF_EJB3_Application.xml
   projects/docs/enterprise/4.3.3/Getting_Started/en-US/Start_Stop_Server.xml
Log:
Corrected use of para tags causing formatting issues.

Modified: projects/docs/enterprise/4.3.3/Getting_Started/en-US/Book_Info.xml
===================================================================
--- projects/docs/enterprise/4.3.3/Getting_Started/en-US/Book_Info.xml	2010-05-05 01:38:34 UTC (rev 104462)
+++ projects/docs/enterprise/4.3.3/Getting_Started/en-US/Book_Info.xml	2010-05-05 03:27:28 UTC (rev 104463)
@@ -16,7 +16,7 @@
 	<corpauthor>
 	  <inlinemediaobject>
 		<imageobject>
-			 <imagedata fileref="Common_Content/images/redhat-logo.svg" />
+			 <imagedata fileref="Common_Content/images/title_logo.svg" />
 		 </imageobject>
 	  </inlinemediaobject>
 	</corpauthor>

Modified: projects/docs/enterprise/4.3.3/Getting_Started/en-US/Sample_JSF_EJB3_Application.xml
===================================================================
--- projects/docs/enterprise/4.3.3/Getting_Started/en-US/Sample_JSF_EJB3_Application.xml	2010-05-05 01:38:34 UTC (rev 104462)
+++ projects/docs/enterprise/4.3.3/Getting_Started/en-US/Sample_JSF_EJB3_Application.xml	2010-05-05 03:27:28 UTC (rev 104463)
@@ -69,12 +69,12 @@
 		<title>JSF Web Pages</title>
 		<para>
 			In this section we will show you how the web interface is defined using JSF pages. We will also see how the data model is mapped to the web form using JSF EL. Using the #{...} notation to reference Java objects is called <emphasis role="bold">JSF EL</emphasis> (JSF Expression Language). Lets take a look at the pages used in our application:
+    </para>
 			<itemizedlist>
 				<listitem>
 					<para>
 						<emphasis role="bold">index.xhtml</emphasis>: This page displays two options: 1. Create New Todo 2. Show all Todos. When you click on the Submit button the corresponding action is invoked. 
 					</para>
-					<para>
 <programlisting>
 &lt;h:form&gt;
 &lt;ul&gt;
@@ -83,13 +83,11 @@
 &lt;/ul&gt;
 &lt;/h:form&gt;
 </programlisting>
-					</para>
 				</listitem>
 				<listitem>
 					<para>
 						<emphasis role="bold">create.xhtml</emphasis>: When you try to create a new task, this JSF page captures the input data. We use the <literal>todoBean</literal> to back the form input text fields. The #{todoBean.todo.title} symbol refers to the "title" property of the "todo" object in the "TodoBean" class. The #{todoBean.todo.description} symbol refers to the "description" property of the "todo" object in the "TodoBean" class.  The #{todoBean.persist} symbol refers to the "persist" method in the "TodoBean" class. This method creates the "Todo" instance with the input data (title and description) and persists the data.
 					</para>
-					<para>
 <programlisting>
 &lt;h:form id="create"&gt;
 &lt;table&gt;
@@ -114,6 +112,7 @@
                  action="#{todoBean.persist}"/&gt;
 &lt;/h:form&gt;
 </programlisting>
+          <para>
 						<xref linkend="Sample_JSF_EJB3_Application-JSF_Web_Pages-jsfejb3_create_todo"/> shows the "Create Todo" web page with the input fields mapped to the data model.
 					</para>
 					<figure id="Sample_JSF_EJB3_Application-JSF_Web_Pages-jsfejb3_create_todo">
@@ -132,7 +131,6 @@
 					<para>
 						 The list of all 'todos' is fetched by #{todoBean.todos} symbol referring to the 'getTodos()' property in the 'TodoBean' class. The JSF <literal>dataTable</literal> iterates through the list and displays each <literal>Todo</literal> object in a row. The 'Edit' option is available across each row. The #{todo.id} symbol represents the "id" property of the "todo" object.
 					</para>
-					<para>
 <programlisting>
 &lt;h:form&gt;
 &lt;h:dataTable value="#{todoBean.todos}" var="todo"&gt;
@@ -154,6 +152,7 @@
 &lt;/center&gt;
 &lt;/h:form&gt;
 </programlisting>
+          <para>
 					<xref linkend="Sample_JSF_EJB3_Application-JSF_Web_Pages-jsfejb3_todos"/> shows the "Show All Todos" web page with the data fields mapped to the data model.
 					</para>
 					<figure id="Sample_JSF_EJB3_Application-JSF_Web_Pages-jsfejb3_todos">
@@ -169,7 +168,6 @@
 					<para>
 						<emphasis role="bold">edit.xhtml</emphasis>: This page allows you to edit the "todo" item's 'title' and 'description' properties. The #{todoBean.update} and #{todoBean.delete} symbols represent the "update" and "delete" methods in the "TodoBean" class.
 					</para>
-					<para>
 <programlisting>
 &lt;h2&gt;Edit #{todoBean.todo.title}&lt;/h2&gt;
 &lt;h:form id="edit"&gt;
@@ -198,6 +196,7 @@
                  action="#{todoBean.delete}"/&gt;
 &lt;/h:form&gt;
 </programlisting>
+        <para>
 					<xref linkend="Sample_JSF_EJB3_Application-JSF_Web_Pages-jsfejb3_edit_todo"/> shows the "Edit Todo" web page with the mapping to the data model.
 					</para>
 					<figure id="Sample_JSF_EJB3_Application-JSF_Web_Pages-jsfejb3_edit_todo">
@@ -210,7 +209,6 @@
 					</figure>
 				</listitem>
 			</itemizedlist>
-		</para>
 		<note>
 			<para>
 				We have used XHTML pages in the sample applications because we recommend using Facelets instead of JSP to render JSF view pages.
@@ -229,7 +227,7 @@
 					<para>
 						<emphasis role="bold">Business interface</emphasis>: <literal>TodoDaoInt.java</literal>
 					</para>
-					<para>We define here the methods that need to be implemented by the bean implementation class. Basically, the business methods that will be used in our application are defined here.
+					<para>We define here the methods that need to be implemented by the bean implementation class. Basically, the business methods that will be used in our application are defined here.</para>
 <programlisting>
 public interface TodoDaoInt {
 
@@ -241,14 +239,13 @@
   public Todo findTodo (String id);
 }
 </programlisting>
-					</para>
 				</listitem>
 				<listitem>
 					<para>
 						<emphasis role="bold">Stateless Session Bean</emphasis>: <literal>TodoDao.java</literal>
 					</para>
 					<para>
-						The <literal>@Stateless</literal> annotation marks the bean as a stateless session bean. In this class, we need to access the Entity bean <literal>Todo</literal> defined earlier. For this we need an <literal>EntityManager</literal>. The <literal>@PersistenceContext</literal> annotation tells the JBoss Server to inject an entity manager during deployment.
+						The <literal>@Stateless</literal> annotation marks the bean as a stateless session bean. In this class, we need to access the Entity bean <literal>Todo</literal> defined earlier. For this we need an <literal>EntityManager</literal>. The <literal>@PersistenceContext</literal> annotation tells the JBoss Server to inject an entity manager during deployment.</para>
 <programlisting>
 @Stateless
 public class TodoDao implements TodoDaoInt {
@@ -280,7 +277,6 @@
 
 }
 </programlisting>
-					</para>
 				</listitem>
 			</itemizedlist>
 		</para>
@@ -329,7 +325,9 @@
 (vrenish at vinux jsfejb3)$
 </programlisting>
 			<para>
-				If you get the BUILD SUCCESSFUL message, you will find a newly created <literal>build</literal> directory with 2 sub-directories in it: <itemizedlist>
+				If you get the BUILD SUCCESSFUL message, you will find a newly created <literal>build</literal> directory with 2 sub-directories in it: 
+      </para>
+      <itemizedlist>
 					<listitem>
 						<para>
 							<emphasis role="bold">classes</emphasis>: containing the compiled class files.
@@ -337,7 +335,8 @@
 					</listitem>
 					<listitem>
 						<para>
-							<emphasis role="bold">jars</emphasis>: containing three archives - <literal>app.jar</literal>, <literal>app.war</literal> and <literal>jsfejb3.ear</literal>. <itemizedlist>
+							<emphasis role="bold">jars</emphasis>: containing three archives - <literal>app.jar</literal>, <literal>app.war</literal> and <literal>jsfejb3.ear</literal>.</para>
+            <itemizedlist>
 								<listitem>
 									<para>
 										app.jar : EJB code and descriptors.
@@ -354,10 +353,8 @@
 									</para>
 								</listitem>
 							</itemizedlist>
-						</para>
 					</listitem>
 				</itemizedlist>
-			</para>
 		</section>
 		<section id="Configuration_Files">
 			<title>Configuration Files</title>

Modified: projects/docs/enterprise/4.3.3/Getting_Started/en-US/Start_Stop_Server.xml
===================================================================
--- projects/docs/enterprise/4.3.3/Getting_Started/en-US/Start_Stop_Server.xml	2010-05-05 01:38:34 UTC (rev 104462)
+++ projects/docs/enterprise/4.3.3/Getting_Started/en-US/Start_Stop_Server.xml	2010-05-05 03:27:28 UTC (rev 104463)
@@ -223,9 +223,11 @@
 &lt;?xml version="1.0" encoding="UTF-8"?&gt;
 &lt;!DOCTYPE server&gt;
 &lt;server&gt;
-	&lt;mbean code="org.tanukisoftware.wrapper.jmx.WrapperManager"name="JavaServiceWrapper:service=WrapperManager"/&gt;
+	&lt;mbean code="org.tanukisoftware.wrapper.jmx.WrapperManager"
+    name="JavaServiceWrapper:service=WrapperManager"/&gt;
 		
-	&lt;mbean code="org.tanukisoftware.wrapper.jmx.WrapperManagerTesting"name="JavaServiceWrapper:service=WrapperManagerTesting"/&gt;
+	&lt;mbean code="org.tanukisoftware.wrapper.jmx.WrapperManagerTesting"
+    name="JavaServiceWrapper:service=WrapperManagerTesting"/&gt;
 &lt;/server&gt;
 </screen>
 		<note>




More information about the jboss-cvs-commits mailing list