[jboss-cvs] jboss-seam/doc/reference/en/modules ...
Peter Muir
peter at bleepbleep.org.uk
Sat Feb 3 20:21:20 EST 2007
User: pmuir
Date: 07/02/03 20:21:20
Modified: doc/reference/en/modules mail.xml
Log:
JBSEAM-693 More UIAttachment support
Revision Changes Path
1.7 +69 -0 jboss-seam/doc/reference/en/modules/mail.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: mail.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/doc/reference/en/modules/mail.xml,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- mail.xml 29 Jan 2007 12:43:00 -0000 1.6
+++ mail.xml 4 Feb 2007 01:21:20 -0000 1.7
@@ -308,6 +308,75 @@
</listitem>
</varlistentry>
<varlistentry>
+ <term><m:attachment></term>
+ <listitem>
+ <para>
+ Add an attachment to the email.
+ </para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <literal>value</literal> — The file to attach:
+ </para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <literal>String</literal> — A <literal>String</literal> is interpreted as a path to file within the classpath
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <literal>java.io.File</literal> — An EL expression can reference a <literal>File</literal> object
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <literal>java.net.URL</literal> — An EL expression can reference a <literal>URL</literal> object
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <literal>java.io.InputStream</literal> — An EL expression can reference an <literal>InputStream</literal>.
+ In this case both a <literal>fileName</literal> and a <literal>contentType</literal> must be specified.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <literal>byte[]</literal> — An EL expression can reference an <literal>byte[]</literal>.
+ In this case both a <literal>fileName</literal> and a <literal>contentType</literal> must be specified.
+ </para>
+ </listitem>
+ </itemizedlist>
+ <para>If the value attribute is ommitted:</para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ If this tag contains a <literal><p:document></literal> tag, the document described will be
+ generated and attached to the email.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ If this tag contains other JSF tags a HTML document will be generated from them
+ and attached to the email.
+ </para>
+ </listitem>
+ </itemizedlist>
+ </listitem>
+ <listitem>
+ <para>
+ <literal>fileName</literal> — Specify the file name to use for the attached file.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <literal>contentType</literal> — Specify the MIME type of the attached file
+ </para>
+ </listitem>
+ </itemizedlist>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
<term><m:subject></term>
<listitem>
<para>
More information about the jboss-cvs-commits
mailing list