Author: irooskov(a)redhat.com
Date: 2011-07-17 22:23:12 -0400 (Sun, 17 Jul 2011)
New Revision: 32981
Added:
branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/images/jsf_application/jsf_application_11.png
Modified:
branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/Book_Info.xml
branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/Feedback.xml
branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/JSF_Tools_Tutorial.ent
branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/JSF_Tools_Tutorial.xml
branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/Preface.xml
branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/Revision_History.xml
branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/adding_managed_bean.xml
branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/adding_navigation.xml
branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/images/jsf_application/jsf_application_1.png
branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/images/jsf_application/jsf_application_2.png
branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/images/jsf_application/jsf_application_4.png
branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/images/jsf_application/jsf_application_5.png
branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/images/jsf_application/jsf_application_6.png
branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/images/jsf_application/jsf_application_7.png
branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/images/jsf_application/jsf_application_8.png
branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/images/jsf_application/jsf_application_9.png
branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/jsf_application.xml
branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/jsp_view_files.xml
branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/master.xml
branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/relevant_resources.xml
branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/running_application.xml
branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/start_page.xml
branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/pom.xml
Log:
updated for GA
Modified: branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/Book_Info.xml
===================================================================
--- branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/Book_Info.xml 2011-07-18
02:19:56 UTC (rev 32980)
+++ branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/Book_Info.xml 2011-07-18
02:23:12 UTC (rev 32981)
@@ -5,9 +5,9 @@
<title>JSF Tools Tutorial</title>
<subtitle>Provides information relating to the JSF Tools module.</subtitle>
<productname>JBoss Developer Studio</productname>
- <productnumber>4.0</productnumber>
- <edition>4.0.0</edition>
- <pubsnumber>4</pubsnumber>
+ <productnumber>4.1</productnumber>
+ <edition>4.1.0</edition>
+ <pubsnumber>1</pubsnumber>
<abstract>
<para>The JSF Tools Tutorial explains how to use the JSF Tools module to create a
simple JSF application.</para>
</abstract>
Modified: branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/Feedback.xml
===================================================================
--- branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/Feedback.xml 2011-07-18
02:19:56 UTC (rev 32980)
+++ branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/Feedback.xml 2011-07-18
02:23:12 UTC (rev 32981)
@@ -1,20 +1,92 @@
<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "../Document_Conventions.ent">
+%BOOK_ENTITIES;
+]>
+<appendix id="sect_JBoss-Getting_Help_and_Giving_Feedback"
lang="en-US">
+ <title>Getting Help and Giving Feedback</title>
+ <section id="sect_JBoss-Do_You_Need_Help">
+ <title>Do You Need Help?</title>
+ <indexterm>
+ <primary>help</primary>
+ <secondary>getting help</secondary>
-<section id="sect-Beginners_Guide-We_Need_Feedback"
lang="en-US">
- <title>We Need Feedback!</title>
- <indexterm>
- <primary>feedback</primary>
- <secondary>contact information for this manual</secondary>
- </indexterm>
- <para>
- If you find a typographical error in this manual, or if you have thought of a way to
make this manual better, we would love to hear from you! Please submit a report in JIRA
against JBoss Developer Studio: <ulink
url="https://jira.jboss.org/jira/secure/CreateIssue.jspa?pid=1231050...
- </para>
- <para>
- When submitting a bug report, be sure to mention the manual's name and to select
the "documentation" component.
- </para>
- <para>
- If you have a suggestion for improving the documentation, try to be as specific as
possible when describing it. If you have found an error, please include the section number
and some of the surrounding text so we can find it easily.
- </para>
-</section>
+ </indexterm>
+ <para>
+ If you experience difficulty with a procedure described in this documentation, visit
the Red Hat Customer Portal at <ulink url="http://access.redhat.com" />.
Through the customer portal, you can:
+ </para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ search or browse through a knowledgebase of technical support articles about Red Hat
products.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ submit a support case to Red Hat Global Support Services (GSS).
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ access other product documentation.
+ </para>
+
+ </listitem>
+
+ </itemizedlist>
+ <para>
+ Red Hat also hosts a large number of electronic mailing lists for discussion of Red
Hat software and technology. You can find a list of publicly available mailing lists at
<ulink
url="https://www.redhat.com/mailman/listinfo" />. Click on the name
of any mailing list to subscribe to that list or to access the list archives.
+ </para>
+
+ </section>
+
+ <section id="jboss-feedback">
+ <title>Give us Feedback</title>
+ <!-- NOTE: You will need the following entities defined in your .ent file.
+ You will need to replace _YOUR_PRODUCT_HERE_, _YOUR_COMPONENT_
+ and _YOUR_SUMMARY_ - entities are not replaced in URLs.
+ <!ENTITY PRODUCT "JBoss Product Name">
+ <!ENTITY BZCOMPONENT "doc-triage">
+ <!ENTITY BZURL "<ulink
url='https://bugzilla.example.com/enter_bug.cgi?product=_YOUR_PRODUCT...
+
+ These entities should not affect translated documents, since Bugzilla is not
localised.
+ --> <indexterm>
+ <primary>feedback</primary>
+ <secondary>contact information for this manual</secondary>
+
+ </indexterm>
+ <para>
+ If you find a typographical error, or know how this guide can be improved, we would
love to hear from you. Submit a report in Bugzilla against the product
<literal>&BZPRODUCT;</literal> and the component
<literal>&BZCOMPONENT;</literal>. The following link will take you to a
pre-filled bug report for this product: &BZURL;.
+ </para>
+ <para>
+ Fill out the following template in Bugzilla's
<literal>Description</literal> field. Be as specific as possible when
describing the issue; this will help ensure that we can fix it quickly.
+ </para>
+
+<screen>Document URL:
+
+
+Section Number and Name:
+
+
+Describe the issue:
+
+
+Suggestions for improvement:
+
+
+Additional information:
+
+
+</screen>
+ <para>
+ Be sure to give us your name so that you can receive full credit for reporting the
issue.
+ </para>
+
+ </section>
+
+
+</appendix>
+
+
Modified:
branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/JSF_Tools_Tutorial.ent
===================================================================
---
branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/JSF_Tools_Tutorial.ent 2011-07-18
02:19:56 UTC (rev 32980)
+++
branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/JSF_Tools_Tutorial.ent 2011-07-18
02:23:12 UTC (rev 32981)
@@ -1,4 +1,7 @@
<!ENTITY PRODUCT "JBoss">
<!ENTITY BOOKID "JSF_Tools_Tutorial">
-<!ENTITY YEAR "2010">
+<!ENTITY YEAR "2011">
<!ENTITY HOLDER "Red Hat">
+<!ENTITY BZPRODUCT "JBoss Developer Studio">
+<!ENTITY BZCOMPONENT "JSF Tools Tutorial">
+<!ENTITY BZURL "<ulink
url='https://bugzilla.redhat.com/enter_bug.cgi?product=JBoss&perc...
Modified:
branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/JSF_Tools_Tutorial.xml
===================================================================
---
branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/JSF_Tools_Tutorial.xml 2011-07-18
02:19:56 UTC (rev 32980)
+++
branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/JSF_Tools_Tutorial.xml 2011-07-18
02:23:12 UTC (rev 32981)
@@ -12,5 +12,6 @@
<xi:include href="start_page.xml"
xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include>
<xi:include href="running_application.xml"
xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include>
<xi:include href="relevant_resources.xml"
xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include>
+<xi:include href="Feedback.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="Revision_History.xml"
xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include>
</book>
Modified: branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/Preface.xml
===================================================================
--- branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/Preface.xml 2011-07-18
02:19:56 UTC (rev 32980)
+++ branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/Preface.xml 2011-07-18
02:23:12 UTC (rev 32981)
@@ -8,9 +8,5 @@
<para>
This manual uses several conventions to highlight certain words and phrases and draw
attention to specific pieces of information. To get more information on these conventions
please refer to the <guilabel>Document Conventions</guilabel> manual, which
can be found on the <ulink
url="http://docs.redhat.com/docs/en-US/JBoss_Developer_Studio/index....
Hat Documentation</ulink> website under the <guilabel>JBoss Developer
Studio</guilabel> section.
</para>
- <!--<xi:include href="Common_Content/Conventions.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
- <xi:include href="Feedback.xml"
xmlns:xi="http://www.w3.org/2001/XInclude"><xi:fallback
xmlns:xi="http://www.w3.org/2001/XInclude"><xi:include
href="Common_Content/Feedback.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
- </xi:fallback>
- </xi:include>-->
</preface>
Modified:
branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/Revision_History.xml
===================================================================
---
branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/Revision_History.xml 2011-07-18
02:19:56 UTC (rev 32980)
+++
branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/Revision_History.xml 2011-07-18
02:23:12 UTC (rev 32981)
@@ -2,31 +2,51 @@
<!DOCTYPE Book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
]>
<appendix>
- <title>Revision History</title>
- <simpara>
- <revhistory>
- <revision>
- <revnumber>1</revnumber><date>Wed Jun 09
2010</date>
- <author>
- <firstname>JBoss
Tools</firstname><surname>Documentation
Team</surname><email>irooskov(a)redhat.com</email>
- </author>
- <revdescription>
- <simplelist>
- <member>General updates</member>
- </simplelist>
- </revdescription>
- </revision>
- <revision>
- <revnumber>0</revnumber><date>Fri Nov 20
2009</date>
- <author>
-
<firstname>Isaac</firstname><surname>Rooskov</surname><email>irooskov(a)redhat.com</email>
- </author>
- <revdescription>
- <simplelist>
- <member>Initial creation of book by
publican</member>
- </simplelist>
- </revdescription>
- </revision>
- </revhistory>
- </simpara>
+ <title>Revision History</title>
+ <simpara>
+ <revhistory>
+ <revision>
+ <revnumber>1-1</revnumber>
+ <date>Mon Mar 14 2011</date>
+ <author>
+ <firstname>Matthew</firstname>
+ <surname>Casperson</surname>
+ <email>mcaspers(a)redhat.com</email>
+ </author>
+ <revdescription>
+ <simplelist>
+ <member>General updates, screen shot refresh, and procedure
check</member>
+ </simplelist>
+ </revdescription>
+ </revision>
+ <revision>
+ <revnumber>1-0</revnumber>
+ <date>Wed Jun 09 2010</date>
+ <author>
+ <firstname>JBoss Tools</firstname>
+ <surname>Documentation Team</surname>
+ <email>irooskov(a)redhat.com</email>
+ </author>
+ <revdescription>
+ <simplelist>
+ <member>General updates</member>
+ </simplelist>
+ </revdescription>
+ </revision>
+ <revision>
+ <revnumber>0-0</revnumber>
+ <date>Fri Nov 20 2009</date>
+ <author>
+ <firstname>Isaac</firstname>
+ <surname>Rooskov</surname>
+ <email>irooskov(a)redhat.com</email>
+ </author>
+ <revdescription>
+ <simplelist>
+ <member>Initial creation of book by publican</member>
+ </simplelist>
+ </revdescription>
+ </revision>
+ </revhistory>
+ </simpara>
</appendix>
Modified:
branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/adding_managed_bean.xml
===================================================================
---
branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/adding_managed_bean.xml 2011-07-18
02:19:56 UTC (rev 32980)
+++
branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/adding_managed_bean.xml 2011-07-18
02:23:12 UTC (rev 32981)
@@ -1,90 +1,60 @@
<?xml version="1.0" encoding="UTF-8"?>
<chapter id="adding_managed_bean">
- <?dbhtml filename="adding_managed_bean.html"?>
- <chapterinfo>
- <keywordset>
- <keyword>JBoss Developer Studio</keyword>
- <keyword>JSF application</keyword>
- <keyword>Java</keyword>
- </keywordset>
- </chapterinfo>
+ <?dbhtml filename="adding_managed_bean.html"?>
+ <chapterinfo>
+ <keywordset>
+ <keyword>JBoss Developer Studio</keyword>
+ <keyword>JSF application</keyword>
+ <keyword>Java</keyword>
+ </keywordset>
+ </chapterinfo>
- <title>Adding a Managed Bean to the Application</title>
- <para>To store data in the application, we will use a managed
bean.</para>
- <itemizedlist>
- <listitem>
- <para>Click on the <emphasis>
- <property>Tree</property>
- </emphasis> tab at the bottom of the editing window</para>
- </listitem>
- <listitem>
- <para>Select the <emphasis>
- <property>Managed Beans</property>
- </emphasis> node and then click the <emphasis>
- <property>Add...</property>
- </emphasis> button displayed along the right side of the editor
window</para>
- </listitem>
- <listitem>
- <para>Type in <emphasis>
- <property>jsfHello.PersonBean</property>
- </emphasis> for Class and <emphasis>
- <property>personBean</property>
- </emphasis> for Name. Leave Scope as is and Generate Source Code as
is
- (checked)</para>
- </listitem>
- <listitem>
- <para>Click <emphasis>
- <property>Finish</property>
- </emphasis></para>
- </listitem>
- <listitem>
- <para>personBean will now be selected and three sections of
information: <emphasis>
- <property>Managed Bean</property>
- </emphasis>, <emphasis>
- <property>Properties</property>
- </emphasis>, and <emphasis>
- <property>Advanced</property>
- </emphasis>, will be displayed about it. Under the Properties
section, click the <emphasis>
- <property>Add...</property>
- </emphasis> button</para>
- </listitem>
- <listitem>
- <para>Type in <emphasis>
- <property>name</property>
- </emphasis> for Property-Name. Leave everything else as is. (When
Property-
- Class is not filled in, String is the assumed type)</para>
- </listitem>
- <listitem>
- <para>Click <emphasis>
- <property>Finish</property>
- </emphasis></para>
- </listitem>
- <listitem>
- <para>Select the <emphasis>
- <property>personBean</property>
- </emphasis> node in the tree</para>
- </listitem>
- </itemizedlist>
- <para>You should see this now:</para>
- <figure>
- <title>Tree View in Config Editor</title>
- <mediaobject>
- <imageobject>
- <imagedata
fileref="images/jsf_application/jsf_application_5.png"/>
- </imageobject>
- </mediaobject>
- </figure>
- <itemizedlist>
- <listitem>
- <para>Select <emphasis>
- <property>File > Save</property>
- </emphasis> from the menu bar</para>
- </listitem>
- </itemizedlist>
- <para>You have now registered the <emphasis>
- <property>managed bean</property>
- </emphasis> and created a <emphasis>
- <property>stub-coded class</property>
- </emphasis> file for it.</para>
-
- </chapter>
\ No newline at end of file
+ <title>Adding a Managed Bean to the Application</title>
+ <para>To store data in the application, we will use a managed bean.</para>
+ <itemizedlist>
+ <listitem>
+ <para>Click on the <guilabel>Tree</guilabel> tab at the bottom of
the editing window.</para>
+ </listitem>
+ <listitem>
+ <para>Select the <guilabel>Managed Beans</guilabel> node and then
click the <guibutton>Add...</guibutton> button displayed along the right side
of the editor window.</para>
+ </listitem>
+ <listitem>
+ <para>Type in <guilabel>jsfHello.PersonBean</guilabel> for Class and
<guilabel>personBean</guilabel> for Name. Leave the
<guilabel>Scope</guilabel> selection as is and leave the
<guilabel>Generate Source Code</guilabel> checkbox checked.</para>
+ </listitem>
+ <listitem>
+ <para>Click the <guibutton>Finish</guibutton> button.</para>
+ </listitem>
+ <listitem>
+ <para>personBean will now be selected and three sections of information:
<guilabel>Managed Bean</guilabel>,
<guilabel>Properties</guilabel>, and <guilabel>Advanced</guilabel>
will be displayed about it. Under the <guilabel>Properties</guilabel> section,
click the <guibutton>Add...</guibutton> button.</para>
+ </listitem>
+ <listitem>
+ <para>Type in <guilabel>name</guilabel> for
<guilabel>Property-Name</guilabel>. Leave everything else as is. (When
<guilabel>Property-Class</guilabel> is not filled in, String is the assumed
type.)</para>
+ </listitem>
+ <listitem>
+ <para>Click the <guibutton>Finish</guibutton> button.</para>
+ </listitem>
+ <listitem>
+ <para>Select the <guilabel>personBean</guilabel> node in the
tree.</para>
+ </listitem>
+ </itemizedlist>
+ <para>You should see this now:</para>
+ <figure>
+ <title>Tree View in Config Editor</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/jsf_application/jsf_application_5.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <itemizedlist>
+ <listitem>
+ <para>Select <menuchoice><guimenuitem>File</guimenuitem>
+ <guimenuitem>Save</guimenuitem>
+ </menuchoice> from the menu bar.</para>
+ </listitem>
+ </itemizedlist>
+ <para>
+ You have now registered the <emphasis><property>managed
bean</property></emphasis> and created a
<emphasis><property>stub-coded class</property></emphasis> file
for it.
+ </para>
+
+</chapter>
\ No newline at end of file
Modified:
branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/adding_navigation.xml
===================================================================
---
branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/adding_navigation.xml 2011-07-18
02:19:56 UTC (rev 32980)
+++
branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/adding_navigation.xml 2011-07-18
02:23:12 UTC (rev 32981)
@@ -20,45 +20,34 @@
<?dbhtml filename="AddingTwoViewsJSPPages.html"?>
<title>Adding Two Views (JSP Pages)</title>
<itemizedlist>
+ <listitem>
+ <para>Create a new folder called
<filename>pages</filename> under the
<filename>WebContent</filename> folder.</para>
+ </listitem>
<listitem>
- <para>Right-click anywhere on the diagram and select
<emphasis>
- <property>Rule...</property>
- </emphasis> from the pop-up menu</para>
+ <para>Right-click anywhere on the diagram and select
<guimenuitem>New View...</guimenuitem> from the context menu.</para>
</listitem>
<listitem>
- <para>In the dialog box, type <emphasis>
- <property>pages/inputname</property>
- </emphasis> as the value for From View ID</para>
+ <para>In the dialog box, type
<guilabel>pages/inputname</guilabel> as the value for From View
ID.</para>
</listitem>
<listitem>
- <para>Leave everything else as is</para>
+ <para>Leave everything else as is.</para>
</listitem>
<listitem>
- <para>Click <emphasis>
- <property>Finish</property>
- </emphasis></para>
- <para>If you look in the Package Explorer view you should see a
<emphasis>
- <property>pages</property>
- </emphasis> folder under WebContent. Opening it will reveal the
JSP file you
- just created</para>
+ <para>Click the <guibutton>Finish</guibutton>
button.</para>
+ <para>If you look in the Package Explorer view you should see a
<filename>pages</filename> folder under the
<filename>WebContent</filename> folder. Opening it will reveal the JSP file
you
+ just created.</para>
</listitem>
<listitem>
- <para>Back on the diagram, right-click anywhere and select
<emphasis>
- <property>Rule...</property>
- </emphasis> from the pop-up menu</para>
+ <para>Back on the diagram, right-click anywhere and select
<guimenuitem>New View...</guimenuitem> from the pop-up menu.</para>
</listitem>
<listitem>
- <para>In the dialog box, type <emphasis>
- <property>pages/greeting</property>
- </emphasis> as the value for From View ID</para>
+ <para>In the dialog box, type
<guilabel>pages/greeting</guilabel> as the value for From View
ID.</para>
</listitem>
<listitem>
- <para>Leave everything else as is</para>
+ <para>Leave everything else as is.</para>
</listitem>
<listitem>
- <para>Click <emphasis>
- <property>Finish</property>
- </emphasis></para>
+ <para>Click the
<guibutton>Finish</guibutton>.</para>
</listitem>
</itemizedlist>
@@ -79,11 +68,7 @@
<itemizedlist>
<listitem>
- <para>Click on the <emphasis>
- <property>pages/inputname</property>
- </emphasis> page icon and then click on the <emphasis>
- <property>pages/greeting</property>
- </emphasis> page icon</para>
+ <para>Click on the <guilabel>pages/inputname</guilabel>
page icon and then click on the <guilabel>pages/greeting</guilabel> page
icon.</para>
</listitem>
</itemizedlist>
@@ -98,9 +83,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>
Modified:
branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/images/jsf_application/jsf_application_1.png
===================================================================
(Binary files differ)
Added:
branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/images/jsf_application/jsf_application_11.png
===================================================================
(Binary files differ)
Property changes on:
branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/images/jsf_application/jsf_application_11.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Modified:
branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/images/jsf_application/jsf_application_2.png
===================================================================
(Binary files differ)
Modified:
branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/images/jsf_application/jsf_application_4.png
===================================================================
(Binary files differ)
Modified:
branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/images/jsf_application/jsf_application_5.png
===================================================================
(Binary files differ)
Modified:
branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/images/jsf_application/jsf_application_6.png
===================================================================
(Binary files differ)
Modified:
branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/images/jsf_application/jsf_application_7.png
===================================================================
(Binary files differ)
Modified:
branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/images/jsf_application/jsf_application_8.png
===================================================================
(Binary files differ)
Modified:
branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/images/jsf_application/jsf_application_9.png
===================================================================
(Binary files differ)
Modified: branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/jsf_application.xml
===================================================================
---
branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/jsf_application.xml 2011-07-18
02:19:56 UTC (rev 32980)
+++
branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/jsf_application.xml 2011-07-18
02:23:12 UTC (rev 32981)
@@ -1,100 +1,82 @@
<?xml version="1.0" encoding="UTF-8"?>
<chapter id="jsf_application">
- <?dbhtml filename="jsf_application.html"?>
- <chapterinfo>
- <keywordset>
- <keyword>JBoss Developer Studio</keyword>
- <keyword>JSF application</keyword>
- <keyword>Java</keyword>
- </keywordset>
- </chapterinfo>
+ <?dbhtml filename="jsf_application.html"?>
+ <chapterinfo>
+ <keywordset>
+ <keyword>JBoss Developer Studio</keyword>
+ <keyword>JSF application</keyword>
+ <keyword>Java</keyword>
+ </keywordset>
+ </chapterinfo>
- <title>Creating a Simple JSF Application</title>
+ <title>Creating a Simple JSF Application</title>
- <para>Firstly, we assume that you have already launched Eclipse with
<property>JBoss Tools</property>
- plug-ins installed and also that the <property>Web Development
perspective</property> is the current
- one. (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 <emphasis>
- <property>Web Development</property>
- </emphasis> from the Select Perspective dialog box.)</para>
+ <para>
+ Firstly, we assume that you have already launched Eclipse with <property>JBoss
Tools</property> plug-ins installed and also that the <property>Web
Development perspective</property> is the current one. (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 <guimenuitem>Web
Development</guimenuitem> from the Select Perspective dialog box.)
+ </para>
- <section id="setting_up_the_project">
- <?dbhtml filename="SettingUpTheProject.html"?>
- <title>Setting Up the Project</title>
- <para>Now we are going to create a new project for the
application.</para>
- <itemizedlist>
- <listitem>
- <para>For that go to the menu bar and select <emphasis>
- <property>File > New > Project...</property>
- </emphasis></para>
- </listitem>
- <listitem>
- <para>Select <emphasis>
- <property>JBoss Tools Web > JSF > JSF
Project</property>
- </emphasis> in the New Project dialog box</para>
- </listitem>
- <listitem>
- <para>Click <emphasis>
- <property>Next</property>
- </emphasis></para>
- </listitem>
- <listitem>
- <para>Enter "jsfHello" as the project
name.</para>
- </listitem>
- <listitem>
- <para>Leave everything else as is, and click <emphasis>
- <property>Finish</property>
- </emphasis></para>
- </listitem>
+ <section id="setting_up_the_project">
+ <?dbhtml filename="SettingUpTheProject.html"?>
+ <title>Setting Up the Project</title>
+ <para>Now we are going to create a new project for the application.</para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ For that go to the menu bar and select
<menuchoice><guimenuitem>File</guimenuitem><guimenuitem>New</guimenuitem><guimenuitem>Project...</guimenuitem></menuchoice>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Select <menuchoice><guimenuitem>JBoss Tools
Web</guimenuitem><guimenuitem>JSF</guimenuitem><guimenuitem>JSF
Project</guimenuitem></menuchoice> in the New Project dialog box.
+ </para>
+ </listitem>
+ <listitem>
+ <para>Click the <guibutton>Next</guibutton> button.</para>
+ </listitem>
+ <listitem>
+ <para>Enter <guilabel>jsfHello</guilabel> as the project
name.</para>
+ </listitem>
+ <listitem>
+ <para>Leave everything else as is, and click the
<guibutton>Finish</guibutton> button.</para>
+ </listitem>
- </itemizedlist>
- </section>
+ </itemizedlist>
+ </section>
- <section id="TheJSFApplicationConfigurationFile">
- <?dbhtml filename="TheJSFApplicationConfigurationFile.html"?>
- <title>JSF Configuration File</title>
- <para>A jsfHello node should appear in the upper-left Package Explorer
view.</para>
- <figure>
- <title>Package Explorer View</title>
- <mediaobject>
- <imageobject>
- <imagedata
fileref="images/jsf_application/jsf_application_1.png"/>
- </imageobject>
- </mediaobject>
- </figure>
- <itemizedlist>
- <listitem>
- <para>Click the plus sign next to <emphasis>
- <property>jsfHello</property>
- </emphasis> to reveal the child nodes</para>
- </listitem>
- <listitem>
- <para>Click the plus sign next to <emphasis>
- <property>WebContent</property>
- </emphasis> under jsfHello</para>
- </listitem>
- <listitem>
- <para>Click the plus sign next to <emphasis>
- <property>WEB-INF</property>
- </emphasis> under WebContent</para>
- </listitem>
+ <section id="TheJSFApplicationConfigurationFile">
+ <?dbhtml filename="TheJSFApplicationConfigurationFile.html"?>
+ <title>JSF Configuration File</title>
+ <para>A <guilabel>jsfHello</guilabel> node should appear in the
upper-left <guilabel>Package Explorer</guilabel> view.</para>
+ <figure>
+ <title>Package Explorer View</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/jsf_application/jsf_application_1.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <itemizedlist>
+ <listitem>
+ <para>Click the plus sign next to <guilabel>jsfHello</guilabel> to
reveal the child nodes</para>
+ </listitem>
+ <listitem>
+ <para>Click the plus sign next to <guilabel>WebContent</guilabel>
under jsfHello</para>
+ </listitem>
+ <listitem>
+ <para>Click the plus sign next to <guilabel>WEB-INF</guilabel>
under WebContent</para>
+ </listitem>
+ <listitem>
+ <para>Then double-click on the
<filename>faces-config.xml</filename> node to display the JSF application
configuration file editor</para>
+ </listitem>
+ </itemizedlist>
+ <figure>
+ <title>Configuration File Editor</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/jsf_application/jsf_application_2.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
- <listitem>
- <para>Then double-click on the
<property>faces-config.xml</property> node to display
- the JSF application configuration file editor</para>
- </listitem>
- </itemizedlist>
- <figure>
- <title>Configuration File Editor</title>
- <mediaobject>
- <imageobject>
- <imagedata
fileref="images/jsf_application/jsf_application_2.png"/>
- </imageobject>
- </mediaobject>
- </figure>
-
- </section>
+ </section>
</chapter>
Modified: branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/jsp_view_files.xml
===================================================================
---
branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/jsp_view_files.xml 2011-07-18
02:19:56 UTC (rev 32980)
+++
branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/jsp_view_files.xml 2011-07-18
02:23:12 UTC (rev 32981)
@@ -1,239 +1,205 @@
<?xml version="1.0" encoding="UTF-8"?>
<chapter id="jsp_view_files">
- <?dbhtml filename="jsp_view_files.html"?>
- <chapterinfo>
- <keywordset>
- <keyword>JBoss Tools</keyword>
- <keyword>JSF application</keyword>
- <keyword>Java</keyword>
- </keywordset>
- </chapterinfo>
+ <?dbhtml filename="jsp_view_files.html"?>
+ <chapterinfo>
+ <keywordset>
+ <keyword>JBoss Tools</keyword>
+ <keyword>JSF application</keyword>
+ <keyword>Java</keyword>
+ </keywordset>
+ </chapterinfo>
- <title>Editing the JSP View Files</title>
-
- <para>Now we will finish editing the JSP files for our two
"views" using
- JSP Visual Page.</para>
- <section id="Inputname.jsp">
- <title>inputname.jsp</title>
- <itemizedlist>
- <listitem>
- <para>Click on the <emphasis>
- <property>Diagram</property>
- </emphasis> tab for the configuration file editor</para>
- </listitem>
- <listitem>
- <para>Open the editor for this first JSP file by
double-clicking on the <emphasis>
- <property>/pages/inputname. jsp</property>
- </emphasis> icon</para>
- </listitem>
- </itemizedlist>
-
- <para>The Visual Page Editor will open in a screen split between source
code along the
- top and a WYSIWIG view along the bottom:</para>
- <figure>
- <title>Visual Page Editor</title>
- <mediaobject>
- <imageobject>
- <imagedata
fileref="images/jsf_application/jsf_application_6.png"/>
- </imageobject>
- </mediaobject>
- </figure>
- <para>Some JSF code is already in the file, because we have chosen a
template to create
- a page.</para>
- <itemizedlist>
- <listitem>
- <para>Select the <emphasis>
- <property>Visual</property>
- </emphasis> tab, so we can work with the editor completely in
its WYSIWYG
- mode</para>
- </listitem>
- <listitem>
- <para>To the right of the editor, in the JBoss Tools Palette,
expand the <emphasis>
- <property>JSF HTML</property>
- </emphasis> palette folder by selecting it</para>
- </listitem>
- </itemizedlist>
- <figure>
- <title>JBoss Tools Palette</title>
- <mediaobject>
- <imageobject>
- <imagedata
fileref="images/jsf_application/jsf_application_7.png"/>
- </imageobject>
- </mediaobject>
- </figure>
- <itemizedlist>
- <listitem>
- <para>Click on <emphasis>
- <property>form</property>
- </emphasis> within this folder, drag the cursor over to the
editor, and drop
- it inside the red box in the editor</para>
- </listitem>
- <listitem>
- <para>Another red box will appear inside the first red
box</para>
- </listitem>
- <listitem>
- <para>Right-click on the innermost box and select <emphasis
role="bold">
- <property><h:form></property>
- </emphasis> Attributes from the menu</para>
- </listitem>
- <listitem>
- <para>In the value field next to id, type <emphasis>
- <property>greeting</property>
- </emphasis> and click on the <emphasis>
- <property>Close</property>
- </emphasis> button</para>
- </listitem>
- <listitem>
- <para>Type "Please enter name:" inside the
boxes</para>
- </listitem>
- <listitem>
- <para>Select <emphasis>
- <property>inputText</property>
- </emphasis> within the JSF HTML palette folder and drag it into
the
- innermost box in the editor after "Please enter
- name:"</para>
- </listitem>
- <listitem>
- <para>In the attributes dialog, click in the <emphasis>
- <property>value</property>
- </emphasis> field next to the value attribute and click on the
<property>...
- </property>button</para>
- </listitem>
- <listitem>
- <para>Then, select the <emphasis>
- <property>Managed Beans > personBean >
name</property>
- </emphasis> node and click on the <emphasis>
- <property>Ok</property>
- </emphasis> button</para>
- </listitem>
- <listitem>
- <para>Back in the attributes dialog, select the
<emphasis>
- <property>Advanced</property>
- </emphasis> tab, type in <emphasis>
- <property>name</property>
- </emphasis> as the value for the <emphasis
role="italic">
- <property>"id"</property>
- </emphasis> attribute, and then click on the <emphasis>
- <property>Finish</property>
- </emphasis> button</para>
- </listitem>
- <listitem>
- <para>Select <emphasis>
- <property>commandButton</property>
- </emphasis> within the JSF HTML palette folder and drag it into
the
- innermost box in the editor after the input box</para>
- </listitem>
- <listitem>
- <para>In the attributes dialog, click in the value field next
to the <emphasis
- role="italic">
- <property>"action"</property>
- </emphasis> attribute and click on the <property>...
- </property>button</para>
- </listitem>
- <listitem>
- <para>Then, select the <emphasis>
- <property>View Actions > greeting</property>
- </emphasis> node and click on the <emphasis>
- <property>OK</property>
- </emphasis> button</para>
- </listitem>
- <listitem>
- <para>Back in the attributes dialog box, type in "Say
Hello"
- as the value for the value attribute ("Say
Hello") and
- then click on the <emphasis>
- <property>Finish</property>
- </emphasis> button</para>
- </listitem>
- </itemizedlist>
- <para>The source coding should be something like this
now:</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" %>
+ <title>Editing the JSP View Files</title>
+
+ <para>Now we will finish editing the JSP files for our two
"views" using
+ JSP Visual Page Editor.</para>
+ <section id="Inputname.jsp">
+ <title>inputname.jsp</title>
+ <itemizedlist>
+ <listitem>
+ <para>Click on the <guilabel>Diagram</guilabel> tab of the
configuration file editor.</para>
+ </listitem>
+ <listitem>
+ <para>Open the editor for this first JSP file by double-clicking on the
<guilabel>/pages/inputname.jsp</guilabel> icon.</para>
+ </listitem>
+ </itemizedlist>
+
+ <para>The Visual Page Editor will open in a screen split between source code
along the top and a WYSIWIG view along the bottom:</para>
+ <figure>
+ <title>Visual Page Editor</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/jsf_application/jsf_application_6.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <para>Some JSF code is already in the file, because we have chosen a template to
create a page.</para>
+ <itemizedlist>
+ <listitem>
+ <para>Select the <guilabel>Visual</guilabel> tab, so we can work
with the editor completely in its WYSIWYG mode.</para>
+ </listitem>
+ <listitem>
+ <para>To the right of the editor, in the JBoss Tools Palette, expand the
<guilabel>JSF HTML</guilabel> palette folder by selecting it.</para>
+ </listitem>
+ </itemizedlist>
+ <figure>
+ <title>JBoss Tools Palette</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/jsf_application/jsf_application_7.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <itemizedlist>
+ <listitem>
+ <para>
+ Click on <guimenuitem>form</guimenuitem> within this folder, drag the
cursor over to the editor, and drop it inside the
<code><f:view></code> element. This can be done by dragging the
form element onto the horizontal line at the top of the
<code><f:view></code> element. You should see a message saying
<guilabel>Place at the beginning of <f:view></guilabel>.
+ </para>
+ </listitem>
+ </itemizedlist>
+ <figure>
+ <title>Inserting the form element</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata
fileref="images/jsf_application/jsf_application_7a.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <itemizedlist>
+ <listitem>
+ <para>The <guilabel>Insert Tags</guilabel> dialog box will be
displayed.</para>
+ </listitem>
+ <listitem>
+ <para>
+ In the value field next to <guilabel>id</guilabel>, type
<guilabel>greeting</guilabel> and click on the
<guibutton>Close</guibutton> button.
+ </para>
+ </listitem>
+ <listitem>
+ <para>Type "Please enter name:" inside the
<code><h:form></code> element.</para>
+ </listitem>
+ <listitem>
+ <para>
+ Select <guimenuitem>inputText</guimenuitem> within the JSF HTML palette
folder place it at the end of the <code><h:form></code>
element.
+ </para>
+ </listitem>
+ </itemizedlist>
+ <figure>
+ <title>Inserting the input text element</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata
fileref="images/jsf_application/jsf_application_7b.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <itemizedlist>
+ <listitem>
+ <para>
+ In the attributes dialog, click in the <guilabel>value</guilabel> field
next to the value attribute and click on the
<guibutton>...</guibutton>button.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Then, select the <menuchoice><guimenuitem>Managed
Beans</guimenuitem><guimenuitem>personBean</guimenuitem><guimenuitem>name</guimenuitem></menuchoice>
node and click on the <guibutton>OK</guibutton> button.</para>
+ </listitem>
+ <listitem>
+ <para>
+ Back in the attributes dialog, select the <guilabel>Advanced</guilabel>
tab, and type in <guilabel>name</guilabel> as the value for the
<guilabel>id</guilabel> attribute, and then click on the
<guibutton>Finish</guibutton> button.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Select <guimenuitem>commandButton</guimenuitem> within the
<guilabel>JSF HTML palette</guilabel> folder and drag it into the end of the
<code><h:form></code> element.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ In the attributes dialog, click in the value field next to the
<guilabel>action</guilabel> attribute and click on the
<guibutton>...</guibutton> button.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Then, select the <menuchoice><guimenuitem>View
Actions</guimenuitem><guimenuitem>greeting</guimenuitem></menuchoice>
node and click on the <guibutton>OK</guibutton> button.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ In the <guilabel>Advanced</guilabel> tab, type in <guilabel>Say
Hello</guilabel> as the value for the value attribute ("Say
Hello") and then click on the <guibutton>Finish</guibutton> button.
+ </para>
+ </listitem>
+ </itemizedlist>
+ <para>The source coding should be something like this now:</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"%>
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
-<title></title>
+ <meta http-equiv="Content-Type" content="text/html;
charset=UTF-8">
+ <title>Insert title here</title>
</head>
-<body>
-<f:view>
-<h:form id="greeting">
-Please enter name:
-<h:inputText id="name" value="#{personBean.name}"/>
-<h:commandButton value=" Say Hello " action="greeting"/>
-</h:form>
-</f:view>
-</body>
-</html>
-]]></programlisting>
- <para>The editor should look like this:</para>
- <figure>
- <title>Visual Page Editor</title>
- <mediaobject>
- <imageobject>
- <imagedata
fileref="images/jsf_application/jsf_application_8.png"/>
- </imageobject>
- </mediaobject>
- </figure>
- <itemizedlist>
- <listitem>
- <para>Save the file by selecting <emphasis>
- <property>File > Save</property>
- </emphasis> from the menu bar</para>
- </listitem>
- </itemizedlist>
- </section>
- <section id="Greeting.jsp">
- <title>greeting.jsp</title>
- <itemizedlist>
- <listitem>
- <para>Click on the <emphasis>
- <property>faces-config.xml</property>
- </emphasis> tab to bring the diagram back</para>
- </listitem>
- <listitem>
- <para>Open the editor for the second file by double-clicking on
the <emphasis>
- <property>/pages/greeting.jsp</property>
- </emphasis> icon</para>
- </listitem>
- <listitem>
- <para>Select the <emphasis>
- <property>Visual</property>
- </emphasis> tab, so we can work with the editor completely in
its WYSIWYG
- mode</para>
- </listitem>
- <listitem>
- <para>Type "Hello "(note space after Hello)
into the
- box</para>
- </listitem>
- <listitem>
- <para>Select <emphasis>
- <property>outputText</property>
- </emphasis> within the JSF HTML palette folder and drag it into
the
- innermost box in the editor after
"Hello"</para>
- </listitem>
- <listitem>
- <para>In the attributes dialog, click in <emphasis>
- <property>value</property>
- </emphasis> field next to the value attribute and click on the
- <property>...</property> (Browse)
button</para>
- </listitem>
- <listitem>
- <para>Then, select the <emphasis>
- <property>Managed Beans > personBean >
name</property>
- </emphasis> node, click on the <emphasis>
- <property>Ok</property>
- </emphasis> button, and then click on the <emphasis>
- <property>Finish</property>
- </emphasis> button</para>
- </listitem>
- <listitem>
- <para>Right after the output field, type an <emphasis>
+ <body>
+ <f:view>
+ <h:form id="greeting">
+ Please enter name:
+ <h:inputText id="name" value="#{personBean.name}"/>
+ <h:commandButton action="greeting" value="Say Hello"/>
+ </h:form>
+ </f:view>
+ </body>
+</html>]]></programlisting>
+ <para>The editor should look like this:</para>
+ <figure>
+ <title>Visual Page Editor</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/jsf_application/jsf_application_8.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <itemizedlist>
+ <listitem>
+ <para>Save the file by selecting
<menuchoice><guimenuitem>File</guimenuitem><guimenuitem>Save</guimenuitem></menuchoice>
from the menu bar</para>
+ </listitem>
+ </itemizedlist>
+ </section>
+ <section id="Greeting.jsp">
+ <title>greeting.jsp</title>
+ <itemizedlist>
+ <listitem>
+ <para>Click on the <filename>faces-config.xml</filename> tab to
bring the diagram back</para>
+ </listitem>
+ <listitem>
+ <para>Open the editor for the second file by double-clicking on the
<filename>/pages/greeting.jsp</filename> icon</para>
+ </listitem>
+ <listitem>
+ <para>Select the <guilabel>Visual</guilabel> tab, so we can work
with the editor completely in its WYSIWYG mode</para>
+ </listitem>
+ <listitem>
+ <para>Type "Hello " (note the space after Hello) into the
box</para>
+ </listitem>
+ <listitem>
+ <para>Select <guimenuitem>outputText</guimenuitem> within the JSF
HTML palette folder and drag it into the
+ innermost box in the editor after "Hello
"</para>
+ </listitem>
+ <listitem>
+ <para>In the attributes dialog, click in <guilabel>value</guilabel>
field next to the value attribute and click on the
+ <guibutton>...</guibutton> (Browse)
button</para>
+ </listitem>
+ <listitem>
+ <para>
+ Then, select the <menuchoice><guimenuitem>Managed
Beans</guimenuitem><guimenuitem>personBean</guimenuitem><guimenuitem>name</guimenuitem></menuchoice>
node, click on the <guibutton>OK</guibutton> button, and then click on the
<guibutton>Finish</guibutton> button.
+ </para>
+ </listitem>
+ <listitem>
+ <para>Right after the output field, type an <emphasis>
<property>exclamation point</property>
- </emphasis> (<emphasis>
+ </emphasis> (<emphasis>
<property>!</property>
- </emphasis>)</para>
- </listitem>
- </itemizedlist>
- <para>The source coding should be something like this
now:</para>
- <programlisting role="XML"><![CDATA[<%@ taglib
uri="http://java.sun.com/jsf/html" prefix="h" %>
+ </emphasis>)</para>
+ </listitem>
+ </itemizedlist>
+ <para>The source coding should be something like this now:</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" %>
<html>
<head>
@@ -246,10 +212,10 @@
</body>
</html>
]]></programlisting>
- <itemizedlist>
- <listitem>
- <para>Save the file</para>
- </listitem>
- </itemizedlist>
- </section>
- </chapter>
\ No newline at end of file
+ <itemizedlist>
+ <listitem>
+ <para>Save the file</para>
+ </listitem>
+ </itemizedlist>
+ </section>
+</chapter>
\ No newline at end of file
Modified: branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/master.xml
===================================================================
--- branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/master.xml 2011-07-18
02:19:56 UTC (rev 32980)
+++ branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/master.xml 2011-07-18
02:23:12 UTC (rev 32981)
@@ -56,12 +56,12 @@
</releaseinfo>
-<abstract>
+<!--<abstract>
<title/>
<para>
- <ulink
url="http://download.jboss.org/jbosstools/nightly-docs/en/jsf_tools_...
version</ulink>
+ <ulink
url="http://download.jboss.org/jbosstools/nightly-docs/en/jsf_tools_...
version</ulink>
</para>
-</abstract>
+</abstract>-->
</bookinfo>
Modified:
branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/relevant_resources.xml
===================================================================
---
branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/relevant_resources.xml 2011-07-18
02:19:56 UTC (rev 32980)
+++
branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/relevant_resources.xml 2011-07-18
02:23:12 UTC (rev 32981)
@@ -1,37 +1,60 @@
<?xml version="1.0" encoding="UTF-8"?>
<chapter id="relevant_resources">
- <?dbhtml filename="relevant_resources.html"?>
- <chapterinfo>
- <keywordset>
- <keyword>JBoss Tools</keyword>
- <keyword>JSF application</keyword>
- <keyword>Java</keyword>
- </keywordset>
- </chapterinfo>
+ <?dbhtml filename="relevant_resources.html"?>
+ <chapterinfo>
+ <keywordset>
+ <keyword>JBoss Tools</keyword>
+ <keyword>JSF application</keyword>
+ <keyword>Java</keyword>
+ </keywordset>
+ </chapterinfo>
- <title>Other Relevant Resources on the topic</title>
- <para>JSF on Sun: <ulink
url="http://java.sun.com/javaee/javaserverfaces/">JavaServer Faces
- Technology</ulink></para>
- <para>Core JSF: <ulink
url="http://www.horstmann.com/corejsf/">Core JavaServer
Faces</ulink></para>
- <para>API: <ulink
url="http://java.sun.com/javaee/javaserverfaces/1.1/docs/api/index.h...
- API</ulink></para>
- <para>JSF Tags: <ulink
url="http://www.horstmann.com/corejsf/jsf-tags.html">JSF Core
- Tags</ulink></para>
- <para>HTML Tags Reference: <ulink
url="http://www.exadel.com/tutorial/jsf/jsftags-guide.html"
- >JSF HTML Tags Reference</ulink></para>
- <para>JSF Central: <ulink
url="http://www.jsfcentral.com/">JSF
Central - Your JavaServer Faces
- Community</ulink></para>
- <para>FAQ: <ulink
url="http://wiki.java.net/bin/view/Projects/JavaServerFacesSpecFaq&q...
- FAQ</ulink></para>
- <para>Download: <ulink
url="http://java.sun.com/javaee/javaserverfaces/download.html"&...
- Faces Technology - Download</ulink></para>
-
- <para>In summary, with this tutorial you should now know how to organize JSF
sample application
+ <title>Other Relevant Resources on the topic</title>
+ <itemizedlist>
+ <listitem>
+ <para>JSF on Sun: <ulink
url="http://java.sun.com/javaee/javaserverfaces/">JavaServer Faces
+ Technology</ulink>
+ </para>
+ </listitem>
+ <listitem>
+ <para>Core JSF: <ulink
url="http://www.horstmann.com/corejsf/">Core JavaServer Faces</ulink>
+ </para>
+ </listitem>
+ <listitem>
+ <para>API: <ulink
url="http://java.sun.com/javaee/javaserverfaces/reference/api/index....
+ API</ulink>
+ </para>
+ </listitem>
+ <listitem>
+ <para>JSF Tags: <ulink
url="http://www.horstmann.com/corejsf/jsf-tags.html">JSF Core
+ Tags</ulink>
+ </para>
+ </listitem>
+ <listitem>
+ <para>HTML Tags Reference: <ulink
url="http://www.exadel.com/tutorial/jsf/jsftags-guide.html">JSF HTML Tags
Reference</ulink>
+ </para>
+ </listitem>
+ <listitem>
+ <para>JSF Central: <ulink
url="http://www.jsfcentral.com/">JSF
Central - Your JavaServer Faces
+ Community</ulink>
+ </para>
+ </listitem>
+ <listitem>
+ <para>FAQ: <ulink
url="http://wiki.java.net/bin/view/Projects/JavaServerFacesSpecFaq&q...
+ FAQ</ulink>
+ </para>
+ </listitem>
+ <listitem>
+ <para>Download: <ulink
url="http://java.sun.com/javaee/javaserverfaces/download.html"&...
+ Faces Technology - Download</ulink>
+ </para>
+ </listitem>
+ </itemizedlist>
+ <para>In summary, with this tutorial you should now know how to organize JSF
sample application
using the wizards provided by <property>JBoss Tools</property>,
configure its stuff and
finally run it on the <property>JBoss
Server</property>.</para>
- <para>Find out more features on JSF tooling in our JSF Tools
- Reference Guide. If you have questions and suggestions, please refer to
<ulink
-
url="http://www.jboss.com/index.html?module=bb&op=viewforum&...
+ <para>Find out more features on JSF tooling in our JSF Tools
+ Reference Guide. If you have questions and suggestions, please refer to
<ulink
url="http://www.jboss.com/index.html?module=bb&op=viewforum&...
Tools Forum</ulink>.</para>
-</chapter>
+ </chapter>
Modified:
branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/running_application.xml
===================================================================
---
branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/running_application.xml 2011-07-18
02:19:56 UTC (rev 32980)
+++
branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/running_application.xml 2011-07-18
02:23:12 UTC (rev 32981)
@@ -34,14 +34,20 @@
<imageobject>
<imagedata
fileref="images/jsf_application/jsf_application_10.png"/>
</imageobject>
- </inlinemediaobject>) or right click your project folder and select
<emphasis>
- <property>Run As > Run on Server</property>
- </emphasis>:</para>
+ </inlinemediaobject>) or right click your project folder and select
<menuchoice><guimenuitem>Run As</guimenuitem><guimenuitem>Run on
Server</guimenuitem></menuchoice>:
+ </para>
</listitem>
</itemizedlist>
- <para>This is the equivalent of launching the browser and typing
<emphasis>
- <property>http://localhost:8080/jsfHello</property>
- </emphasis> into your browser. Our <property>JSF
application</property> should now
+ <para>This is the equivalent of launching the browser and typing <ulink
url="http://localhost:8080/jsfHello/index.jsp">
+
http://localhost:8080/jsfHello/index.jsp</ulink> into your browser. Our
<property>JSF application</property> should now
appear.</para>
+ <figure>
+ <title>JSF Application in Firefox 4.0</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata
fileref="images/jsf_application/jsf_application_11.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
</chapter>
\ No newline at end of file
Modified: branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/start_page.xml
===================================================================
--- branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/start_page.xml 2011-07-18
02:19:56 UTC (rev 32980)
+++ branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/start_page.xml 2011-07-18
02:23:12 UTC (rev 32981)
@@ -1,45 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?>
<chapter id="start_page">
- <?dbhtml filename="start_page.html"?>
- <chapterinfo>
- <keywordset>
- <keyword>JBoss Tools</keyword>
- <keyword>JSF application</keyword>
- <keyword>Java</keyword>
- </keywordset>
- </chapterinfo>
+ <?dbhtml filename="start_page.html"?>
+ <chapterinfo>
+ <keywordset>
+ <keyword>JBoss Tools</keyword>
+ <keyword>JSF application</keyword>
+ <keyword>Java</keyword>
+ </keywordset>
+ </chapterinfo>
- <title>Creating the Start Page</title>
- <para>You also need to create a start page as an entry point into the
application.</para>
- <itemizedlist>
- <listitem>
- <para>In the Package Explorer view to the left, right-click
<emphasis>
- <property>jsfHello > WebContent</property>
- </emphasis> and select <emphasis>
- <property>New > JSP File</property>
- </emphasis></para>
- </listitem>
- <listitem>
- <para>For Name type in <emphasis>
- <property>index</property>
- </emphasis>, for Template select <emphasis>
- <property>JSPRedirect</property>
- </emphasis> and click <emphasis>
- <property>Finish</property>
- </emphasis></para>
- </listitem>
- </itemizedlist>
- <para>A JSP editor will open up on the newly created file.</para>
-
- <itemizedlist>
- <listitem>
- <para>In the Source part of the split screen, type
<emphasis>
- <property>/pages/inputname.jsf</property>
- </emphasis> in between the quotes for the page
attribute</para>
- </listitem>
- </itemizedlist>
- <para>The source coding should look like this now:</para>
- <programlisting role="XML"><![CDATA[<!doctype html public
"-//w3c//dtd html 4.0 transitional//en">
+ <title>Creating the Start Page</title>
+ <para>You also need to create a start page as an entry point into the
application.</para>
+ <itemizedlist>
+ <listitem>
+ <para>In the Package Explorer view to the left, right-click
<menuchoice><guimenuitem>jsfHello</guimenuitem><guimenuitem>WebContent</guimenuitem></menuchoice>
and select
<menuchoice><guimenuitem>New</guimenuitem><guimenuitem>JSP
File</guimenuitem></menuchoice>
+ </para>
+ </listitem>
+ <listitem>
+ <para>For Name type in <guilabel>index</guilabel>, for Template
select <guimenuitem>New JSP File (html)</guimenuitem> and click the
<guibutton>Finish</guibutton> button.
+ </para>
+ </listitem>
+ </itemizedlist>
+ <para>A JSP editor will open up on the newly created file.</para>
+
+ <itemizedlist>
+ <listitem>
+ <para>In the Source part of the split screen, replace the contents of the file
with the code below.</para>
+ </listitem>
+ </itemizedlist>
+ <programlisting role="XML"><![CDATA[<!doctype html public
"-//w3c//dtd html 4.0 transitional//en">
<html>
<head></head>
<body>
@@ -47,17 +36,13 @@
</body>
</html>
]]></programlisting>
-
- <para>Note the <emphasis>
- <property>.jsf</property>
- </emphasis> extension for the file name. This is a mapping defined in the
web.xml file
- for the project for invoking <property>JavaServer
Faces</property> when you run the
- application.</para>
- <itemizedlist>
- <listitem>
- <para>Select<emphasis>
- <property> File > Save</property>
- </emphasis> from the menu bar</para>
- </listitem>
- </itemizedlist>
- </chapter>
\ No newline at end of file
+
+ <para>
+ Note the <filename>.jsf</filename> extension for the file name. This is a
mapping defined in the <filename>web.xml</filename> file for the project for
invoking <property>JavaServer Faces</property> when you run the application.
+ </para>
+ <itemizedlist>
+ <listitem>
+ <para>Select
<menuchoice><guimenuitem>File</guimenuitem><guimenuitem>Save</guimenuitem></menuchoice>
from the menu bar</para>
+ </listitem>
+ </itemizedlist>
+</chapter>
\ No newline at end of file
Modified: branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/pom.xml
===================================================================
--- branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/pom.xml 2011-07-18 02:19:56 UTC
(rev 32980)
+++ branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/pom.xml 2011-07-18 02:23:12 UTC
(rev 32981)
@@ -1,7 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<project
xmlns="http://maven.apache.org/POM/4.0.0"
-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
+<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.tools</groupId>
@@ -10,229 +8,232 @@
<packaging>jdocbook</packaging>
<name>${bookname}-(${translation})</name>
- <properties>
- <translation>en-US</translation>
- <docname>JSF_Tools_Tutorial</docname>
- <bookname>JSF Tools Tutorial</bookname>
- </properties>
-
- <profiles>
+ <properties>
+ <translation>en-US</translation>
+ <docname>JSF_Tools_Tutorial</docname>
+ <bookname>JSF Tools Tutorial</bookname>
+ </properties>
+ <profiles>
+
<!-- mvn compile -->
- <profile>
- <id>all</id>
- <activation>
- <activeByDefault>true</activeByDefault>
- </activation>
- <build>
- <plugins>
- <plugin>
- <groupId>org.jboss.maven.plugins</groupId>
- <artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.3.3</version>
- <extensions>true</extensions>
- <configuration>
- <formats>
- <format>
- <formatName>pdf</formatName>
-
<stylesheetResource>classpath:/xslt/org/jboss/pdf.xsl</stylesheetResource>
- <finalName>${docname}.pdf</finalName>
- </format>
- <format>
- <formatName>html</formatName>
-
<stylesheetResource>classpath:/xslt/org/jboss/xhtml.xsl</stylesheetResource>
- <finalName>index.html</finalName>
- </format>
- <format>
- <formatName>html_single</formatName>
-
<stylesheetResource>classpath:/xslt/org/jboss/xhtml-single.xsl</stylesheetResource>
- <finalName>index.html</finalName>
- </format>
- <format>
- <formatName>eclipse</formatName>
-
<stylesheetResource>classpath:/xslt/org/jboss/eclipse.xsl</stylesheetResource>
- <finalName>index.html</finalName>
- </format>
- </formats>
- </configuration>
- </plugin>
+ <profile>
+ <id>all</id>
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.jboss.maven.plugins</groupId>
+ <artifactId>maven-jdocbook-plugin</artifactId>
+ <version>2.3.4</version>
+ <extensions>true</extensions>
+ <configuration>
+ <formats>
+ <format>
+ <formatName>pdf</formatName>
+ <stylesheetResource>classpath:/xslt/org/jboss/pdf.xsl</stylesheetResource>
+ <finalName>${docname}.pdf</finalName>
+ </format>
+ <format>
+ <formatName>html</formatName>
+ <stylesheetResource>classpath:/xslt/org/jboss/xhtml.xsl</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+ <format>
+ <formatName>html_single</formatName>
+ <stylesheetResource>classpath:/xslt/org/jboss/xhtml-single.xsl</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+ <format>
+ <formatName>eclipse</formatName>
+ <stylesheetResource>classpath:/xslt/org/jboss/eclipse.xsl</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+ </formats>
+ <options>
+ <useRelativeImageUris>true</useRelativeImageUris>
+ </options>
+ </configuration>
+ </plugin>
</plugins>
</build>
</profile>
<!-- mvn compile -Phtml -->
- <profile>
- <id>html</id>
- <activation>
- <activeByDefault>false</activeByDefault>
- </activation>
- <build>
- <plugins>
- <plugin>
- <groupId>org.jboss.maven.plugins</groupId>
- <artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.3.3</version>
- <extensions>true</extensions>
- <configuration>
- <formats>
- <format>
- <formatName>html</formatName>
-
<stylesheetResource>classpath:/xslt/org/jboss/xhtml.xsl</stylesheetResource>
- <finalName>index.html</finalName>
- </format>
- </formats>
- </configuration>
- </plugin>
+ <profile>
+ <id>html</id>
+ <activation>
+ <activeByDefault>false</activeByDefault>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.jboss.maven.plugins</groupId>
+ <artifactId>maven-jdocbook-plugin</artifactId>
+ <version>2.3.3</version>
+ <extensions>true</extensions>
+ <configuration>
+ <formats>
+ <format>
+ <formatName>html</formatName>
+ <stylesheetResource>classpath:/xslt/org/jboss/xhtml.xsl</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+ </formats>
+ </configuration>
+ </plugin>
</plugins>
</build>
</profile>
<!-- mvn compile -Phtml-single -->
- <profile>
- <id>html-single</id>
- <activation>
- <activeByDefault>false</activeByDefault>
- </activation>
- <build>
- <plugins>
- <plugin>
- <groupId>org.jboss.maven.plugins</groupId>
- <artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.3.3</version>
- <extensions>true</extensions>
- </plugin>
+ <profile>
+ <id>html-single</id>
+ <activation>
+ <activeByDefault>false</activeByDefault>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.jboss.maven.plugins</groupId>
+ <artifactId>maven-jdocbook-plugin</artifactId>
+ <version>2.3.3</version>
+ <extensions>true</extensions>
+ </plugin>
</plugins>
</build>
</profile>
<!-- mvn compile -Ppdf -->
- <profile>
- <id>pdf</id>
- <activation>
- <activeByDefault>false</activeByDefault>
- </activation>
- <build>
- <plugins>
- <plugin>
- <groupId>org.jboss.maven.plugins</groupId>
- <artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.3.3</version>
- <extensions>true</extensions>
- <configuration>
- <formats>
- <format>
- <formatName>pdf</formatName>
-
<stylesheetResource>classpath:/xslt/org/jboss/pdf.xsl</stylesheetResource>
- <finalName>${docname}.pdf</finalName>
- </format>
- </formats>
- </configuration>
- </plugin>
+ <profile>
+ <id>pdf</id>
+ <activation>
+ <activeByDefault>false</activeByDefault>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.jboss.maven.plugins</groupId>
+ <artifactId>maven-jdocbook-plugin</artifactId>
+ <version>2.3.3</version>
+ <extensions>true</extensions>
+ <configuration>
+ <formats>
+ <format>
+ <formatName>pdf</formatName>
+ <stylesheetResource>classpath:/xslt/org/jboss/pdf.xsl</stylesheetResource>
+ <finalName>${docname}.pdf</finalName>
+ </format>
+ </formats>
+ </configuration>
+ </plugin>
</plugins>
</build>
</profile>
<!-- mvn compile -Peclipse -->
- <profile>
- <id>eclipse</id>
- <activation>
- <activeByDefault>false</activeByDefault>
- </activation>
- <build>
- <plugins>
- <plugin>
- <groupId>org.jboss.maven.plugins</groupId>
- <artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.3.3</version>
- <extensions>true</extensions>
- <configuration>
- <formats>
- <format>
- <formatName>eclipse</formatName>
-
<stylesheetResource>classpath:/xslt/org/jboss/eclipse.xsl</stylesheetResource>
- <finalName>index.html</finalName>
- </format>
- </formats>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </profile>
+ <profile>
+ <id>eclipse</id>
+ <activation>
+ <activeByDefault>false</activeByDefault>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.jboss.maven.plugins</groupId>
+ <artifactId>maven-jdocbook-plugin</artifactId>
+ <version>2.3.3</version>
+ <extensions>true</extensions>
+ <configuration>
+ <formats>
+ <format>
+ <formatName>eclipse</formatName>
+ <stylesheetResource>classpath:/xslt/org/jboss/eclipse.xsl</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+ </formats>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
- </profiles>
- <build>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.jboss.maven.plugins</groupId>
- <artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.3.3</version>
- <extensions>true</extensions>
- <dependencies>
- <dependency>
- <groupId>org.jboss.pressgang</groupId>
- <artifactId>pressgang-xslt</artifactId>
- <version>1.2.0</version>
- </dependency>
- <dependency>
- <groupId>org.jboss</groupId>
- <artifactId>jbossorg-jdocbook-style</artifactId>
- <version>1.1.1</version>
- <type>jdocbook-style</type>
- </dependency>
- </dependencies>
- <configuration>
- <sourceDirectory>${project.basedir}</sourceDirectory>
+ </profiles>
+ <build>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.jboss.maven.plugins</groupId>
+ <artifactId>maven-jdocbook-plugin</artifactId>
+ <version>2.3.3</version>
+ <extensions>true</extensions>
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss.pressgang</groupId>
+ <artifactId>pressgang-xslt</artifactId>
+ <version>1.2.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss</groupId>
+ <artifactId>jbossorg-jdocbook-style</artifactId>
+ <version>1.1.1</version>
+ <type>jdocbook-style</type>
+ </dependency>
+ </dependencies>
+ <configuration>
+ <sourceDirectory>${project.basedir}</sourceDirectory>
<!--
<sourceDocumentName>${docname}.xml</sourceDocumentName> -->
- <sourceDocumentName>master.xml</sourceDocumentName>
- <masterTranslation>en-US</masterTranslation>
- <imageResource>
- <directory>${project.basedir}/en-US</directory>
- <includes>
- <include>images/**/*</include>
- </includes>
- </imageResource>
- <formats>
- <format>
- <formatName>pdf</formatName>
-
<stylesheetResource>classpath:/xslt/org/jboss/pdf.xsl</stylesheetResource>
- <finalName>${pdf.name}</finalName>
- </format>
- <format>
- <formatName>html</formatName>
-
<stylesheetResource>classpath:/xslt/org/jboss/xhtml.xsl</stylesheetResource>
- <finalName>index.html</finalName>
- </format>
- <format>
- <formatName>html_single</formatName>
-
<stylesheetResource>classpath:/xslt/org/jboss/xhtml-single.xsl</stylesheetResource>
- <finalName>index.html</finalName>
- </format>
- <format>
- <formatName>eclipse</formatName>
-
<stylesheetResource>classpath:/xslt/org/jboss/eclipse.xsl</stylesheetResource>
- <finalName>index.html</finalName>
- </format>
- </formats>
- <options>
- <xincludeSupported>true</xincludeSupported>
- <xmlTransformerType>saxon</xmlTransformerType>
- <docbookVersion>1.72.0</docbookVersion>
- <localeSeparator>-</localeSeparator>
- <transformerParameters>
- <property>
- <name>javax.xml.parsers.DocumentBuilderFactory</name>
- <value>org.apache.xerces.jaxp.DocumentBuilderFactoryImpl</value>
- </property>
- <property>
- <name>javax.xml.parsers.SAXParserFactory</name>
- <value>org.apache.xerces.jaxp.SAXParserFactoryImpl</value>
- </property>
- </transformerParameters>
- </options>
- </configuration>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
+ <sourceDocumentName>{master}</sourceDocumentName>
+ <masterTranslation>en-US</masterTranslation>
+ <imageResource>
+ <directory>${project.basedir}/en-US</directory>
+ <includes>
+ <include>images/**/*</include>
+ </includes>
+ </imageResource>
+ <formats>
+ <format>
+ <formatName>pdf</formatName>
+ <stylesheetResource>classpath:/xslt/org/jboss/pdf.xsl</stylesheetResource>
+ <finalName>${pdf.name}</finalName>
+ </format>
+ <format>
+ <formatName>html</formatName>
+ <stylesheetResource>classpath:/xslt/org/jboss/xhtml.xsl</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+ <format>
+ <formatName>html_single</formatName>
+ <stylesheetResource>classpath:/xslt/org/jboss/xhtml-single.xsl</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+ <format>
+ <formatName>eclipse</formatName>
+ <stylesheetResource>classpath:/xslt/org/jboss/eclipse.xsl</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+ </formats>
+ <options>
+ <xincludeSupported>true</xincludeSupported>
+ <xmlTransformerType>saxon</xmlTransformerType>
+ <docbookVersion>1.72.0</docbookVersion>
+ <localeSeparator>-</localeSeparator>
+ <transformerParameters>
+ <property>
+ <name>javax.xml.parsers.DocumentBuilderFactory</name>
+ <value>org.apache.xerces.jaxp.DocumentBuilderFactoryImpl</value>
+ </property>
+ <property>
+ <name>javax.xml.parsers.SAXParserFactory</name>
+ <value>org.apache.xerces.jaxp.SAXParserFactoryImpl</value>
+ </property>
+ </transformerParameters>
+ </options>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
</project>