On Mon, May 18, 2009 at 10:57 AM, Andy Buckley
<[email protected]> wrote:
> Thanks for the advice. I'd rather avoid using separate pages, as
> mentioned, but including the format handling in the activation context
> is certainly possible. It prompts another question, though: how do I
> return the "normal" page rendering as a StreamResponse in onActivate?

Return null.

> That "return null" is obviously wrong: I was hoping that it would fall
> back to the default page rendering via the template but it just causes a
> NullPointerException.

Please post the stack trace, as returning null is the way to do what you want.

-- 
Thiago

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to