Author: sabrashevich
Date: 2007-10-01 07:32:06 -0400 (Mon, 01 Oct 2007)
New Revision: 3917
Modified:
trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/RADdevelopmentOfSimpleJSFapplication.xml
Log:
http://jira.jboss.com/jira/browse/RHDS-160 minor changes
Modified:
trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/RADdevelopmentOfSimpleJSFapplication.xml
===================================================================
---
trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/RADdevelopmentOfSimpleJSFapplication.xml 2007-10-01
11:13:21 UTC (rev 3916)
+++
trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/RADdevelopmentOfSimpleJSFapplication.xml 2007-10-01
11:32:06 UTC (rev 3917)
@@ -18,7 +18,8 @@
<?dbhtml filename="SettingUpTheProject12.html"?>
<title>Setting up the project</title>
<para>We will create a JSF 1.2 project using an integrated RHDS's new
project wizard and predefined templates.</para>
-<para>In Web Projects View (if it is not open select <emphasis>Window
> Show View > Others > Red Hat Developer Studio > Web Projects
View</emphasis>) click "Create New JSF Project"
button.</para>
+<itemizedlist>
+<listitem><para>In Web Projects View (if it is not open select
<emphasis>Window > Show View > Others > Red Hat Developer
Studio > Web Projects View</emphasis>) click "Create New JSF
Project" button.
<figure>
<title>Create New JSF Project</title>
<mediaobject>
@@ -27,9 +28,10 @@
</imageobject>
</mediaobject>
</figure>
-
-<para>Put "GuessNumber" as a project name, in "JSF
Environment" drop down list choose JSF 1.2.</para>
-<para>Leave everything else as it is and click Finish.</para>
+</para></listitem>
+<listitem><para>Put "GuessNumber" as a project name, in
"JSF Environment" drop down list choose JSF
1.2.</para></listitem>
+<listitem><para>Leave everything else as it is and click
Finish</para></listitem>
+</itemizedlist>
<para>Our project will appear in Project Explorer and Web Projects Views. As you
can see Red Had Developer Studio has created for us the whole skeleton for the project
with all needed libraries, faces-config.xml and web.xml files.</para>
<figure>
<title>New JSF Project</title>
@@ -48,8 +50,8 @@
<para>On the first page inputnumber.jsp you will enter a number.</para>
<itemizedlist>
-<listitem><para>Open faces-config.xml file.</para></listitem>
-<listitem><para>Right click anywhere on the diagram
mode.</para></listitem>
+<listitem><para>Open faces-config.xml file</para></listitem>
+<listitem><para>Right click anywhere on the diagram
mode</para></listitem>
<listitem><para>From the context menu select <emphasis>New
View</emphasis></para></listitem>
</itemizedlist>
<figure>
@@ -63,7 +65,7 @@
<itemizedlist>
<listitem><para>Type <emphasis>pages/inputname</emphasis> as the
value for "From-view-id"</para></listitem>
-<listitem><para>Leave everything else as is and click
<emphasis><property>Finish</property></emphasis>.</para></listitem>
+<listitem><para>Leave everything else as is and click
Finish</para></listitem>
<listitem><para>In the same way create another jsf view. Type
"pages/success" as the value for
"From-view-id"</para></listitem>
<listitem><para>Select <emphasis>File >
Save</emphasis></para></listitem>
</itemizedlist>
@@ -83,7 +85,7 @@
<title>Creating Transition between two views</title>
<para>We should now create connection between jsp pages.</para>
<itemizedlist>
-<listitem><para>In the diagram, select the connection icon third from the top
along the upper left side of the diagram to get an arrow cursor with a two-pronged plug at
the arrow's bottom.
+<listitem><para>In the diagram, select the connection icon third from the top
along the upper left side of the diagram to get an arrow cursor with a two-pronged plug at
the arrow's bottom
<figure>
<title>Create connection</title>
<mediaobject>
@@ -93,7 +95,7 @@
</mediaobject>
</figure>
</para></listitem>
-<listitem><para>Click on the <emphasis>pages/inputname</emphasis>
page icon and then click on the <emphasis>pages/greeting</emphasis> page
icon.</para></listitem>
+<listitem><para>Click on the <emphasis>pages/inputname</emphasis>
page icon and then click on the <emphasis>pages/greeting</emphasis> page
icon</para></listitem>
</itemizedlist>
<para>A transition should appear between the two icons of views.</para>
<figure>
@@ -105,7 +107,7 @@
</mediaobject>
</figure>
<itemizedlist>
-<listitem><para>Select <emphasis>File/Save</emphasis> from the
menu bar.</para></listitem>
+<listitem><para>Select <emphasis>File/Save</emphasis> from the
menu bar</para></listitem>
</itemizedlist>
</section>
<section id="CreatingResourceFile">
@@ -165,7 +167,7 @@
<itemizedlist>
<listitem><para>Right click <emphasis>game</emphasis>
folder</para></listitem>
<listitem><para>Select <emphasis>New >
Class</emphasis></para></listitem>
-<listitem><para>Type <emphasis>NumberBean</emphasis></para>
for bean name</listitem>
+<listitem><para>Type <emphasis>NumberBean</emphasis> for bean
name</para></listitem>
</itemizedlist>
<para>A java bean is created.</para>
<itemizedlist>
@@ -312,7 +314,7 @@
<title>Editing faces-config.xml File</title>
<para>This file holds our two navigation rules and defines the backing bean
used.</para>
<itemizedlist>
-<listitem><para>Open faces-config.xml file in source
mode.</para></listitem>
+<listitem><para>Open faces-config.xml file in source
mode</para></listitem>
<listitem><para>Add here one more navigation rule and a managed bean
declarations that the content of the file looks like this:</para></listitem>
</itemizedlist>
<programlisting role="XML"><![CDATA[<?xml version="1.0"
encoding="UTF-8"?>
@@ -414,8 +416,8 @@
</mediaobject>
</figure>
<itemizedlist>
-<listitem><para>Switch to Visual tab, so we can work with the editor
completely in its WYSIWYG mode.</para></listitem>
-<listitem><para>Click on <emphasis>outputText</emphasis>, drag
the cursor over to the editor, and drop it inside the blue box in the
editor.</para></listitem>
+<listitem><para>Switch to Visual tab, so we can work with the editor
completely in its WYSIWYG mode</para></listitem>
+<listitem><para>Click on <emphasis>outputText</emphasis>, drag
the cursor over to the editor, and drop it inside the blue box in the
editor</para></listitem>
<listitem><para>Select <emphasis>value</emphasis> and click on
this line below "value" header</para></listitem>
<listitem><para>Click <emphasis>...</emphasis> button next to the
value field</para></listitem>
@@ -452,13 +454,13 @@
</mediaobject>
</figure>
<itemizedlist>
-<listitem><para>Switch to Source mode and insert <emphasis
role="bold"><property><br/></property></emphasis>
tag after <emphasis
role="bold"><property><h:outputText></property></emphasis>
component to make a new line.</para></listitem>
-<listitem><para>Click Save button.</para></listitem>
-<listitem><para>On the Palette Click on
<emphasis>inputText</emphasis>, drag the cursor over to the editor, and drop
it inside the editor after the text.</para></listitem>
+<listitem><para>Switch to Source mode and insert <emphasis
role="bold"><property><br/></property></emphasis>
tag after <emphasis
role="bold"><property><h:outputText></property></emphasis>
component to make a new line</para></listitem>
+<listitem><para>Click Save button</para></listitem>
+<listitem><para>On the Palette Click on
<emphasis>inputText</emphasis>, drag the cursor over to the editor, and drop
it inside the editor after the text</para></listitem>
<listitem><para>Select <emphasis>value</emphasis> and click on
this line below "value" header</para></listitem>
<listitem><para>Click <emphasis>...</emphasis> button next to the
value field</para></listitem>
<listitem><para>Expand <emphasis>Managed Beans >
NumberBean</emphasis></para></listitem>
-<listitem><para>Select "userNumber" value and click
Ok.</para></listitem>
+<listitem><para>Select "userNumber" value and click
Ok</para></listitem>
<listitem><para>Switch <emphasis>Advanced</emphasis>
tab</para></listitem>
<listitem><para>Select <emphasis>id</emphasis> and click on this
line below "value" header</para></listitem>
<listitem><para>Type "userNumber" in text
field</para></listitem>
@@ -467,7 +469,7 @@
<listitem><para>Expand <emphasis>Enumeration</emphasis> and
select <emphasis>true</emphasis> as a value</para></listitem>
</itemizedlist>
<figure>
-<title>Add required attribute</title>
+<title>Add "required" attribute</title>
<mediaobject>
<imageobject>
<imagedata fileref="images/newrad14.png"/>
@@ -485,7 +487,7 @@
<itemizedlist>
<listitem><para>Click Save button</para></listitem>
<listitem><para>Again select Visual mode</para></listitem>
-<listitem><para>On the Palette Click on
<emphasis>commandButton</emphasis>, drag the cursor over to the editor, and
drop it inside the editor after the inputText component.</para></listitem>
+<listitem><para>On the Palette Click on
<emphasis>commandButton</emphasis>, drag the cursor over to the editor, and
drop it inside the editor after the inputText component</para></listitem>
<listitem><para>In the editing dialog select
<emphasis>value</emphasis> and click on this line below
"value" header</para></listitem>
<listitem><para>Click <emphasis>...</emphasis> button next to the
value field</para></listitem>
<listitem><para>Expand <emphasis>Resource Bundles >
msg</emphasis> and select <emphasis>makeguess_button</emphasis> as a
value</para></listitem>
@@ -586,7 +588,7 @@
<title>Running the Application</title>
<para>Everything is ready to run the application.</para>
<itemizedlist>
-<listitem><para>Start up JBoss server by clicking on the Start icon in JBoss
Server view. (If JBoss is already running, stop it by clicking on the red icon and then
start it again. After the messages in the Console tabbed view stop scrolling, JBoss is
available.</para></listitem>
+<listitem><para>Start up JBoss server by clicking on the Start icon in JBoss
Server view. (If JBoss is already running, stop it by clicking on the red icon and then
start it again. After the messages in the Console tabbed view stop scrolling, JBoss is
available</para></listitem>
<listitem><para>Click on the Red Hat run icon in the
toolbar</para></listitem>
<listitem><para>Play with the application by entering correct as well as
incorrect values</para></listitem>
</itemizedlist>
@@ -625,4 +627,4 @@
</mediaobject>
</figure>
</section>
-</chapter>
\ No newline at end of file
+</chapter>