[jboss-cvs] jboss-seam/examples/mail/view ...
Peter Muir
peter at bleepbleep.org.uk
Thu Oct 11 07:01:08 EDT 2007
User: pmuir
Date: 07/10/11 07:01:08
Modified: examples/mail/view attachment.xhtml plain.xhtml
templating.xhtml
Log:
Some changes to allow greater testing
Revision Changes Path
1.4 +2 -2 jboss-seam/examples/mail/view/attachment.xhtml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: attachment.xhtml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/mail/view/attachment.xhtml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- attachment.xhtml 1 Sep 2007 20:34:33 -0000 1.3
+++ attachment.xhtml 11 Oct 2007 11:01:08 -0000 1.4
@@ -6,9 +6,9 @@
<m:from name="Peter" address="peter at email.tld" />
<m:to name="#{person.firstname} #{person.lastname}">#{person.address}</m:to>
<m:subject>Try out Seam!</m:subject>
- <m:attachment value="/WEB-INF/lib/jboss-seam-mail.jar" />
+ <m:attachment value="/jboss.jpg" />
<m:attachment value="#{numbers}" />
- <m:attachment value="#{person.photo}" contentType="image/png" fileName="#{person.firstname}_#{person.lastname}.jpg" status="personPhoto" />
+ <m:attachment value="#{person.photo}" contentType="image/png" fileName="#{person.firstname}_#{person.lastname}.jpg" status="personPhoto" disposition="inline" />
<m:attachment fileName="whyseam.pdf">
<ui:include src="/whyseam.xhtml" />
</m:attachment>
1.4 +5 -2 jboss-seam/examples/mail/view/plain.xhtml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: plain.xhtml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/mail/view/plain.xhtml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- plain.xhtml 25 Jan 2007 18:26:37 -0000 1.3
+++ plain.xhtml 11 Oct 2007 11:01:08 -0000 1.4
@@ -1,11 +1,14 @@
-<m:message xmlns:m="http://jboss.com/products/seam/mail">
+<m:message xmlns:m="http://jboss.com/products/seam/mail" importance="high" precedence="bulk">
<m:from name="Seam" address="do-not-reply at jboss.com" />
+ <m:replyTo name="JBoss" address="another.address at jboss.org" />
+ <m:cc name="#{person.firstname} #{person.lastname}">#{person.address}</m:cc>
+ <m:bcc name="#{person.firstname} #{person.lastname}">#{person.address}</m:bcc>
<m:to name="#{person.firstname} #{person.lastname}">#{person.address}</m:to>
<m:subject>Plain text email sent by Seam</m:subject>
<m:body type="plain">Dear #{person.firstname},
-This is a simple, plain text, email.
+This is a plain text, email.
Regards
1.4 +1 -1 jboss-seam/examples/mail/view/templating.xhtml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: templating.xhtml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/mail/view/templating.xhtml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- templating.xhtml 24 Jan 2007 02:25:30 -0000 1.3
+++ templating.xhtml 11 Oct 2007 11:01:08 -0000 1.4
@@ -2,7 +2,7 @@
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
- template="template.xhtml">
+ template="template.xhtml" importance="normal">
<ui:param name="subject" value="Templating with Seam Mail" />
More information about the jboss-cvs-commits
mailing list