[jboss-cvs] jboss-seam/doc/reference/en/modules ...

Peter Muir peter at bleepbleep.org.uk
Sat Sep 1 18:02:23 EDT 2007


  User: pmuir   
  Date: 07/09/01 18:02:23

  Modified:    doc/reference/en/modules  mail.xml
  Log:
  JBSEAM-1440
  
  Revision  Changes    Path
  1.23      +14 -2     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.22
  retrieving revision 1.23
  diff -u -b -r1.22 -r1.23
  --- mail.xml	1 Sep 2007 20:34:33 -0000	1.22
  +++ mail.xml	1 Sep 2007 22:02:23 -0000	1.23
  @@ -105,7 +105,8 @@
   <img src="cid:#{personPhoto.contentId}" />]]></programlisting>
   
            <para>You may be wondering what <literal>cid:#{...}</literal> does. Well, the IETF specified that by
  -         putting this as the src for your image, the attachments will be looked at (by <literal>Content-ID</literal>)
  +         putting this as the src for your image, the attachments will be looked at when trying to locate the
  +         image (the <literal>Content-ID</literal>'s must matchs)
             - magic!</para>
             
             <para>You must declare the attachment before trying to access the status object.</para>
  @@ -180,6 +181,17 @@
       <p>This example demonstrates that you can easily use <i>facelets templating</i> in email!</p>
   </ui:define>]]></programlisting>
   
  +            <para>You can also use facelets source tags in your email, but you must place them in
  +            a jar in <literal>WEB-INF/lib</literal> - referencing the <literal>.taglib.xml</literal>
  +            from <literal>web.xml</literal> isn't reliable when using Seam Mail (if you send your
  +            mail asynchrounously Seam Mail doesn't have access to the full JSF or Servlet context,
  +            and so doesn't know about <literal>web.xml</literal> configuration parameters).</para>
  +            
  +            <para>If you do need more configure Facelets or JSF when sending mail, you'll need to
  +            override the Renderer component and do the configuration programmatically - only for
  +            advanced users!</para>
  +            
  +            
   	    </section>
   	    
   	    <section>
  
  
  



More information about the jboss-cvs-commits mailing list