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
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.
@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
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();
>>
>> .
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
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
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
"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
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,
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
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
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
12 matches
Mail list logo