Re: Html Email Messages

2006-12-14 Thread Jesse Kuhnert
View this message in context: http://www.nabble.com/Html-Email-Messages-tf2776596.html#a7869987 Sent from the Tapestry - User mailing list archive at Nabble.com. -- Jesse Kuhnert Tapestry/Dojo team member/developer Open source based consulting work centered around dojo/tapestry

Re: Html Email Messages

2006-12-14 Thread explido
marco -- View this message in context: http://www.nabble.com/Html-Email-Messages-tf2776596.html#a7869987 Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: Html Email Messages

2006-12-13 Thread Dave Kallstrom
@InjectObject("service:tapestry.globals.RequestGlobals") >> public abstract RequestGlobals getRequestGlobals(); >> >> ... but there is no way to store the ResponseBuilder like you do. >> >> where is the magic? can you give me a some advice? thx. &g

Re: Html Email Messages

2006-12-13 Thread explido
stGlobals(IRequestCycle cycle) method. >> Where do you get it from? >> I've tried with the following injection: >> >>@InjectObject("service:tapestry.globals.RequestGlobals") >> public abstract RequestGlobals getRequestGlobals(); >> >> .

Re: Html Email Messages

2006-12-13 Thread explido
obals(IRequestCycle cycle) method. >> Where do you get it from? >> I've tried with the following injection: >> >>@InjectObject("service:tapestry.globals.RequestGlobals") >> public abstract RequestGlobals getRequestGlobals(); >> >> ... b

Re: Html Email Messages

2006-12-13 Thread Dave Kallstrom
ct RequestGlobals getRequestGlobals(); ... but there is no way to store the ResponseBuilder like you do. where is the magic? can you give me a some advice? thx. Marco -- View this message in context: http://www.nabble.com/Html-Email-Messages-tf2776596.html#a785775

Re: Html Email Messages

2006-12-13 Thread Jesse Kuhnert
bals(); ... but there is no way to store the ResponseBuilder like you do. where is the magic? can you give me a some advice? thx. Marco -- View this message in context: http://www.nabble.com/Html-Email-Messages-tf2776596.html#a785775

Re: Html Email Messages

2006-12-13 Thread explido
"service:tapestry.globals.RequestGlobals") public abstract RequestGlobals getRequestGlobals(); ... but there is no way to store the ResponseBuilder like you do. where is the magic? can you give me a some advice? thx. Marco -- View this message in context: http://www.nabble.com/Htm

Re: Re: Html Email Messages

2006-12-11 Thread Sam Gendler
I just stuck a page referencing the methods in your emails and others on the wiki here: http://wiki.apache.org/tapestry/SendingHtmlEmailWithTap Thanks. --sam - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: Html Email Messages

2006-12-11 Thread Dave Kallstrom
So I'll answer my own question in case anyone else is trying to render html emal with Tap 4.1 The underlying problem was not swapping out the DefaultResponseBuilder from RequestGlobals and also having to implement ResponseBuilder. Here is a snippet of code. ResponseBuilder defaultBuilder = getR

Re: Html Email Messages

2006-12-07 Thread Sam Gendler
I don't know 4.1, but if you provide a Response and replace the outputstream, you'll likely get what you want. You'll just have to ensure the headers don't get sent, but I believe that is a method you can overload in the Response. --sam On 12/7/06, Dave Kallstrom <[EMAIL PROTECTED]> wrote: In

Html Email Messages

2006-12-07 Thread Dave Kallstrom
In tapestry versions prior to 4.1 we rendered email message using tapestry with the following code. BaseHTMLMessagePage sendPage = (BaseHTMLMessagePage) getHtmlPage(inner); ByteArrayOutputStream out = new ByteArrayOutputStream(); IMarkupWriter writer = new MarkupWriterImpl("text/html", new PrintW