[jboss-cvs] jboss-seam/examples/mail/view ...
Peter Muir
peter at bleepbleep.org.uk
Thu Jan 25 05:58:24 EST 2007
User: pmuir
Date: 07/01/25 05:58:24
Modified: examples/mail/view simple.xhtml plain.xhtml html.xhtml
Log:
Tidy up example, improve docs
Revision Changes Path
1.2 +12 -13 jboss-seam/examples/mail/view/simple.xhtml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: simple.xhtml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/mail/view/simple.xhtml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- simple.xhtml 24 Jan 2007 22:43:10 -0000 1.1
+++ simple.xhtml 25 Jan 2007 10:58:24 -0000 1.2
@@ -1,5 +1,4 @@
<m:message xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:m="http://jboss.com/products/seam/mail"
xmlns:h="http://java.sun.com/jsf/html">
1.2 +6 -19 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.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- plain.xhtml 24 Jan 2007 22:43:10 -0000 1.1
+++ plain.xhtml 25 Jan 2007 10:58:24 -0000 1.2
@@ -1,9 +1,4 @@
-<ui:composition xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:s="http://jboss.com/products/seam/taglib"
- xmlns:m="http://jboss.com/products/seam/mail">
-
- <m:message>
+<m:message xmlns:m="http://jboss.com/products/seam/mail">
<m:from name="Seam" address="do-not-reply at jboss.com" />
<m:to name="#{person.firstname} #{person.lastname}">#{person.address}</m:to>
<m:subject>Plain text email sent by Seam</m:subject>
@@ -14,12 +9,4 @@
Regards
JBoss Seam Mail</m:body>
- </m:message>
-
- <html>
- <body>
- <p>The email has been successfully sent. <s:link view="/index.xhtml">Click here</s:link> to return to the index.</p>
- </body>
- </html>
-
-</ui:composition>
\ No newline at end of file
+</m:message>
\ No newline at end of file
1.5 +20 -32 jboss-seam/examples/mail/view/html.xhtml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: html.xhtml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/mail/view/html.xhtml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- html.xhtml 24 Jan 2007 02:11:41 -0000 1.4
+++ html.xhtml 25 Jan 2007 10:58:24 -0000 1.5
@@ -1,11 +1,7 @@
-<ui:composition xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:s="http://jboss.com/products/seam/taglib"
+<m:message xmlns="http://www.w3.org/1999/xhtml"
xmlns:m="http://jboss.com/products/seam/mail"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core">
-
- <m:message>
<m:from name="Seam" address="do-not-reply at jboss.com" />
<m:to name="#{person.firstname} #{person.lastname}">#{person.address}</m:to>
<m:subject>Seam Mail</m:subject>
@@ -21,12 +17,4 @@
<h:outputText>This is the alternative text body for mail readers that don't support html</h:outputText>
</f:facet>
</m:body>
- </m:message>
-
- <html>
- <body>
- <p>The email has been successfully sent. <s:link view="/index.xhtml">Click here</s:link> to return to the index.</p>
- </body>
- </html>
-
-</ui:composition>
\ No newline at end of file
+</m:message>
\ No newline at end of file
More information about the jboss-cvs-commits
mailing list