Author: ochikvina
Date: 2009-03-24 10:56:57 -0400 (Tue, 24 Mar 2009)
New Revision: 14311
Modified:
trunk/smooks/docs/reference/en/modules/smooksformeditor_configurationpage.xml
trunk/smooks/docs/reference/en/modules/smooksformeditor_graphicalpage.xml
Log:
https://jira.jboss.org/jira/browse/JBDS-630 - the chapters "Smooks Graphical Editor
Page" and "Smooks Configuration Editor Page" are updated as Date Decorater
GUI is changed;
Modified: trunk/smooks/docs/reference/en/modules/smooksformeditor_configurationpage.xml
===================================================================
---
trunk/smooks/docs/reference/en/modules/smooksformeditor_configurationpage.xml 2009-03-24
14:54:14 UTC (rev 14310)
+++
trunk/smooks/docs/reference/en/modules/smooksformeditor_configurationpage.xml 2009-03-24
14:56:57 UTC (rev 14311)
@@ -9,7 +9,7 @@
</keywordset>
</chapterinfo>
<title>Smooks Configuration Editor Page</title>
- <para> Smooks Configuration Editor Page is one tab of the <property>Smooks
Editor</property>. </para>
+ <para><property>Smooks Configuration Editor</property> is one tab of
the <property>Smooks Editor</property>. </para>
<figure>
<title>Graphical Editor</title>
<mediaobject>
@@ -40,7 +40,7 @@
</imageobject>
</mediaobject>
</figure>
- <para> Select the radio button to change the Smooks parse type. </para>
+ <para>Select the needed radio button to change the Smooks parse type.
</para>
</section>
<section id="configurationpage_importfile">
@@ -49,17 +49,8 @@
<property>Other Configurations</property>
</emphasis> section, there is an <emphasis>
<property>Import Files</property>
- </emphasis> list under the Smooks parse type buttons.</para>
+ </emphasis> list under the Smooks parse type buttons (see the figure
above).</para>
- <figure>
- <title>Import File</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/config_page/config_page2.png"
scale="90"/>
- </imageobject>
- </mediaobject>
- </figure>
-
<para>There are three buttons on the right side of the <emphasis>
<property>File Import</property>
</emphasis> list. You can click those to add/edit/remove the import
files.</para>
@@ -106,16 +97,16 @@
<itemizedlist>
<listitem>
- <para>locale-language</para>
-
+ <para>Format</para>
</listitem>
-
+
<listitem>
- <para>format</para>
+ <para>Locale-Language</para>
+
</listitem>
<listitem>
- <para>locale-country</para>
+ <para>Locale-Country</para>
</listitem>
</itemizedlist>
@@ -128,15 +119,15 @@
<title>Date Decoder Detail Page</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/config_page/config_page5.png"
scale="90"/>
+ <imagedata fileref="images/config_page/config_page1.png"
scale="90"/>
</imageobject>
</mediaobject>
</figure>
<para> When you defined a new <emphasis>
- <property>Date Decoder</property></emphasis>, they can use the
<link
- linkend="graphicalpage_propertiesview">JavaBean Properties</link>
GUI to set the
- them to be the "Java type".</para>
+ <property>Date Decoder</property></emphasis>, then you can use the
<link
+ linkend="graphicalpage_propertiesview">JavaBean Properties</link>
GUI to set
+ it to be the "Java type".</para>
<!--
<para> The XML fragment generated by Smooks tools for the "Date
Modified: trunk/smooks/docs/reference/en/modules/smooksformeditor_graphicalpage.xml
===================================================================
--- trunk/smooks/docs/reference/en/modules/smooksformeditor_graphicalpage.xml 2009-03-24
14:54:14 UTC (rev 14310)
+++ trunk/smooks/docs/reference/en/modules/smooksformeditor_graphicalpage.xml 2009-03-24
14:56:57 UTC (rev 14311)
@@ -22,18 +22,37 @@
<para> This <property>Graphical editor</property> allows you to
perform drug/drop operations
with the nodes of transform data to map the source data to target data. </para>
- <para> When you save the changes in the Graphical editor the correct Smooks
Configuration file
- content will be generated. </para>
+ <para> When you save the changes in the <property>Graphical
editor</property> the correct Smooks
+ Configuration file content will be generated. </para>
+
+ <para>To adjust the properties of the connection lines in the editor, you should
use the <link
+ linkend="graphicalpage_propertiesview">Properties view</link>
(activate it by following
+ to <emphasis>
+ <property>Window > Show View > Other > General >
Properties</property>).</emphasis></para>
+
+ <para>For example, if you defined a date decoder in the <link
+ linkend="configurationpage_datedecoder">Smooks Configuration
Editor</link>, in the <property>Properties view</property> you can
+ select it as a Mapping type for the "Date" type
element.</para>
+
+ <figure>
+ <title>Browsing Custom Type for the Date Type Element</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/graph_editor/graph_editor1a.png"
scale="90"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
<section>
<title>Introducing the areas of graphical editor</title>
- <para>Information on the topic could be found in the <link
linkend="quickstart_formeditor">Quick Start/Smooks Editor</link>
section.</para>
+ <para>Information on the topic could be found in the <link
linkend="quickstart_formeditor"
+ >Quick Start/Smooks Editor</link> section.</para>
</section>
<section>
<title>Load Source/Target Data</title>
- <para> Click the links under the data view, the <property>Data Type
Selection wizard</property> page will be
- shown.</para>
+ <para> Click the links under the data view, the <property>Data Type
Selection
+ wizard</property> page will be shown.</para>
<figure>
<title>Data Type Selection Wizard Page</title>
<mediaobject>
@@ -93,8 +112,8 @@
file content with "Mapping Logic". If there are any errors of the
configuration file
content, error messages are shown in the <link
linkend="quickstart_formeditor">Problems
area</link>.</para>
- <para> Please, read the <link linkend="quickstart_mapping">Quick
Start/Mapping</link> section to
- find how to fix the errors.</para>
+ <para> Please, read the <link linkend="quickstart_mapping">Quick
Start/Mapping</link>
+ section to find how to fix the errors.</para>
</section>
<section id="graphicalpage_propertiesview">
<title>Properties View</title>
@@ -104,8 +123,8 @@
<para>Navigate to <emphasis><property>Window > Show View >
Other >
Properties</property>,</emphasis> to open the <property>Properties
view</property>.</para>
- <para> When you select on the connection lines, the <property>Properties
view</property>
- will show a set of section GUI for editing the properties of the connection
line.</para>
+ <para> When you select the connection line, the <property>Properties
view</property> will
+ show a set of section GUI for editing its properties.</para>
<tip>
<title>Tip:</title>