Author: mcaspers
Date: 2011-01-16 21:53:39 -0500 (Sun, 16 Jan 2011)
New Revision: 28274
Modified:
trunk/documentation/guides/GettingStartedGuide/en-US/getting_started.xml
trunk/documentation/guides/GettingStartedGuide/en-US/jsp_application.xml
trunk/documentation/guides/GettingStartedGuide/en-US/project_examples.xml
trunk/documentation/guides/GettingStartedGuide/en-US/rad_jsf_application.xml
Log:
General Updates
Modified: trunk/documentation/guides/GettingStartedGuide/en-US/getting_started.xml
===================================================================
--- trunk/documentation/guides/GettingStartedGuide/en-US/getting_started.xml 2011-01-17
02:02:02 UTC (rev 28273)
+++ trunk/documentation/guides/GettingStartedGuide/en-US/getting_started.xml 2011-01-17
02:53:39 UTC (rev 28274)
@@ -385,7 +385,7 @@
</figure>
<itemizedlist>
- <listitem><para>You can fill the list automatically using the
<emphasis><property>Find</property></emphasis> button: click
<emphasis><property>Find</property></emphasis>, select a folder
where search of available JBoss Application Servers should be started and click on
<emphasis><property>Ok</property></emphasis>: </para>
</listitem>
+ <listitem><para>You can fill the list automatically using the
<emphasis><property>Find</property></emphasis> button: click
<emphasis><property>Find</property></emphasis>, select a folder
where search of available JBoss Application Servers should be started and click on
<guibutton>OK</guibutton> button: </para> </listitem>
</itemizedlist>
<figure>
@@ -432,7 +432,7 @@
<para/>
- <para>Click on
<emphasis><property>Ok</property></emphasis>. The server is added
to the list with the details on its type, version and location.</para>
+ <para>Click the <guibutton>OK</guibutton> button. The server is added
to the list with the details on its type, version and location.</para>
@@ -636,7 +636,7 @@
<listitem><para>After clicking the <guibutton>Add</guibutton>
button the <property>Add Site</property> View should appear.
In the <property>Location</property> field you should paste one of the
update sites described
<link linkend="sites">above</link>.On some platforms,
- you can also drag and drop the link from your browser directly into Eclipse.In
<property>Name</property> you can write any name you like.
+ you can also drag and drop the link from your browser directly into Eclipse. In the
<property>Name</property> field you can enter any name you like.
In the end press the <property>OK</property> button.</para>
<figure>
<title>Add Update Site</title>
@@ -675,7 +675,7 @@
<note>
<title>Note:</title>
<para>Sometimes when a user changes the list of plugins for download and clicks
- <emphasis>Next</emphasis>, after required dependences check,
+ <guibutton>Next</guibutton>, after required dependences check,
the list of missing dependencies of the previous attempt is showed.
In this case the completely close of the <emphasis>Install New
Software</emphasis> dialog can help.</para>
</note>
Modified: trunk/documentation/guides/GettingStartedGuide/en-US/jsp_application.xml
===================================================================
--- trunk/documentation/guides/GettingStartedGuide/en-US/jsp_application.xml 2011-01-17
02:02:02 UTC (rev 28273)
+++ trunk/documentation/guides/GettingStartedGuide/en-US/jsp_application.xml 2011-01-17
02:53:39 UTC (rev 28274)
@@ -22,11 +22,7 @@
"Hello World!" on the page.</para>
<para>We'll assume that you have already launched <property>JBoss
Developer
Studio</property> and also that the <property>Web
Development</property> perspective is the
- current perspective. If not, make it active by selecting <emphasis>
- <property>Window > Open Perspective > Web
Development</property>
- </emphasis> from the menu bar or by selecting <emphasis>
- <property>Window > Open Perspective > Other...</property>
- </emphasis> from the menu bar and then selecting Web Development from the Select
Perspective
+ current perspective. If not, make it active by selecting
<menuchoice><guimenuitem>Window</guimenuitem><guimenuitem>Open
Perspective</guimenuitem><guimenuitem>Web
Development</guimenuitem></menuchoice> from the menu bar or by selecting
<menuchoice><guimenuitem>Window</guimenuitem><guimenuitem>Open
Perspective</guimenuitem><guimenuitem>Other...</guimenuitem></menuchoice>
from the menu bar and then selecting Web Development from the Select Perspective
dialog box.</para>
<section id="SettingUpTheProject">
@@ -37,19 +33,13 @@
necessary steps on how to do this.</para>
<itemizedlist>
<listitem>
- <para>Go to the menu bar and select <emphasis>
- <property>File > New > Other...</property>
- </emphasis></para>
+ <para>Go to the menu bar and select
<menuchoice><guimenuitem>File</guimenuitem><guimenuitem>New</guimenuitem><guimenuitem>Other...</guimenuitem></menuchoice></para>
</listitem>
<listitem>
- <para>Select <emphasis>
- <property>Web > Dynamic Web Project</property>
- </emphasis> in the New Project dialog box</para>
+ <para>Select
<menuchoice><guimenuitem>Web</guimenuitem><guimenuitem>Dynamic Web
Project</guimenuitem></menuchoice> in the New Project dialog box</para>
</listitem>
<listitem>
- <para>Click <emphasis>
- <property>Next</property>
- </emphasis>
+ <para>Click the <guibutton>Next</guibutton> button
</para>
</listitem>
<listitem>
@@ -58,9 +48,7 @@
<listitem>
<para>Then select <emphasis>
<property>Minimal Configuration</property>
- </emphasis> from the list of possible configurations and click
<emphasis>
- <property>Finish</property>
- </emphasis></para>
+ </emphasis> from the list of possible configurations and click the
<guibutton>Finish</guibutton> button.</para>
</listitem>
</itemizedlist>
<figure>
@@ -94,13 +82,10 @@
<emphasis>"Hello World!"</emphasis>
message.</para>
<itemizedlist>
<listitem>
- <para>Right click <emphasis><property>WebContent > New
>
- JSP</property>. </emphasis></para>
+ <para>Right click
<menuchoice><guimenuitem>WebContent</guimenuitem><guimenuitem>New</guimenuitem><guimenuitem>JSP</guimenuitem></menuchoice>.</para>
</listitem>
<listitem>
- <para>Type "hello.jsp" for a file name and click the
<emphasis>
- <property>Next</property>
- </emphasis> button.</para>
+ <para>Type "hello.jsp" for a file name and click the
<guibutton>Next</guibutton> button.</para>
</listitem>
</itemizedlist>
<para>In the next window you can choose a template for your jsp page and see its
preview.</para>
@@ -108,9 +93,7 @@
<listitem>
<para>Select <emphasis>
<property>New JSP File (xhtml)</property>
- </emphasis> template and click <emphasis>
- <property>Finish</property>
- </emphasis> button.</para>
+ </emphasis> template and click the <guibutton>Finish</guibutton>
button.</para>
</listitem>
</itemizedlist>
<figure>
@@ -226,10 +209,8 @@
<para>Project archives managing is available through Project Archives
view.</para>
<itemizedlist>
<listitem>
- <para>Select <emphasis>
- <property>Window > Show view > Other > JBoss
- Tools > Project archives</property>
- </emphasis> from menu bar</para>
+ <para>Select
<menuchoice><guimenuitem>Window</guimenuitem><guimenuitem>Show
view</guimenuitem><guimenuitem>Other</guimenuitem><guimenuitem>JBoss
+ Tools</guimenuitem><guimenuitem>Project
archives</guimenuitem></menuchoice> from the menu bar</para>
</listitem>
<listitem>
<para>Select a project in Package Explorer you want to be
archived</para>
@@ -267,9 +248,7 @@
</figure>
<itemizedlist>
<listitem>
- <para>Click <emphasis>
- <property>Next</property>
- </emphasis> to see a stub archive configuration for your project:
<figure>
+ <para>Click the <guibutton>Next</guibutton> button to see a stub
archive configuration for your project: <figure>
<title>Stub Archive Configuration</title>
<mediaobject>
<imageobject>
@@ -282,8 +261,7 @@
</para>
</listitem>
<listitem>
- <para>Click <emphasis>
- <property>Finish</property>. </emphasis> The
+ <para>Click the <guibutton>Finish</guibutton> button. The
<emphasis>.war</emphasis> file will appear in <property>Package
Explorer</property> and also in <property>Project
Archives</property>
view as structure tree: <figure>
Modified: trunk/documentation/guides/GettingStartedGuide/en-US/project_examples.xml
===================================================================
--- trunk/documentation/guides/GettingStartedGuide/en-US/project_examples.xml 2011-01-17
02:02:02 UTC (rev 28273)
+++ trunk/documentation/guides/GettingStartedGuide/en-US/project_examples.xml 2011-01-17
02:53:39 UTC (rev 28274)
@@ -16,7 +16,7 @@
project that you can explore and derive some useful technology implementation lessons
from. </para>
<para>
- To adjust the settings of the Project Examples feature you need to navigate to
<property>Windows> Preferences > JBoss Tools > Project
Examples</property>. </para>
+ To adjust the settings of the Project Examples feature you need to navigate to
<menuchoice><guimenuitem>Windows</guimenuitem><guimenuitem>Preferences</guimenuitem><guimenuitem>JBoss
Tools</guimenuitem><guimenuitem>Project
Examples</guimenuitem></menuchoice>. </para>
<figure>
<title>Project Examples Preferences</title>
@@ -27,7 +27,7 @@
</mediaobject>
</figure>
- <para>The <property>Show experimental sites</property> checkbox
serves to enable/disable representing the user sites in the <property>Project
Example</property> dialog ( <property>Help > Project
Examples</property>). </para>
+ <para>The <property>Show experimental sites</property> checkbox
serves to enable/disable representing the user sites in the <property>Project
Example</property> dialog
(<menuchoice><guimenuitem>Help</guimenuitem><guimenuitem>Project
Examples</guimenuitem></menuchoice>). </para>
<section id="UserSites">
@@ -83,10 +83,10 @@
<para>To download a project example and start working with it you need to
take a few steps:</para>
<itemizedlist>
<listitem>
- <para>Go to the menu bar and select
<emphasis><property>File > New >
Other...</property></emphasis>
- </para></listitem>
+ <para>Go to the menu bar and select
<menuchoice><guimenuitem>File</guimenuitem><guimenuitem>New</guimenuitem><guimenuitem>Other...</guimenuitem></menuchoice></para></listitem>
- <listitem><para>Select <emphasis><property>Jboss
Tools > Project Examples</property></emphasis> (You can also call the
<emphasis><property>Project Examples</property></emphasis> from
menu bar: <property>Help > Project Examples...</property> or directly
from <emphasis><property>File > New >
Example...</property></emphasis> menu )</para></listitem>
+ <listitem><para>Select <menuchoice><guimenuitem>Jboss
Tools</guimenuitem><guimenuitem>Project
Examples</guimenuitem></menuchoice> (You can also call the
<emphasis><property>Project Examples</property></emphasis> from
menu bar: <menuchoice><guimenuitem>Help</guimenuitem><guimenuitem>
Project Examples...</guimenuitem></menuchoice> or directly from
+
<menuchoice><guimenuitem>File</guimenuitem><guimenuitem>New</guimenuitem><guimenuitem>Example...</guimenuitem></menuchoice>
menu )</para></listitem>
</itemizedlist>
@@ -101,7 +101,7 @@
</figure>
<para>
- Alternatively, you should navigate to <property>New >
Other..</property>, scroll down to find the <property>JBoss
Tools</property> option (or just type in the first letters of the word
"JBoss" for quick search), expand the option and select
<property>Project Examples</property>, click
<property>Next</property>.
+ Alternatively, you should navigate to
<menuchoice><guimenuitem>New</guimenuitem><guimenuitem>Other...</guimenuitem></menuchoice>,
scroll down to find the <property>JBoss Tools</property> option (or just type
in the first letters of the word "JBoss" for quick search), expand the
option and select <property>Project Examples</property>, click
<property>Next</property>.
</para>
<itemizedlist>
<listitem><para>Now in the <property>New Project
Example</property> dialog you can select a project you would like to explore and a
site to download it from</para>
@@ -132,7 +132,7 @@
</mediaobject>
</figure>
- <para>You should click
<emphasis><property>Details</property></emphasis> to see the list
of requirements
+ <para>You should click the <guibutton>Details</guibutton>
button to see the list of requirements
and make fixes.</para>
<figure>
@@ -166,7 +166,7 @@
</note>
<itemizedlist>
- <listitem><para>Press
<emphasis><property>Finish</property></emphasis> to start
downloading the project from the repository
+ <listitem><para>Press the
<guibutton>Finish</guibutton> button to start downloading the project from the
repository
</para></listitem>
</itemizedlist>
@@ -221,7 +221,7 @@
<itemizedlist>
<listitem><para>Select the problem from the
list</para></listitem>
- <listitem><para>Click <emphasis><property>Quick
Fix</property></emphasis> button</para></listitem>
+ <listitem><para>Click <guibutton>Quick
Fix</guibutton> button</para></listitem>
</itemizedlist>
<para>You will be offered a solution or a number of solutions to the
problem.</para>
@@ -234,7 +234,7 @@
</imageobject>
</mediaobject>
</figure>
- <para>In this case (see the image above), when the
<emphasis><property>Finish</property></emphasis> button is
pressed, Seam Settings dialog box will be displayed where you need to provide a path to
the Seam environment to fix the issue.</para>
+ <para>In this case (see the image above), when the
<guibutton>Finish</guibutton> button is pressed, Seam Settings dialog box will
be displayed where you need to provide a path to the Seam environment to fix the
issue.</para>
<para>When the problem is fixed you will be returned to the Quick Fix
dialog box with the remaining problems to be fixed.</para>
@@ -251,9 +251,9 @@
<para>To fix the problem immediately you need to:</para>
<itemizedlist>
- <listitem><para>Click
<emphasis><property>Details...</property></emphasis> button in the
<property>New Project Example</property> dialog</para></listitem>
+ <listitem><para>Click the
<guibutton>Details...</guibutton> button in the <property>New Project
Example</property> dialog</para></listitem>
<listitem><para>Select the problem from the list in the
<property>Requirement details</property> dialog
box</para></listitem>
- <listitem><para>Click
<emphasis><property>Fix</property></emphasis>
button</para></listitem>
+ <listitem><para>Click the <guibutton>Fix</guibutton>
button</para></listitem>
</itemizedlist>
<figure>
Modified: trunk/documentation/guides/GettingStartedGuide/en-US/rad_jsf_application.xml
===================================================================
---
trunk/documentation/guides/GettingStartedGuide/en-US/rad_jsf_application.xml 2011-01-17
02:02:02 UTC (rev 28273)
+++
trunk/documentation/guides/GettingStartedGuide/en-US/rad_jsf_application.xml 2011-01-17
02:53:39 UTC (rev 28274)
@@ -35,12 +35,7 @@
project wizard and predefined templates. Follow the next steps:</para>
<itemizedlist>
<listitem>
- <para>In Web Projects (if it is not open select <emphasis>
- <property>Window > Show View > Others
> JBoss Tools Web
- > Web Projects</property>
- </emphasis>) click <emphasis>
- <property>Create New JSF Project</property>
- </emphasis> button. <figure>
+ <para>In Web Projects (if it is not open select
<menuchoice><guimenuitem>Window</guimenuitem><guimenuitem>Show
View</guimenuitem><guimenuitem>Others</guimenuitem><guimenuitem>JBoss
Tools Web</guimenuitem><guimenuitem>Web
Projects</guimenuitem></menuchoice>) click <guibutton>Create New JSF
Project</guibutton> button. <figure>
<title>Create New JSF Project</title>
<mediaobject>
<imageobject>
@@ -57,15 +52,13 @@
</para>
</listitem>
<listitem>
- <para>Leave everything else as it is and click <emphasis>
- <property>Finish</property>
- </emphasis>
+ <para>Leave everything else as it is and click the
<guibutton>Finish</guibutton> button
</para>
</listitem>
</itemizedlist>
<para>Our project will appear in Project Explorer and Web Projects. As you can
see
JBoss Developer Studio has created for us the whole skeleton for the project
with all
- needed libraries, faces-config.xml and web.xml files.</para>
+ needed libraries, <filename>faces-config.xml</filename> and
<filename>web.xml</filename> files.</para>
<figure>
<title>New JSF Project</title>
<mediaobject>
@@ -90,7 +83,7 @@
<para>Now, we will guide you through the steps on how to do this.</para>
<itemizedlist>
<listitem>
- <para>First a folder called <filename>pages</filename> needs to be
created under the <filename>WebContent</filename> folder. To do this right
click on the <filename>WebContent</filename> folder in the Package Explorer
view and select New > Folder. Set the <guilabel>Folder Name</guilabel> to
<filename>pages</filename> and click the
<guibutton>Finish</guibutton> button.</para>
+ <para>First a folder called <filename>pages</filename> needs to be
created under the <filename>WebContent</filename> folder. To do this right
click on the <filename>WebContent</filename> folder in the Package Explorer
view and select
<menuchoice><guimenuitem>New</guimenuitem><guimenuitem>Folder</guimenuitem></menuchoice>.
Set the <guilabel>Folder Name</guilabel> to
<filename>pages</filename> and click the
<guibutton>Finish</guibutton> button.</para>
<para>
<figure>
<title>Create pages folder</title>
@@ -133,10 +126,7 @@
</para>
</listitem>
<listitem>
- <para>Leave everything else as is and click <emphasis>
- <property>Finish</property>
- </emphasis>
- </para>
+ <para>Leave everything else as is and click the
<guibutton>Finish</guibutton> button</para>
</listitem>
<listitem>
<para>In the same way create another jsf view. Type <emphasis>
@@ -147,9 +137,7 @@
</para>
</listitem>
<listitem>
- <para>Select <emphasis>
- <property>File > Save</property>
- </emphasis>
+ <para>Select
<menuchoice><guimenuitem>File</guimenuitem><guimenuitem>Save</guimenuitem></menuchoice>
</para>
</listitem>
</itemizedlist>
@@ -202,9 +190,7 @@
</figure>
<itemizedlist>
<listitem>
- <para>Select <emphasis>
- <property>File > Save</property>
- </emphasis> from the menu bar</para>
+ <para>Select
<menuchoice><guimenuitem>File</guimenuitem><guimenuitem>Save</guimenuitem></menuchoice>
from the menu bar</para>
</listitem>
</itemizedlist>
</section>
@@ -229,17 +215,13 @@
<listitem>
<para>Right click <emphasis>
<property>JavaSource</property>
- </emphasis> folder and select <emphasis>
- <property>New > Folder</property>
- </emphasis>
+ </emphasis> folder and select
<menuchoice><guimenuitem>New</guimenuitem><guimenuitem>Folder</guimenuitem></menuchoice>
</para>
</listitem>
<listitem>
<para>Type <emphasis>
<property>game</property>
- </emphasis> for Folder name and click <emphasis>
- <property>Finish</property>
- </emphasis>
+ </emphasis> for Folder name and click the
<guibutton>Finish</guibutton> button
</para>
</listitem>
</itemizedlist>
@@ -248,17 +230,12 @@
<listitem>
<para>Right click on <emphasis>
<property>game folder</property>
- </emphasis> and select <emphasis>
- <property>New > Properties File</property>
- </emphasis>
+ </emphasis> and select
<menuchoice><guimenuitem>New</guimenuitem><guimenuitem>Properties
File</guimenuitem></menuchoice>
</para>
</listitem>
<listitem>
- <para>Type <emphasis>
- <property>messages</property>
- </emphasis> as the value for "name" attribute and click
<emphasis>
- <property>Finish</property>
- </emphasis>
+ <para>
+ Type <emphasis><property>messages</property></emphasis> as
the value for "name" attribute and click the
<guibutton>Finish</guibutton> button
</para>
</listitem>
</itemizedlist>
@@ -274,9 +251,7 @@
</figure>
<itemizedlist>
<listitem>
- <para>Click <emphasis>
- <property>Add</property>
- </emphasis> button for adding new attribute to your resource
file</para>
+ <para>Click the <guibutton>Add</guibutton> button for adding new
attribute to your resource file</para>
</listitem>
<listitem>
<para>Type <emphasis role="italic">
@@ -286,9 +261,7 @@
</emphasis> for value</para>
</listitem>
<listitem>
- <para>Click <emphasis>
- <property>Finish</property>
- </emphasis>
+ <para>Click the <guibutton>Finish</guibutton> button
</para>
</listitem>
<listitem>
@@ -303,9 +276,7 @@
]]></programlisting>
<itemizedlist>
<listitem>
- <para>Click <emphasis>
- <property>File > Save</property>
- </emphasis> from the menu bar</para>
+ <para>Click
<menuchoice><guimenuitem>File</guimenuitem><guimenuitem>Save</guimenuitem></menuchoice>
from the menu bar</para>
</listitem>
</itemizedlist>
<para>Your .properties file should now look like follows:</para>
@@ -318,17 +289,8 @@
</mediaobject>
</figure>
<para>
- <emphasis>
- <property>Up</property>
- </emphasis>
- and <emphasis>
- <property>Down</property>
- </emphasis> buttons allow you to move you attribute on the list. For delete the
attribute, choose it and press <emphasis>
- <property>Delete</property>
- </emphasis> button.</para>
- <para>If you want to change a value or a name of your attribute, click on it and
than on <emphasis>
- <property>Edit</property>
- </emphasis> button.</para>
+ The <guibutton>Up</guibutton> and <guibutton>Down</guibutton>
buttons allow you to move you attribute on the list. For delete the attribute, choose it
and press the <guibutton>Delete</guibutton> button.</para>
+ <para>If you want to change a value or a name of your attribute, click on it and
then click the <guibutton>Edit</guibutton> button.</para>
<para>If the .properties file is rather big and there are a lot of entries in it,
you can use filtering and regular expressions to find the necessary ones. The Filter and
Regular Expressions Search is implemented by an expandable panel, closed by default:
</para>
<para>When "Expression" is not selected (as by default), filter is case
insensitive. When "Expression" is selected, filter uses regular expressions
which are case sensitive</para>
@@ -369,10 +331,7 @@
</para>
</listitem>
<listitem>
- <para>Select <emphasis>
- <property>New > Class</property>
- </emphasis>
- </para>
+ <para>Select
<menuchoice><guimenuitem>New</guimenuitem><guimenuitem>Class</guimenuitem></menuchoice></para>
</listitem>
<listitem>
<para>Type <emphasis>
@@ -396,17 +355,13 @@
</emphasis> in Package Explorer</para>
</listitem>
<listitem>
- <para>Select <emphasis>
- <property>Source > Generate Getters and
Setters...</property>
- </emphasis>
+ <para>Select
<menuchoice><guimenuitem>Source</guimenuitem><guimenuitem>Generate
Getters and Setters...</guimenuitem></menuchoice>
</para>
</listitem>
<listitem>
<para>Check <emphasis>
<property>userNumber</property>
- </emphasis> box and click <emphasis>
- <property>OK</property>
- </emphasis>
+ </emphasis> box and click the <guibutton>OK</guibutton> button
<figure>
<title>Generate Getters and Setters</title>
<mediaobject>
@@ -553,11 +508,11 @@
<section id="EditingFacesConfig">
<?dbhtml filename="EditingFacesConfig.html"?>
<title>Editing faces-config.xml File</title>
- <para>In this section you know about faces-config.xml file.</para>
+ <para>In this section you know about
<filename>faces-config.xml</filename> file.</para>
<para>This file holds two navigation rules and defines the backing bean
used.</para>
<itemizedlist>
<listitem>
- <para>Open faces-config.xml file in a source mode</para>
+ <para>Open <filename>faces-config.xml</filename> file in a source
mode</para>
</listitem>
<listitem>
<para>Add here one more navigation rule and a managed bean declarations that
the
@@ -615,14 +570,12 @@
<section id="EditingInputjsp">
<?dbhtml filename="EditingInputjsp.html"?>
<title>Editing inputnumber.jsp page</title>
- <para>First, let's dwell on how to edit inputnumber.jsp.</para>
+ <para>First, let's dwell on how to edit
<filename>inputnumber.jsp</filename>.</para>
<para>On this page we will have an output text component displaying a message, a
text
field for user's number entering and a button for input
submission.</para>
<itemizedlist>
<listitem>
- <para>Open inputnumber.jsp by double-clicking on the <emphasis>
- <property>/pages/inputnumber. jsp</property>
- </emphasis> icon</para>
+ <para>Open <filename>inputnumber.jsp</filename> by double-clicking
on the <filename>/pages/inputnumber. jsp</filename> icon</para>
</listitem>
</itemizedlist>
<para>The Visual Page Editor will open in a screen split between source code
along the
@@ -672,9 +625,7 @@
<listitem>
<para>Type <emphasis>
<property>inputNumbers</property>
- </emphasis> and click <emphasis>
- <property>Finish</property>
- </emphasis>
+ </emphasis> and click the <guibutton>Finish</guibutton> button
</para>
</listitem>
</itemizedlist>
@@ -687,7 +638,7 @@
</imageobject>
</mediaobject>
</figure>
- <para>First let's declare the properties file in inputnumber.jsp page
using the
+ <para>First let's declare the properties file in the
<filename>inputnumber.jsp</filename> page using the
loadBundle JSF tag.</para>
<itemizedlist>
<listitem>
@@ -719,7 +670,7 @@
<para>Select the second column in the <property>value</property>
row.</para>
</listitem>
<listitem>
- <para>Click <property>...</property> button next to the value
field</para>
+ <para>Click the <guibutton>...</guibutton> button next to the
value field</para>
</listitem>
</itemizedlist>
<para>JBDS will nicely propose you to choose within available
values:</para>
@@ -733,9 +684,7 @@
</figure>
<itemizedlist>
<listitem>
- <para>Expand <emphasis>
- <property>Resource Bundles >
msg</property>
- </emphasis>
+ <para>Expand <menuchoice><guimenuitem>Resource
Bundles</guimenuitem><guimenuitem>msg</guimenuitem></menuchoice>
</para>
</listitem>
<listitem>
@@ -771,9 +720,7 @@
component to make a new line.</para>
</listitem>
<listitem>
- <para>Click <emphasis>
- <property>Save</property>
- </emphasis> button.</para>
+ <para>Click the <guibutton>Save</guibutton> button.</para>
</listitem>
<listitem>
<para>On the Palette click on <emphasis>
@@ -788,9 +735,7 @@
component to make a new line</para>
</listitem>
<listitem>
- <para>Click <emphasis>
- <property>Save</property>
- </emphasis> button</para>
+ <para>Click the <guibutton>Save</guibutton> button</para>
</listitem>
<listitem>
<para>On the Palette click on <emphasis>
@@ -804,20 +749,16 @@
header</para>
</listitem>
<listitem>
- <para>Click <property>...</property> button next to the value
field</para>
+ <para>Click the <guibutton>...</guibutton> button next to the
value field</para>
</listitem>
<listitem>
- <para>Expand <emphasis>
- <property>Managed Beans >
NumberBean</property>
- </emphasis>
+ <para>Expand <menuchoice><guimenuitem>Managed
Beans</guimenuitem><guimenuitem>NumberBean</guimenuitem></menuchoice>
</para>
</listitem>
<listitem>
<para>Select <emphasis>
<property>userNumber</property>
- </emphasis> value and click <emphasis>
- <property>Ok</property>
- </emphasis>
+ </emphasis> value and click the <guibutton>OK</guibutton> button
</para>
</listitem>
<listitem>
@@ -843,7 +784,7 @@
header</para>
</listitem>
<listitem>
- <para>Click <property>...</property> button next to the value
field</para>
+ <para>Click <guibutton>...</guibutton> button next to the value
field</para>
</listitem>
<listitem>
<para>Expand <emphasis>
@@ -863,10 +804,8 @@
</figure>
<itemizedlist>
<listitem>
- <para>Click <emphasis>
- <property>Ok</property>, </emphasis> then
click <emphasis>
- <property>Finish</property>
- </emphasis>
+ <para>Click the <guibutton>OK</guibutton> button, then click the
<guibutton>Finish</guibutton> button
+
</para>
</listitem>
<listitem>
@@ -884,9 +823,7 @@
]]></programlisting>
<itemizedlist>
<listitem>
- <para>Click <emphasis>
- <property>Save</property>
- </emphasis> button</para>
+ <para>Click the <guibutton>Save</guibutton> button</para>
</listitem>
<listitem>
<para>Again select <emphasis>
@@ -906,19 +843,15 @@
header</para>
</listitem>
<listitem>
- <para>Click <property>...</property> button next to the value
field</para>
+ <para>Click <guibutton>...</guibutton> button next to the value
field</para>
</listitem>
<listitem>
- <para>Expand <emphasis>
- <property>Resource Bundles >
msg</property>
- </emphasis> and select <emphasis>
+ <para>Expand <menuchoice><guimenuitem>Resource
Bundles</guimenuitem><guimenuitem>msg</guimenuitem></menuchoice>
and select <emphasis>
<property>makeguess_button</property>
</emphasis> as a value</para>
</listitem>
<listitem>
- <para>Click <emphasis>
- <property>Ok</property>
- </emphasis>
+ <para>Click the <guibutton>OK</guibutton> button
</para>
</listitem>
<listitem>
@@ -930,12 +863,10 @@
<listitem>
<para>Type <emphasis>
<property>#{NumberBean.checkGuess}</property>
- </emphasis> in text field</para>
+ </emphasis> in the text field</para>
</listitem>
<listitem>
- <para>Click <emphasis>
- <property>Finish</property>
- </emphasis>
+ <para>Click the <guibutton>Finish</guibutton> button
</para>
</listitem>
<listitem>
@@ -948,7 +879,7 @@
components to place them on different lines</para>
</listitem>
</itemizedlist>
- <para>inputnumber.jsp page should look like this:</para>
+ <para><filename>inputnumber.jsp</filename> page should look like
this:</para>
<programlisting role="XML"><![CDATA[<%@ page
language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@ taglib prefix="f"
uri="http://java.sun.com/jsf/core"%>
<%@ taglib prefix="h"
uri="http://java.sun.com/jsf/html"%>
@@ -981,7 +912,7 @@
<section id="EditingSuccessJsp">
<?dbhtml filename="EditingSuccessJsp.html"?>
<title>Editing success.jsp page</title>
- <para>In the same way like inputnumber.jsp, edit success.jsp page. Its whole
source
+ <para>In the same way like <filename>inputnumber.jsp</filename>,
edit <filename>success.jsp</filename> page. Its whole source
should be the next:</para>
<programlisting role="XML"><![CDATA[<%@ taglib
uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib
uri="http://java.sun.com/jsf/core" prefix="f" %>
@@ -1016,7 +947,7 @@
</imageobject>
</mediaobject>
</figure>
- <para>This page, success.jsp, is shown if you correctly guessed the number. The
+ <para>This page, <filename>success.jsp</filename>, is shown if you
correctly guessed the number. The
<code><h:outputFormat></code>
tag will get the value of success_text from the properties file. The {0}
in success_text will be substituted for by the value of the value
attribute within
@@ -1044,14 +975,12 @@
<section id="CreatingIndexjsp">
<?dbhtml filename="CreatingIndexjsp.html"?>
<title>Creating index.jsp page</title>
- <para>Now you know how to create index.jsp page.</para>
- <para>The index.jsp page is the entry point of our application. It's
just
- forwarding to inputnumber.jsp page.</para>
+ <para>Now you know how to create <filename>index.jsp</filename>
page.</para>
+ <para>The <filename>index.jsp</filename> page is the entry point of
our application. It's just
+ forwarding to <filename>inputnumber.jsp</filename>
page.</para>
<itemizedlist>
<listitem>
- <para>Right click <emphasis>
- <property>WebContent > New > JSP
File</property>
- </emphasis>
+ <para>Right click
<menuchoice><guimenuitem>WebContent</guimenuitem><guimenuitem>New</guimenuitem><guimenuitem>JSP
File</guimenuitem></menuchoice>
</para>
</listitem>
<listitem>
@@ -1074,7 +1003,7 @@
]]></programlisting>
<para>Note the <emphasis>.jsf</emphasis> extension of a page. It
means that we trigger the
JSF controller servlet to handle the page according the servlet mapping in
the
- faces-config.xml file.</para>
+ <filename>faces-config.xml</filename> file.</para>
</section>
<section id="RunningTheApplication33">
<?dbhtml filename="RunningTheApplication33.html"?>
@@ -1082,17 +1011,10 @@
<para>Finally, we have all the pieces needed to run the
application.</para>
<itemizedlist>
<listitem>
- <para>Start up JBoss server by clicking on the <emphasis>
- <property>Start</property>
- </emphasis> icon in <property>Servers</property>. (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>
+ <para>Start up JBoss server by clicking on the the
<guibutton>Start</guibutton> icon in the
<property>Servers</property> 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>Right-click on project <emphasis>
- <property>Run AS > Run on Server</property>
- </emphasis>
- </para>
+ <para>Right-click on project <menuchoice><guimenuitem>Run
AS</guimenuitem><guimenuitem>Run on
Server</guimenuitem></menuchoice></para>
</listitem>
<listitem>
<para>Play with the application by entering correct as well as incorrect