[jboss-cvs] jboss-seam/examples/mail/view ...

Gavin King gavin.king at jboss.com
Tue Jan 23 20:55:08 EST 2007


  User: gavin   
  Date: 07/01/23 20:55:08

  Modified:    examples/mail/view     html.xhtml plainText.xhtml
                        template.xhtml templating.xhtml
  Log:
  fixed ws
  
  Revision  Changes    Path
  1.3       +30 -27    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.2
  retrieving revision 1.3
  diff -u -b -r1.2 -r1.3
  --- html.xhtml	21 Jan 2007 16:13:04 -0000	1.2
  +++ html.xhtml	24 Jan 2007 01:55:08 -0000	1.3
  @@ -4,6 +4,7 @@
         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>
  @@ -21,9 +22,11 @@
   	      	</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
  
  
  
  1.3       +19 -17    jboss-seam/examples/mail/view/plainText.xhtml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: plainText.xhtml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/mail/view/plainText.xhtml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -b -r1.2 -r1.3
  --- plainText.xhtml	23 Jan 2007 19:25:31 -0000	1.2
  +++ plainText.xhtml	24 Jan 2007 01:55:08 -0000	1.3
  @@ -4,9 +4,9 @@
         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 session="#{myMailSession}">
  +      
  +    <m:message>
   	      <m:from name="Seam" address="do-not-reply at jboss.com" />
  -	      <m:replyTo>#{person.address}</m:replyTo>
   	      <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},
  @@ -17,9 +17,11 @@
   	      
   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
  
  
  
  1.2       +32 -29    jboss-seam/examples/mail/view/template.xhtml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: template.xhtml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/mail/view/template.xhtml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- template.xhtml	21 Jan 2007 16:13:04 -0000	1.1
  +++ template.xhtml	24 Jan 2007 01:55:08 -0000	1.2
  @@ -4,6 +4,7 @@
         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>
  @@ -23,6 +24,7 @@
   		      	</f:facet>
   	      </m:body>
        </m:message>
  +     
        <ui:insert name="successMessage">
   	     <html>
   		     <body>
  @@ -30,4 +32,5 @@
   		     </body>
   	     </html>
   	</ui:insert>
  +
   </ui:composition>
  \ No newline at end of file
  
  
  
  1.2       +11 -6     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.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- templating.xhtml	21 Jan 2007 16:13:04 -0000	1.1
  +++ templating.xhtml	24 Jan 2007 01:55:08 -0000	1.2
  @@ -5,8 +5,11 @@
         xmlns:h="http://java.sun.com/jsf/html"
         xmlns:f="http://java.sun.com/jsf/core"
         template="template.xhtml">
  +      
         <ui:param name="subject" value="Templating with Seam Mail" />
  +      
         <ui:define name="body">
  +      
         	<p>This email demonstrates that you can easily use <i>facelets templating features</i> in your code!</p>
         	
         	<p>In fact you can use <b>any</b> JSF tags that you like!</p>
  @@ -21,5 +24,7 @@
   	      		<h:outputText value="#{day}" />
   	      	</h:column>
         	</h:dataTable>
  +      	
         </ui:define>
  +      
   </ui:composition>
  \ No newline at end of file
  
  
  



More information about the jboss-cvs-commits mailing list