Wow,
this is good service!
thanks a lot,
Alexander
Jon Stevens schrieb:
> on 7/3/01 7:21 AM, "Alexander Banthien" <[EMAIL PROTECTED]> wrote:
>
> > Basically I only wanted to instantiate a VelocityHtmlEmail having only a
> > Context available but no RunData. The only constructor available is
> > VelocityHtmlEmail(RunData data). Since I am starting the job from the
> > Scheduler, there is no such thing as a request or RunData object.
> >
> > I found out though, that the class VelocityHtmlEmail in fact only needs a
> > context, but uses the RunData-Argument to the constructor to draw the
> > context out of it.
> >
> > So I rewrote VelocityHtmlEmail to provide a second constructor to be
> > initialized with a Context. If you are interested, I'll make a patch (only
> > trouble: I've never done it, so patching will take me a bit of time and I
> > have little time)
> >
> > Thanks for the reply and let me know!
>
> Fixed in CVS HEAD. If someone backports it to 2.1, you will have it in 2.1.1
> otherwise you will have it in 2.2.
>
> -jon
>
> --
> If you come from a Perl or PHP background, JSP is a way to take
> your pain to new levels. --Anonymous
> <http://jakarta.apache.org/velocity/ymtd/ymtd.html>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
--
------------------------------------------------
Alexander Banthien [EMAIL PROTECTED]
JusTec GmbH +49 761 401269 41
Haslacher Str. 126 +49 761 401269 13 (Fax)
79115 Freiburg Germany
------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]