Author: irooskov(a)redhat.com
Date: 2011-12-13 20:52:43 -0500 (Tue, 13 Dec 2011)
New Revision: 37315
Modified:
trunk/jsf/docs/jsf_tools_ref_guide/en-US/jsf_support.xml
trunk/jsf/docs/jsf_tools_ref_guide/en-US/master.xml
trunk/jsf/docs/jsf_tools_ref_guide/en-US/projects.xml
Log:
updated for community release
Modified: trunk/jsf/docs/jsf_tools_ref_guide/en-US/jsf_support.xml
===================================================================
--- trunk/jsf/docs/jsf_tools_ref_guide/en-US/jsf_support.xml 2011-12-14 01:49:18 UTC (rev
37314)
+++ trunk/jsf/docs/jsf_tools_ref_guide/en-US/jsf_support.xml 2011-12-14 01:52:43 UTC (rev
37315)
@@ -138,34 +138,6 @@
</table>
</section>
<section>
- <title>Adding JSF Facelets to any existing project</title>
- <para>
- JSF capability can be added to any existing project, and no pre-existing
<filename>web.xml</filename> file is necessary. To enable JSF support for a
project, right-click on the project in the <guilabel>Project
Explorer</guilabel>, bringing up the context menu. From this menu navigate to
<menuchoice><guimenuitem>Configure</guimenuitem><guimenuitem>Add
JSF Capabilities</guimenuitem></menuchoice>.
- </para>
- <figure>
- <title>Add JSF Capabilities menu item</title>
- <mediaobject>
- <imageobject>
- <imagedata
fileref="images/troubleshooting/JSF_existing_project_01.png"/>
- </imageobject>
- </mediaobject>
- </figure>
- <para>
- This will open the <guilabel>Project Facets</guilabel> dialog for the
project. Click the checkbox next to <guilabel>JavaServer Faces</guilabel>. You
undertake further configuration by clicking the <guilabel>Further configuration
available</guilabel> button at the bottom of the dialog; this will allow you to
define specific configuration options. Click <guibutton>Apply</guibutton> and
then the <guibutton>OK</guibutton> on the <guilabel>Project
Facets</guilabel> dialog when you are finished.
- </para>
- <figure>
- <title>Project Facets dialog</title>
- <mediaobject>
- <imageobject>
- <imagedata
fileref="images/troubleshooting/JSF_existing_project_02.png"/>
- </imageobject>
- </mediaobject>
- </figure>
- <para>
- The project will now contain a new node (visible through the <guilabel>Project
Explorer</guilabel>) named <guilabel>Web Resources</guilabel>. This node
contains all your JSF files for the project.
- </para>
- </section>
- <section>
<title>Facelets components</title>
<para>
Modified: trunk/jsf/docs/jsf_tools_ref_guide/en-US/master.xml
===================================================================
--- trunk/jsf/docs/jsf_tools_ref_guide/en-US/master.xml 2011-12-14 01:49:18 UTC (rev
37314)
+++ trunk/jsf/docs/jsf_tools_ref_guide/en-US/master.xml 2011-12-14 01:52:43 UTC (rev
37315)
@@ -53,7 +53,7 @@
<holder>JBoss by Red Hat</holder>
</copyright>
<releaseinfo>
- Version: 3.1.1.GA
+ Version: 3.3.0.M5
</releaseinfo>
<!--<abstract>
Modified: trunk/jsf/docs/jsf_tools_ref_guide/en-US/projects.xml
===================================================================
--- trunk/jsf/docs/jsf_tools_ref_guide/en-US/projects.xml 2011-12-14 01:49:18 UTC (rev
37314)
+++ trunk/jsf/docs/jsf_tools_ref_guide/en-US/projects.xml 2011-12-14 01:52:43 UTC (rev
37315)
@@ -204,24 +204,41 @@
</section>
<section id="add_jsf_capability">
- <title>Adding JSF Capability to Any Existing Eclipse Project</title>
+ <title>Adding JSF Capability to Any Existing Project</title>
<para>
- It is also possible to add <productname>JSF</productname> capabilities
(JSF libraries, tag libraries) to any existing Eclipse project in your workspace. After
that you will be able to make use of features such as the JSF configuration editor, JBoss
Tools JSP editor and any others.
+ It is also possible to add <productname>JSF</productname> capabilities
(JSF libraries, tag libraries) to any existing project in your workspace. After that you
will be able to make use of features such as the JSF configuration editor, JBoss Tools JSP
editor and any others. No pre-existing <filename>web.xml</filename> file is
necessary.
</para>
<para>
- Right click the project and select <menuchoice><guimenuitem>JBoss
Tools</guimenuitem><guimenuitem>Add JSF
Capabilities</guimenuitem></menuchoice> from the context menu. This will start
the process of adding the necessary libraries and files to convert the project into a Web
JSF project.
+ Right-click on the project in the <guilabel>Project Explorer</guilabel>,
bringing up the context menu. From this menu navigate to <menuchoice>
+ <guimenuitem>Configure</guimenuitem>
+ <guimenuitem>Add JSF Capabilities</guimenuitem>
+ </menuchoice>.
</para>
<figure>
- <title>Adding JSF Capabilities</title>
+ <title>Add JSF Capabilities menu item</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/jsf_support/jsf_support_16.png"/>
+ <imagedata
fileref="images/jsf_support/jsf_existing_project_01.png"/>
</imageobject>
</mediaobject>
</figure>
- <para>The wizard will first ask you to define location of the
<filename>web.xml</filename> file and the project name.</para>
+ <para>
+ This will open the <guilabel>Project Facets</guilabel> dialog for the
project. Click the checkbox next to <guilabel>JavaServer Faces</guilabel>. You
undertake further configuration by clicking the <guilabel>Further configuration
available</guilabel> button at the bottom of the dialog; this will allow you to
define specific configuration options. Click <guibutton>Apply</guibutton> and
then the <guibutton>OK</guibutton> on the <guilabel>Project
Facets</guilabel> dialog when you are finished.
+ </para>
<figure>
+ <title>Project Facets dialog</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata
fileref="images/jsf_support/jsf_existing_project_02.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <para>
+ The project will now contain a new node (visible through the <guilabel>Project
Explorer</guilabel>) named <guilabel>Web Resources</guilabel>.You will
also notice new files within the <guilabel>WebContent</guilabel> folder.
+ </para>
+ <!-- <para>The wizard will first ask you to define location of the
<filename>web.xml</filename> file and the project name.</para>
+ <figure>
<title>Project Location</title>
<mediaobject>
<imageobject>
@@ -252,14 +269,14 @@
</figure>
<para>
Once your project is imported you can see that JSF related libraries
<filename>jsf-api.jar</filename> and
<filename>jsf-impl.jar</filename> have been added to your project.
- </para>
+ </para> -->
<note>
<title>Note:</title>
<para>
Some application servers provide their own JSF implementation libraries. To avoid
conflicts you should not add JSF libraries while adding JSF capabilities.
</para>
</note>
- <para>You are now ready to work with JSF by creating a new JSF configuration
file:</para>
+ <!-- <para>You are now ready to work with JSF by creating a new JSF
configuration file:</para>
<figure>
<title>Creating a New JSF Configuration File</title>
@@ -268,9 +285,9 @@
<imagedata fileref="images/jsf_support/jsf_support_19.png"/>
</imageobject>
</mediaobject>
- </figure>
+ </figure> -->
- <para>Once the file has been created, it should be opened in a special editor
(see <xref linkend="jsf_config_file"/>).</para>
+ <para>You can now open the new <filename>faces-config.xml</filename>
file, that is found under your projects
<menuchoice><guimenuitem>WebContent</guimenuitem><guimenuitem>WEB-INF</guimenuitem></menuchoice>
folder. This file can be opened in a unique editor (see <xref
linkend="jsf_config_file"/>).</para>
</section>
<section id="AddingYourOwnProjectTemplates853">
Show replies by date