Author: smukhina
Date: 2007-09-28 07:58:10 -0400 (Fri, 28 Sep 2007)
New Revision: 3899
Modified:
trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/RADdevelopmentOfSimpleJSFapplication.xml
Log:
http://jira.jboss.com/jira/browse/RHDS-196
the bug with screenshot was found in GSG guide, fixed with "width" parameter
screenshot - newrad2.png, Anatily Fedosik will look how to fix it with "scale"
parameter
Modified:
trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/RADdevelopmentOfSimpleJSFapplication.xml
===================================================================
---
trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/RADdevelopmentOfSimpleJSFapplication.xml 2007-09-28
00:14:28 UTC (rev 3898)
+++
trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/RADdevelopmentOfSimpleJSFapplication.xml 2007-09-28
11:58:10 UTC (rev 3899)
@@ -13,6 +13,7 @@
<para>In this chapter you will see how to create a simple JSF application
being based on <property>"RAD"</property> philosophy. We
will create the familiar Guess Number application. The scenario is as follows. A user is
asked to guess a number between 0 and 100. If the guess is correct, a success page is
displayed with a link to play again. If the guess is incorrect, a message is printed
notifying the user that a smaller or a larger number should be entered and the game
continues.</para>
<para>We'll show you how to create such an application from scratch,
along the way demonstrating powerful features of Red Hat Developer Studio such as project
templating, Visual Page Editor, code completion and others. You will design the
JSF application and then run the application from inside Red Hat Developer Studio using
the bundled JBoss server.</para>
+
<section id="SettingUpTheProject12">
<?dbhtml filename="SettingUpTheProject12.html"?>
<title>Setting up the project</title>
@@ -26,6 +27,7 @@
</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>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>
@@ -33,10 +35,11 @@
<title>New JSF Project</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/newrad2.png"/>
+ <imagedata depth="22cm"
fileref="images/newrad2.png"/>
</imageobject>
</mediaobject>
</figure>
+
</section>
<section id="CreatingJSPPages">
<?dbhtml filename="CreatingJSPPages.html"?>
@@ -53,7 +56,7 @@
<title>Create New View</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/newrad3.png"/>
+ <imagedata scale="80"
fileref="images/newrad3.png"/>
</imageobject>
</mediaobject>
</figure>
@@ -69,11 +72,12 @@
<title>New Views</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/newrad4.png"/>
+ <imagedata scale="80"
fileref="images/newrad4.png"/>
</imageobject>
</mediaobject>
</figure>
</section>
+
<section id="CreatingTransition">
<?dbhtml filename="CreatingTransition.html"?>
<title>Creating Transition between two views</title>
@@ -84,7 +88,7 @@
<title>Create connection</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/newrad5.png"/>
+ <imagedata scale="80"
fileref="images/newrad5.png"/>
</imageobject>
</mediaobject>
</figure>
@@ -96,7 +100,7 @@
<title>Created connection</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/newrad6.png"/>
+ <imagedata scale="80"
fileref="images/newrad6.png"/>
</imageobject>
</mediaobject>
</figure>
@@ -124,7 +128,7 @@
<title>messages.properties file</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/newrad62.png"/>
+ <imagedata scale="80"
fileref="images/newrad62.png"/>
</imageobject>
</mediaobject>
</figure>
@@ -148,7 +152,7 @@
<title>Properties are added</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/newrad63.png"/>
+ <imagedata scale="80"
fileref="images/newrad63.png"/>
</imageobject>
</mediaobject>
</figure>
@@ -178,7 +182,7 @@
<title>Generate Getters and Setters</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/newrad64.png"/>
+ <imagedata scale="80"
fileref="images/newrad64.png"/>
</imageobject>
</mediaobject>
</figure>
@@ -368,7 +372,7 @@
<title>Insert h:form</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/newrad7.png"/>
+ <imagedata scale="80"
fileref="images/newrad7.png"/>
</imageobject>
</mediaobject>
</figure>
@@ -378,7 +382,7 @@
<title>Define id of form</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/newrad8.png"/>
+ <imagedata scale="80"
fileref="images/newrad8.png"/>
</imageobject>
</mediaobject>
</figure>
@@ -390,7 +394,7 @@
<title>Created form</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/newrad9.png"/>
+ <imagedata scale="80"
fileref="images/newrad9.png"/>
</imageobject>
</mediaobject>
</figure>
@@ -405,7 +409,7 @@
<title>Code assist</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/newrad10.png"/>
+ <imagedata scale="80"
fileref="images/newrad10.png"/>
</imageobject>
</mediaobject>
</figure>
@@ -421,7 +425,7 @@
<title>Choose Value</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/newrad11.png"/>
+ <imagedata scale="80"
fileref="images/newrad11.png"/>
</imageobject>
</mediaobject>
</figure>
@@ -432,7 +436,7 @@
<title>Selecting Value</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/newrad12.png"/>
+ <imagedata scale="80"
fileref="images/newrad12.png"/>
</imageobject>
</mediaobject>
</figure>
@@ -443,7 +447,7 @@
<title>Created outputText component</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/newrad13.png"/>
+ <imagedata scale="80"
fileref="images/newrad13.png"/>
</imageobject>
</mediaobject>
</figure>
@@ -466,7 +470,7 @@
<title>Add required attribute</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/newrad14.png"/>
+ <imagedata scale="80"
fileref="images/newrad14.png"/>
</imageobject>
</mediaobject>
</figure>
@@ -538,7 +542,7 @@
<title>Code Assist for <f:param></title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/newrad15.png"/>
+ <imagedata scale="80"
fileref="images/newrad15.png"/>
</imageobject>
</mediaobject>
</figure>
@@ -551,7 +555,7 @@
<title>success.jsp in Preview mode</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/newrad16.png"/>
+ <imagedata scale="80"
fileref="images/newrad16.png"/>
</imageobject>
</mediaobject>
</figure>
@@ -590,7 +594,7 @@
<title>A user is asked to enter a number between 0 and 100</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/default.png"/>
+ <imagedata scale="80"
fileref="images/default.png"/>
</imageobject>
</mediaobject>
</figure>
@@ -598,7 +602,7 @@
<title>User input is validated and an error message is displayed if invalid input
was entered</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/default.png"/>
+ <imagedata scale="80"
fileref="images/default.png"/>
</imageobject>
</mediaobject>
</figure>
@@ -607,7 +611,7 @@
<title>After the user enters a guess, the application tells the user if a smaller
or a larger number should be tried</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/default.png"/>
+ <imagedata scale="80"
fileref="images/default.png"/>
</imageobject>
</mediaobject>
</figure>
@@ -616,7 +620,7 @@
<title>A user guesses correctly</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/default.png"/>
+ <imagedata scale="80"
fileref="images/default.png"/>
</imageobject>
</mediaobject>
</figure>