Author: afedosik
Date: 2008-02-01 07:27:28 -0500 (Fri, 01 Feb 2008)
New Revision: 6088
Modified:
trunk/jsf/docs/userguide/en/images/editors_features/editors_features_32.png
trunk/jsf/docs/userguide/en/images/editors_features/editors_features_35.png
trunk/jsf/docs/userguide/en/images/editors_features/editors_features_37.png
trunk/jsf/docs/userguide/en/modules/JSFStruts_tools.xml
trunk/jsf/docs/userguide/en/modules/editors.xml
trunk/jsf/docs/userguide/en/modules/web_projects.xml
Log:
http://jira.jboss.com/jira/browse/JBDS-162 Editors chapter improvement
Modified: trunk/jsf/docs/userguide/en/images/editors_features/editors_features_32.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/editors_features/editors_features_35.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/editors_features/editors_features_37.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/modules/JSFStruts_tools.xml
===================================================================
--- trunk/jsf/docs/userguide/en/modules/JSFStruts_tools.xml 2008-02-01 11:36:07 UTC (rev
6087)
+++ trunk/jsf/docs/userguide/en/modules/JSFStruts_tools.xml 2008-02-01 12:27:28 UTC (rev
6088)
@@ -833,8 +833,7 @@
</figure>
<para>You can also work in the Source editor with the help
of the <emphasis>
- <property>Outline view</property>
- </emphasis>. The Outline views show a tree
structure of the JSF
+ <property>Outline
view</property>.</emphasis> The Outline views show a tree structure of the
JSF
configuration file. Simply select any element in the
Outline view,
and it will jump to the same place in the Source editor,
so you can navigate through the source code with Outline view.</para>
<figure>
@@ -1053,15 +1052,15 @@
available as the <emphasis
role="italic">
<property>"Java"</property>
</emphasis> class already exists. </para>
- <para> After adding your class
+ <para>After adding your class
<emphasis><property>Next</property></emphasis> button will be
activated.
Pressing it you'll get
<emphasis><property>Managed Properties</property></emphasis>
dialog where all corresponding properties are displayed.
Check the necessary ones to
add them into your <property>JSF Configuration
File</property>.</para>
<para>If you don't want to add any, just click
<emphasis>
- <property>Finish</property>
- </emphasis>.</para>
+ <property>Finish</property>.
+ </emphasis></para>
<figure>
<title>Selection of Bean's
Properties.</title>
<mediaobject>
@@ -1985,8 +1984,8 @@
new validation file, right click any folder in Project Explorer and
select <emphasis>
<property>File > New > Other...</property>
</emphasis>from the context menu and then <emphasis>
- <property>JBoss Tools Web > Struts > Validation
File</property>
- </emphasis>.</para>
+ <property>JBoss Tools Web > Struts > Validation
File</property>.
+ </emphasis></para>
<figure>
<title>Creating New Validation File</title>
<mediaobject>
@@ -2129,8 +2128,8 @@
<para>Adding a new module is very simple. First switch to Web
Project view.
Expand your project to the Configuration folder. Under that
folder you
should see the current modules. Right click on Configuration
and select <emphasis>
- <property>New > Struts
Config</property>
- </emphasis>.</para>
+ <property>New > Struts
Config</property>.
+ </emphasis></para>
<figure>
<title>Adding New Modules</title>
<mediaobject>
Modified: trunk/jsf/docs/userguide/en/modules/editors.xml
===================================================================
--- trunk/jsf/docs/userguide/en/modules/editors.xml 2008-02-01 11:36:07 UTC (rev 6087)
+++ trunk/jsf/docs/userguide/en/modules/editors.xml 2008-02-01 12:27:28 UTC (rev 6088)
@@ -39,10 +39,10 @@
<para>OpenOn is available for the following files:</para>
<itemizedlist>
<listitem>
- <para>XML files</para>
+ <para><link linkend="XMLFiles232">XML
files</link></para>
</listitem>
<listitem>
- <para>JSP/XHTML Pages</para>
+ <para><link linkend="JSPPages223">JSP/XHTML
Pages</link></para>
</listitem>
<listitem>
<para>Java files</para>
@@ -64,7 +64,7 @@
</imageobject>
</mediaobject>
</figure>
- <para>This is the result of using OpenOn</para>
+ <para>This is the result of using OpenOn.</para>
<figure>
<title>NameBean Java Class</title>
<mediaobject>
@@ -253,8 +253,8 @@
files. You simply put the cursor inside the <emphasis
role="italic">
<property>"value"</property>
</emphasis> attribute and press <emphasis>
- <property>Ctrl-Space</property>
- </emphasis>. JBoss Developer Studio will scan your
project and show a
+ <property>Ctrl-Space</property>.
+ </emphasis> JBoss Developer Studio will scan your
project and show a
list of possible values to insert.</para>
<figure>
<title>Inserting Message</title>
@@ -265,13 +265,9 @@
</imageobject>
</mediaobject>
</figure>
- <para>In the following screen shot we are inserting a
<emphasis
- role="italic">
- <property>"Managed
bean"</property>
- </emphasis> attribute value. Again, by simply clicking
<emphasis>
- <property>Ctrl-Space</property>
- </emphasis>, JBoss Developer Studio will show a list of
all possible
- values that you can insert:</para>
+ <para>In the following screenshot we are inserting a
<emphasis role="italic"><property>"Managed
bean"</property></emphasis>
+ attribute value. Again, by simply clicking
<emphasis><property>Ctrl-Space</property>,</emphasis>
+ JBoss Developer Studio will show a list of all possible
values that you can insert.</para>
<para>Once you select a Managed bean, it will show you a
list of all
available attributes for the selected Managed bean
(userBean).</para>
@@ -302,8 +298,8 @@
<para>JBoss Developer Studio also provides Content Assist
when working
within the Tree JSF configuration editor. Just click
<emphasis>
- <property>Ctrl-Space</property>
- </emphasis>.</para>
+ <property>Ctrl-Space</property>.
+ </emphasis></para>
<figure>
<title>Content Assist in Tree JSF Configuration
Editor</title>
<mediaobject>
@@ -313,6 +309,9 @@
</imageobject>
</mediaobject>
</figure>
+
+ <!--
+
<para>If a field contains right class name and you click a
link near the
field you will come to the file with this class otherwise a
new Java
Class dialog will be shown:</para>
@@ -392,15 +391,23 @@
</imageobject>
</mediaobject>
</figure>
+
+ -->
</section>
</section>
<section id="StrutsProjectFile46s3">
+ <para>Content Assist features are available when you work with
Struts projects.</para>
+
<title>Struts Project Files</title>
<section
id="ContentAssistForStrutsConfigurationFile75">
+
<title>Content Assist for Struts Configuration
File</title>
+
+ <para>Content Assist helps you in Struts Configuration
file.</para>
+
<figure>
<title>Struts Content Assist</title>
<mediaobject>
@@ -414,6 +421,9 @@
<section id="ContentAssistForStrutsJSPFile07">
<title>Content Assist for Struts JSP File</title>
+
+ <para>Using Code Assist in Struts JSP file is shown
below.</para>
+
<figure>
<title>Struts JSP Content Assist</title>
<mediaobject>
@@ -428,6 +438,8 @@
<section id="JSPPages434">
<title>JSP Pages</title>
+
+
<section id="ContentAssistForJSFTags96">
<title>Content Assist for JSF Tags</title>
@@ -507,19 +519,7 @@
</figure>
</section>
- <section
id="ContentAssistWithinConfigurationEditor743">
-
- <title>Content Assist within JSF Configuration
Editor</title>
- <figure>
- <title>Content Assist in JSF Configuration
Editor</title>
- <mediaobject>
- <imageobject>
- <imagedata
-
fileref="images/editors_features/editors_features_28.png"/>
- </imageobject>
- </mediaobject>
- </figure>
- </section>
+
</section>
<section id="ContentAssistForRF">
@@ -588,8 +588,8 @@
<orderedlist>
<listitem>
<para>Create a new xml file in <emphasis>
-
<property><JBDS_home>studio/eclipse/plugins/org.jboss.tools.common.kb_***/schemas/tld/</property>
- </emphasis>. For example call it JeniaFaces.xml. The
file should be
+
<property><JBDS_home>studio/eclipse/plugins/org.jboss.tools.common.kb_***/schemas/tld/</property>.
+ </emphasis>For example call it JeniaFaces.xml. The file
should be
written according to <emphasis>
<property><JBDS_home>/studio/eclipse/plugins/org.jboss.tools.common.kb/kb.jar/org/jboss/tools/common/kb/kb-schema_1.0.dtd</property>
</emphasis></para>
@@ -676,7 +676,7 @@
</section>
<section
id="FullControlOverSourceFiles-SynchronizedSourcAndVisualEditing74">
- <title>Full Control over Source Files - Synchronized Source and Visual
Editing</title>
+ <title>Synchronized Source and Visual Editing</title>
<para>JBoss Developer Studio offers the flexibility to edit any files
in either source
or extra visual modes at the same time.</para>
@@ -686,97 +686,46 @@
time, you always have full control over all project source files. Any
changes you
make in the source view, will immediately appear in the graphical
view.</para>
- <para>The JSF configuration file editor has three views: Diagram, Tree
and Source. All
+ <para>The JSF configuration file editor has three views:
<property>Diagram</property>, <property>Tree</property> and
<property>Source</property>. All
views are synchronized, you can edit the file in any view.</para>
<figure>
- <title>Diagram View</title>
+ <title>Three Views are Synchronized</title>
<mediaobject>
<imageobject>
- <imagedata
fileref="images/editors_features/editors_features_32.png"/>
+ <imagedata
fileref="images/editors_features/editors_features_32.png"
scale="75"/>
</imageobject>
</mediaobject>
</figure>
- <figure>
- <title>Tree View</title>
- <mediaobject>
- <imageobject>
- <imagedata
fileref="images/editors_features/editors_features_33.png"/>
- </imageobject>
- </mediaobject>
- </figure>
-
- <figure>
- <title>Source View</title>
- <mediaobject>
- <imageobject>
- <imagedata
fileref="images/editors_features/editors_features_34.png"/>
- </imageobject>
- </mediaobject>
- </figure>
+
<para>The same applies to all other JBoss Developer Studio
editors.</para>
<para>Web XML editor is shown. Web XML editor has a graphical view
(Tree) and source
(Source).</para>
<figure>
- <title>Tree View</title>
+ <title>Two Views are Synchronized</title>
<mediaobject>
<imageobject>
- <imagedata
fileref="images/editors_features/editors_features_35.png"/>
+ <imagedata
fileref="images/editors_features/editors_features_35.png"
scale="75"/>
</imageobject>
</mediaobject>
</figure>
- <figure>
- <title>Source View</title>
- <mediaobject>
- <imageobject>
- <imagedata
fileref="images/editors_features/editors_features_36.png"/>
- </imageobject>
- </mediaobject>
- </figure>
+
<para>JBoss Developer Studio TLD file editor shown in Tree view. At any
point you can
edit the source by going switching to Source view.</para>
<figure>
- <title>Tree Editor</title>
+ <title>Two Views are Synchronized</title>
<mediaobject>
<imageobject>
- <imagedata
fileref="images/editors_features/editors_features_37.png"/>
+ <imagedata
fileref="images/editors_features/editors_features_37.png"
scale="75"/>
</imageobject>
</mediaobject>
</figure>
- <figure>
- <title>Source Editor</title>
- <mediaobject>
- <imageobject>
- <imagedata
fileref="images/editors_features/editors_features_38.png"/>
- </imageobject>
- </mediaobject>
- </figure>
- <para>The Struts configuration file editor has three views: Diagram,
Tree and Source.
- All views are synchronized, you can edit the file in any
view.</para>
- <figure>
- <title>Struts Diagram View</title>
- <mediaobject>
- <imageobject>
- <imagedata
fileref="images/editors_features/editors_features_39.png"/>
- </imageobject>
- </mediaobject>
- </figure>
- <para>Source view. Any changes here will immediately appear in all
other views.</para>
- <figure>
- <title>Struts Source View</title>
- <mediaobject>
- <imageobject>
- <imagedata
fileref="images/editors_features/editors_features_40.png"/>
- </imageobject>
- </mediaobject>
- </figure>
+
</section>
- </section>
+ </section>
+ <section id="visual_page">
-
- <section id="visual_page">
-
<title>Visual Page Editor</title>
<para>JBoss Developer Studio comes with a powerful and customizable
<property>Visual Page
Editor</property> (VPE). You can use the Visual Page Editor to
develop an
Modified: trunk/jsf/docs/userguide/en/modules/web_projects.xml
===================================================================
--- trunk/jsf/docs/userguide/en/modules/web_projects.xml 2008-02-01 11:36:07 UTC (rev
6087)
+++ trunk/jsf/docs/userguide/en/modules/web_projects.xml 2008-02-01 12:27:28 UTC (rev
6088)
@@ -43,10 +43,11 @@
<section id="DragAndDrop">
<title>Drag and Drop</title>
+ <para>Web Projects View has a drag and drop option that can be used for
property, managed bean attributes, navigation rules, tag library file declaration and JSP
Pages.</para>
<section id="ForAProperty">
-
+
<title>For a Property</title>
-<para>Expand the Resources Bundles folder that holds all the Property files in your
project. Select the file from which you want to add the property and then select the
property.</para>
+ <para>Expand the <property>Resources Bundles</property> folder that
holds all the Property files in your project. Select the file from which you want to add
the property and then select the property.</para>
<para>We will be dragging and dropping a property file value inside the outputText
tag for the <emphasis
role="italic"><property>"value"</property></emphasis>
attribute.</para>
<figure>
<title>OutputText Tag</title>
@@ -65,7 +66,7 @@
</imageobject>
</mediaobject>
</figure>
-<para>Drag the property and drop it between the quotes for the value attribute in
the JSP file. Notice that JBoss Developer Studio added the correctly formatted expression
for referring to the property value: <emphasis>#{Message.header}</emphasis>
automatically.</para>
+ <para>Drag the property and drop it between the quotes for the value attribute
in the JSP file. Notice that JBoss Developer Studio added the correctly formatted
expression for referring to the property value
<emphasis><property>#{Message.header}</property></emphasis>
automatically.</para>
<figure>
<title>Inserted Property</title>
<mediaobject>
@@ -75,7 +76,7 @@
</mediaobject>
</figure>
<para>You can actually place the tag anywhere in the page, not just inside an
existing tag. In this case,
- JBoss Developer Studio will place the complete tag <emphasis
role="bold"><property><h:outputText
value="#{Message.header}"/></property></emphasis> in the
page.</para>
+ JBoss Developer Studio will place the complete tag
<emphasis><property><h:outputText
value="#{Message.header}"/></property></emphasis> in the
page.</para>
</section>
<section id="ForManagedBeanAttributes">