I have created and am using a custom ILoginPassword (an
updated version of what’s in Phillip’s book - cookieauth), and Zope
does not seem to raise the Unauthorized exception for unauthorized users.
In otherwords, if a user who is not authenticated tries to
access a page they are not aut
Alek Kowalczyk wrote:
Florian Lindner napisał(a):
Am Samstag, 1. April 2006 15:15 schrieb Alek Kowalczyk:
I have a single object, which can contain many objects of 2 another
types (IType1, IType2). My intention is to have those objects contained
in separate collections (because they are very
Florian Lindner napisał(a):
Am Samstag, 1. April 2006 15:15 schrieb Alek Kowalczyk:
Hello,
I have a simple (on the first sight) problem, which I don't know how to
resolve in zope3'ish way.
I have a single object, which can contain many objects of 2 another
types (IType1, IType2).
Is this much different from a folder containing either ZPTPages or
Folders (not to mention other things)? Have you thought of filtering the
views that show lists of one or the other types?
for name, object in folder.items():
if IType1.providedBy(object):
...
Cliff
Alek Kowalczyk w
Am Samstag, 1. April 2006 15:15 schrieb Alek Kowalczyk:
> Hello,
>
> I have a simple (on the first sight) problem, which I don't know how to
> resolve in zope3'ish way.
>
> I have a single object, which can contain many objects of 2 another
> types (IType1, IType2). My intention is to have those ob
Hello,
I have a simple (on the first sight) problem, which I don't know how to
resolve in zope3'ish way.
I have a single object, which can contain many objects of 2 another
types (IType1, IType2). My intention is to have those objects contained
in separate collections (because they are very diff
Jeff Rush wrote:
My specific question is how evaluation of the path expression "X/Z" is
handled. It *seems* to be:
X.__getitem__('Y')# X['Y']
whereas I'm trying to get:
X.__getattr__('Y')# X.Y
Under Zope 2, as I recall, it would try several algorithms; attribute,
mapping,
Jeff Rush wrote:
My specific question is how evaluation of the path expression "X/Z" is
handled. It *seems* to be:
X.__getitem__('Y')# X['Y']
whereas I'm trying to get:
X.__getattr__('Y')# X.Y
Under Zope 2, as I recall, it would try several algorithms; attribute,
mapping,