You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Hristo Kosev <hk...@yahoo.com> on 2001/09/13 12:58:40 UTC
Getting RunData in ScheduledJob
Hi.
I want to send VelocityHtmlEmail from one of my
scheduled jobs. Unfortunately I have to pass a RunData
object to the VelocityHtmlEmail constructor. I thought
that RunDataFactory could do that but it requires Http
request and response objects. Is there any way to get
RunData from somewhere else without passing requests
and responses or some other way to parse a Velocity
template and send it as a html email without rundata.
Hristo Kosev
__________________________________________________
Terrorist Attacks on U.S. - How can you help?
Donate cash, emergency relief information
http://dailynews.yahoo.com/fc/US/Emergency_Information/
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org
Re: Getting RunData in ScheduledJob
Posted by "Jeffrey B. Woodward" <Je...@Dartmouth.EDU>.
Check the mail archives. I recall this issue coming up once before. If I
recall correctly, a patch was either submitted or suggested because as it
turns out, the RunData object is not needed - only the Velocity context was
being extracted from it. I don't recall if the patches made it into 2.1 CVS
or if they only went into 3.0. At any rate, the fix was mirror (so I
remember...FWIW). If you can't find the issue in the mailarchive, give a
look at the lastest CVS to see if its fixed there. Perphaps someone else on
the list has more a definitive answer or better memory...
-Jeff Woodward
Project Manager - Systems and Systems Integration
The fMRI Data Center
Dartmouth College
6162 Moore Hall
Jeffrey.B.Woodward@Dartmouth.EDU
----- Original Message -----
From: "Hristo Kosev" <hk...@yahoo.com>
To: <tu...@jakarta.apache.org>
Sent: Thursday, September 13, 2001 6:58 AM
Subject: Getting RunData in ScheduledJob
> Hi.
> I want to send VelocityHtmlEmail from one of my
> scheduled jobs. Unfortunately I have to pass a RunData
> object to the VelocityHtmlEmail constructor. I thought
> that RunDataFactory could do that but it requires Http
> request and response objects. Is there any way to get
> RunData from somewhere else without passing requests
> and responses or some other way to parse a Velocity
> template and send it as a html email without rundata.
>
> Hristo Kosev
>
> __________________________________________________
> Terrorist Attacks on U.S. - How can you help?
> Donate cash, emergency relief information
> http://dailynews.yahoo.com/fc/US/Emergency_Information/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-user-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org