[BlueBream] Exception views, again
Justin Ryan
jryan at reliefgarden.org
Mon Aug 9 03:45:16 EDT 2010
On Sun, Aug 8, 2010 at 11:42 PM, Michael Howitz <mh at gocept.com> wrote:
> Am 07.08.2010 um 00:41 schrieb Justin Ryan:
>>
>> So, even though the BB paster template already declares "index" as the
>> default view for all content, I have to do this for the Exception?
>
> Yes.
>
>
>> It is clear that the notion of an exception view is kind of wierder than
>> normal views.
>
> Yes. But it allows to create and use a package like z3c.layer.pagelet (which has "index.html" as default view name of the exceptions) in an application built in BB which uses "index" as default view name of all other views.
>
Sure, that makes sense. I just wanted to confirm. This would
certainly explain what I'm seeing.
>> I actually thought some of the docs I saw might smell like that, but
>> trying your sample directive above isn't working.
>
> Really strange. I added my changed version to this e-mail. (I even tried to copy my ZCML code from above to a fresh copy of your unauth-test and it worked: when accessing a page which does not exists the browser shows: "login required")
>
Thank you, Michael, for taking the time here.
I must have made a mistake, somehow. I could swear I also cut and
pasted, but perhaps not.
More information about the bluebream
mailing list