[jboss-user] [JBoss Seam] - Re: Mail rendering fails with MyFaces exception

christian.bauer@jboss.com do-not-reply at jboss.com
Sun Mar 18 05:44:13 EDT 2007


  | <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:header name="X-Sent-From" value="JBoss Seam" />
  |     <m:from name="Wikii" address="do-not-reply at jboss.com" />
  |     <m:to name="#{userHome.instance.firstname} #{userHome.instance.lastname}">#{userHome.instance.email}</m:to>
  |     <m:subject>[Wiki] Registration Confirmation</m:subject>
  |     <m:body>
  |         <html>
  |             <body>
  |             <p>Hello #{userHome.instance.firstname} #{userHome.instance.lastname},</p>
  | 
  |             <p>
  |             you registered an account. You need to click the following link to confirm the validity of your e-mail address and to activate your account:</p>
  | 
  |             <h:outputLink value="#{globalPrefs.baseURL}/confirmRegistration.seam?activationCode=#{userHome.instance.activationCode}">Click this link to activate the account '#{userHome.instance.username}'</h:outputLink>
  | 
  |     </body>
  |         </html>
  |         <f:facet name="alternative">
  |             <h:outputText>
  | Hello #{userHome.instance.firstname} #{userHome.instance.lastname},
  | 
  | you registered an account. You need to use the following link to confirm the validity of your e-mail address and to activate your account:
  | 
  | #{globalPrefs.baseURL}/confirmRegistration.seam?activationCode=#{userHome.instance.activationCode}
  | 
  | 
  |             </h:outputText>
  |         </f:facet>
  |     </m:body>
  | </m:message>
  | 


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029099#4029099

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029099



More information about the jboss-user mailing list