Author: artdaw
Date: 2008-08-11 12:49:35 -0400 (Mon, 11 Aug 2008)
New Revision: 10029
Modified:
trunk/docs/userguide/en/src/main/docbook/included/fileUpload.desc.xml
trunk/docs/userguide/en/src/main/docbook/included/fileUpload.xml
Log:
https://jira.jboss.org/jira/browse/RF-3890
Info about flash module is added
Modified: trunk/docs/userguide/en/src/main/docbook/included/fileUpload.desc.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/fileUpload.desc.xml 2008-08-11
16:43:17 UTC (rev 10028)
+++ trunk/docs/userguide/en/src/main/docbook/included/fileUpload.desc.xml 2008-08-11
16:49:35 UTC (rev 10029)
@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
-<section>
+<section role="updated">
<sectioninfo>
- <keywordset>
+ <keywordset>
<keyword>fileUpload</keyword>
<keyword>rich:fileUpload</keyword>
</keywordset>
</sectioninfo>
- <section>
+ <section>
<title>Description</title>
<para>The <emphasis role="bold">
<property><rich:fileUpload></property>
@@ -22,7 +22,7 @@
</imageobject>
</mediaobject>
</figure>
-
+
</section>
<section>
<title>Key Features</title>
Modified: trunk/docs/userguide/en/src/main/docbook/included/fileUpload.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/fileUpload.xml 2008-08-11 16:43:17
UTC (rev 10028)
+++ trunk/docs/userguide/en/src/main/docbook/included/fileUpload.xml 2008-08-11 16:49:35
UTC (rev 10029)
@@ -254,12 +254,20 @@
that adds extra functionality to the component. The module is enabled with
<emphasis><property>
"allowFlash"</property></emphasis>
attribute set to "true".
</para>
+ <para>These are the additional features that the Flash module
provides:</para>
+
+ <itemizedlist>
+ <listitem><para>Multiple files
choosing;</para></listitem>
+ <listitem><para>Permitted file types are specified in the
"Open File" dialog window;</para></listitem>
+ <listitem><para>A number of additional entry object properties
are also available, which can be found <link
linkend="objectProperties">here</link>. </para></listitem>
+ </itemizedlist>
+
<para>Apart from uploading files to the sever without using AJAX, the Flash
module provides a number of useful API functions that can be used to obtain information
about the uploaded file. </para>
<para>There are 2 ways to obtain the data stored in the FileUploadEntry
object. </para>
<itemizedlist>
- <listitem><para>By means of JavaScript on the client side. Use the
following syntax for that <code>entries[i].propertyName</code>. For example
<code>entries[0].state</code> will return the state of the file the is being
processed or has just been processed. A full list of properties can be found <link
linkend="objectProperties">here</link>.
</para></listitem>
+ <listitem><para>By means of JavaScript on the client side. Use the
following syntax for that <code>entries[i].propertyName</code>. For example
<code>entries[0].state</code> will return the state of the file the is being
processed or has just been processed.</para></listitem>
<listitem><para>The properties of
<code>FileUploadEntry</code> object can be retrieved using the
<code>entry.propertyName</code> expression in the specific event attributes.
For example, <code>onupload="alert(event.memo.entry.fileName);"
</code> will display a message with the name of the file at the very moment when
upload operation starts. A full list of properties can be found <link
linkend="objectPropertiesWithAttributes">here</link>.</para></listitem>
@@ -299,7 +307,7 @@
</mediaobject>
</figure>
- <para>Though, the Flash module doens't perform any visual
representation.</para>
+ <para>However, the Flash module doens't perform any visual
representation of the component.</para>
<!--End of Flash Module-->