----- Original Message ----- From: "Kent Tong" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Monday, August 15, 2005 7:13 PM
Subject: Re: WebResponse cannot set HTTP header (inside custom IEngineService)?


Vjeran Marcinko <vjeran.marcinko <at> email.t-com.hr> writes:

I'm developing PDF generator engine service, and looking at Workbench
example, I can see that is uses injected WebResponse instance, but
unfortunately it doesn't have setHeader(...) method as HttpServletResponse
has...
And I need that obviously.

You can make your engine service a hivemind service which can
easily access the tapestry.globals.HttpServletResponse hivemind
service. I have exactly such an example in chapter 8 of my
book.

But, does it mean that it is only usable for servlet, and not for portlet Tapestry ? AFAIK, WebResponse is supose to be wrapper that should make this distinction irrelevant ...

-Vjeran


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to