Author: chukhutsina
Date: 2009-06-05 07:59:10 -0400 (Fri, 05 Jun 2009)
New Revision: 15727
Modified:
trunk/smooks/docs/reference/en/images/config_page/config_page1.png
trunk/smooks/docs/reference/en/images/config_page/config_page2.png
trunk/smooks/docs/reference/en/images/quick_start/quick_start9.png
trunk/smooks/docs/reference/en/modules/quick_start.xml
trunk/smooks/docs/reference/en/modules/smooksformeditor_configurationpage.xml
trunk/smooks/docs/reference/en/modules/smooksformeditor_sourcepage.xml
Log:
<html><head><meta name="qrichtext" content="1"
/></head><body style="font-size:9pt;font-family:Sans Serif">
<
p>https://jira.jboss.org/jira/browse/JBDS-755 -Smooks Design Page and Smooks Source
Editor Page were updated.Screens were updated according to the new Smooks Configuration
Editor.</p>
</body></html>
Modified: trunk/smooks/docs/reference/en/images/config_page/config_page1.png
===================================================================
(Binary files differ)
Modified: trunk/smooks/docs/reference/en/images/config_page/config_page2.png
===================================================================
(Binary files differ)
Modified: trunk/smooks/docs/reference/en/images/quick_start/quick_start9.png
===================================================================
(Binary files differ)
Modified: trunk/smooks/docs/reference/en/modules/quick_start.xml
===================================================================
--- trunk/smooks/docs/reference/en/modules/quick_start.xml 2009-06-05 08:45:46 UTC (rev
15726)
+++ trunk/smooks/docs/reference/en/modules/quick_start.xml 2009-06-05 11:59:10 UTC (rev
15727)
@@ -286,7 +286,8 @@
</orderedlist>
<para> Make sense?
-You should right click Resource List , select Add Smooks Resource>Java
Binding>Bindings
+ You should right click Resource List , select <emphasis>
+ <property>Add Smooks Resource>Java
Binding>Bindings</property></emphasis>.
</para>
<para>First of all, you should bind Order to LineOrder. To do this one Bindings
Item should be added to the Resource List.</para>
<figure>
@@ -297,7 +298,7 @@
</imageobject>
</mediaobject>
</figure><para>Click on it and you should see Bindings Section to the
right of Message Filtering Resources.Write <emphasis>
<property>lineOrder</property></emphasis> in the Bean id
field.</para>
- <para>Select example.trgmodel.LineOrder in the Class field and
example.srcmodel.Order in the Name field.Your >Smooks Configuration Editor should look
like this: </para>
+ <para>Select example.trgmodel.LineOrder in the Class field and
example.srcmodel.Order in the Name field.Your <emphasis> <property>Smooks
Configuration Editor</property></emphasis> should look like this:
</para>
<figure>
<title>Mapping</title>
<mediaobject>
Modified: trunk/smooks/docs/reference/en/modules/smooksformeditor_configurationpage.xml
===================================================================
---
trunk/smooks/docs/reference/en/modules/smooksformeditor_configurationpage.xml 2009-06-05
08:45:46 UTC (rev 15726)
+++
trunk/smooks/docs/reference/en/modules/smooksformeditor_configurationpage.xml 2009-06-05
11:59:10 UTC (rev 15727)
@@ -8,20 +8,20 @@
<keyword>JBDS</keyword>
</keywordset>
</chapterinfo>
- <title>Smooks Configuration Editor Page</title>
- <para>In this section you will explore the details of Smooks Configuration Editor
usage</para>
- <para><property>Smooks Configuration Editor</property> is one tab of
the <property>Smooks Editor</property>. </para>
+ <title>Smooks Design Page</title>
+ <para>In this section you will explore the details of Smooks Design Page
usage.</para>
+ <para><property>Smooks Design Page</property> is one tab of the
<property>Smooks Editor</property>. </para>
<figure>
- <title>Graphical Editor</title>
+ <title>Design Page</title>
<mediaobject>
<imageobject>
<imagedata fileref="images/config_page/config_page1.png"
scale="90"/>
</imageobject>
</mediaobject>
</figure>
-
- <para> You can add/edit/remove the <link
linkend="configurationpage_datedecoder">Date
- Decoder</link> on the Configuration page of the <property>Smooks
Editor</property>. </para>
+ <para>This page consists of 3 setions:Message Filtering Resources,Input Data and
Section devoted to the configurations of a selected in a Message Filtering Resources
section Item.</para>
+ <para> You can bind classes <link
linkend="quickstart_mapping">using Bindings item
+ </link> on the Design page of the <property>Smooks
Editor</property>. </para>
<para> The configuration editor also edits the <link
linkend="configurationpage_parsetype">Smooks parse
type</link> and manages the <link
linkend="configurationpage_importfile">Import
Files</link>.</para>
@@ -29,10 +29,7 @@
<section id="configurationpage_parsetype">
<title>Smooks Parse Type</title>
- <para>Open the <emphasis>
- <property>Other Configurations</property>
- </emphasis> section, we will see there is a set of radio buttons:</para>
-
+ <para>If your config file doesn't contain Global Parametres item yet,you
should add it by right click Resource List>Add Smooks Resource>Global
Parametres.After this step you should add Param to just created Global Parametres.
</para>
<figure>
<title>Smooks Parse Types</title>
<mediaobject>
@@ -41,20 +38,44 @@
</imageobject>
</mediaobject>
</figure>
- <para>Select the needed radio button to change the Smooks parse type.
</para>
+ <para>Then left click <emphasis>
+ <property>Param</property>
+ </emphasis>and in the Param section,you will see a set of text fields:Name,Type
and Text.Name value is required.To set a parse type you should write SAX/DOM to the
+ <emphasis>
+ <property>Text</property></emphasis> field.</para>
+
+ <figure>
+ <title>Smooks Parse Types</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/config_page/config_page3.png"
scale="90"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <para>To apply changes to the smooks-config.xml click <emphasis>
+ <property>Save</property></emphasis> button (<emphasis>
+ <property>Ctrl+S</property></emphasis>). </para>
</section>
<section id="configurationpage_importfile">
- <title>Import File</title>
+ <title>Import Data</title>
<para> Open the <emphasis>
- <property>Other Configurations</property>
+ <property>Input Data</property>
</emphasis> section, there is an <emphasis>
<property>Import Files</property>
- </emphasis> list under the Smooks parse type buttons (see the figure
above).</para>
-
- <para>There are three buttons on the right side of the <emphasis>
+ </emphasis> list at the bottom of the Design tab (see the figure
below).</para>
+
+ <figure>
+ <title>Smooks Parse Types</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/config_page/config_page3a.png"
scale="90"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <para>There are two 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>
+ </emphasis> list. You can click those to add/remove the import
files.</para>
<tip>
@@ -65,7 +86,7 @@
</tip>
</section>
- <section id="configurationpage_datedecoder">
+ <!--<section id="configurationpage_datedecoder">
<title>Date Decoder Detail Page</title>
<para>Date Decoder is a resourceConfig element in the Smooks configuration file.
It
@@ -131,7 +152,7 @@
it to be the "Java type".</para>
<para>Now when we've learnt Smooks Configuration Editor Page, let's have
a look at one more Smooks Editor Page - Smooks Source Editor Page and investigate its
functionality</para>
- <!--
+
<para> The XML fragment generated by Smooks tools for the "Date
Decoder": </para> <para> <programlisting>
<![CDATA[<resource-config
selector="decoder:DateLong">
@@ -139,9 +160,9 @@
name="locale-language">en</param> <param
name="format">yyy-MM-dd
HH:mm:ss</param> <param name="locale-country">IE</param>
</resource-config>]]> </programlisting> </para>
- -->
+
</section>
- <!--
+
<section id="configurationpage_documenttype"> <title>Document
Type
Detail Page</title> <para> </para> </section> <section
id="configurationpage_unhandleresourceconfig"> <title>Unhandle
Modified: trunk/smooks/docs/reference/en/modules/smooksformeditor_sourcepage.xml
===================================================================
--- trunk/smooks/docs/reference/en/modules/smooksformeditor_sourcepage.xml 2009-06-05
08:45:46 UTC (rev 15726)
+++ trunk/smooks/docs/reference/en/modules/smooksformeditor_sourcepage.xml 2009-06-05
11:59:10 UTC (rev 15727)
@@ -9,7 +9,7 @@
</keywordset>
</chapterinfo>
<title>Smooks Source Editor Page</title>
- <para>This section provides information about Smooks Source Editor
Page</para>
+ <para>This section provides information about Smooks Source Editor
Page.</para>
<section>
<title>XML Source Editor</title>
<para>You can use this editor to edit the Smooks Configuration file directly.
</para>