portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From na...@apache.org
Subject cvs commit: jakarta-jetspeed/src/java/org/apache/jetspeed/modules/actions SendConfirmationEmail.java
Date Sun, 25 Nov 2001 20:56:54 GMT
nacho       01/11/25 12:56:54

  Modified:    src/java/org/apache/jetspeed/modules/actions
                        SendConfirmationEmail.java
  Log:
  use RunData to initialice email template context
  
  Revision  Changes    Path
  1.15      +1 -1      jakarta-jetspeed/src/java/org/apache/jetspeed/modules/actions/SendConfirmationEmail.java
  
  Index: SendConfirmationEmail.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/modules/actions/SendConfirmationEmail.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- SendConfirmationEmail.java	2001/11/19 07:49:39	1.14
  +++ SendConfirmationEmail.java	2001/11/25 20:56:54	1.15
  @@ -100,7 +100,7 @@
           {
               //build body via template
               StringWriter email_body = new StringWriter();
  -            Context emailContext = TurbineVelocity.getContext();
  +            Context emailContext = TurbineVelocity.getContext(data);
               SimpleEmail se = new SimpleEmail();
               emailContext.put( "data", data );
               emailContext.put( "user", user );
  
  
  

--
To unsubscribe, e-mail:   <mailto:jetspeed-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:jetspeed-dev-help@jakarta.apache.org>


Mime
View raw message