[jboss-cvs] jboss-seam/doc/reference/en/modules ...
Peter Muir
peter at bleepbleep.org.uk
Thu Mar 22 14:06:16 EDT 2007
User: pmuir
Date: 07/03/22 14:06:16
Modified: doc/reference/en/modules mail.xml
Log:
JBSEAM-1006
Revision Changes Path
1.18 +13 -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.17
retrieving revision 1.18
diff -u -b -r1.17 -r1.18
--- mail.xml 18 Feb 2007 16:14:51 -0000 1.17
+++ mail.xml 22 Mar 2007 18:06:16 -0000 1.18
@@ -172,6 +172,19 @@
</section>
<section>
+ <title>Internationalisation</title>
+ <para>Seam supports sending internationalised messages. By default, the encoding provided by
+ JSF is used, but this can be overridden on the template:</para>
+ <programlisting><![CDATA[<m:message charset="UTF-8">
+ ...
+</m:message>]]></programlisting>
+ <para>The body, subject and recipient (and from) name will be encoded. You'll need to make
+ sure facelets uses the correct charset for parsing your pages by setting encoding of the
+ template:</para>
+ <programlisting><![CDATA[<?xml version="1.0" encoding="UTF-8"?>]]></programlisting>
+ </section>
+
+ <section>
<title>Other Headers</title>
<para>Sometimes you'll want to add other headers to your email. Seam provides support for some (see <xref linkend="mail.tags" />).
More information about the jboss-cvs-commits
mailing list