[Zope3-dev] Re: wading through zcml...
Philipp von Weitershausen
philipp at weitershausen.de
Thu Nov 16 18:43:06 EST 2006
Shane Hathaway wrote:
> Philipp von Weitershausen wrote:
>> browser:view
>> Like zope:view, except:
>>
>> * the request type (second adapted object) defaults to
>> IBrowserDefaultLayer
>>
>> * the "permission" always applies to 'publishTraverse',
>> 'browserDefault' and '__call__' attributes, in addition to the
>> optionally specified "allowed_attributes" or "allowed_interface"
>
> So, is a browser:view publishable, like a browser:page?
No. That's why you can't open URLs like http://.../anobj/@@absolute_url
(like you can in Zope 2) because absolute_url is a view, but one that's
not publishable.
--
http://worldcookery.com -- Professional Zope documentation and training
More information about the Zope3-dev
mailing list