ï
Hallo
I have added new product named
"FlashMovie".
I'm adding new FlashMovie's object in Zope's folder
and next I want to get it from ZTP:
. After it ZPT is being redirected to ZPT
named "flashmovie_view". I can not find in a ZMI the place where I can
change it. I don't want to be redirecte
In article <[EMAIL PROTECTED]> you write:
> In User.py the method is defined as
>
> def getUserById(self, id, default=_marker):
> try:
> return self.getUser(id)
> except:
> if default is _marker: raise
> return default
>
> I am wondering whether anybody actual
Hm, I'd rather not raise exceptions.
getUserById was introduced in Zope 2.2 and since then has never raised
anything. From what I can see it is used as a kind of alias for
getUser, expected to return None if the user does not exist.
So, my intention is to make 'default' work, not to make it rais
Dieter Maurer wrote:
Florent Guillaume wrote at 2004-12-10 19:02 +0100:
The two options we have are quite different:
The model in Products/Event and Products/EventListenerTool is geared
toward local definition of listeners and rules for dispatch (if needed,
the tool could easily be divorced
Krzysztof Kubacki wrote:
After it ZPT is being redirected to ZPT named "flashmovie_view". I can
not find in a ZMI the place where I can change it.
That's probably because the ZMI doesn't do any redirection like that...
--
Lennart Regebro, Nuxeo http://www.nuxeo.com/
CPS Content Management
Stefan H. Holek wrote:
In User.py the method is defined as
def getUserById(self, id, default=_marker):
try:
return self.getUser(id)
except:
if default is _marker: raise
return default
I am wondering whether anybody actually depends on the fact that getUser
is suppos
On Dec 13, 2004, at 17:15, Florent Guillaume wrote:
Can we have instead:
def getUserById(self, id, default=_marker):
"""Return the user corresponding to the given id.
Raises a KeyError if the user does not exist and no default
is provided.
"""
user = self
Jens wrote:
> On Dec 13, 2004, at 17:15, Florent Guillaume wrote:
> > Can we have instead:
> >
> > def getUserById(self, id, default=_marker):
> > """Return the user corresponding to the given id.
> >
> > Raises a KeyError if the user does not exist and no default
> > is
In article <[EMAIL PROTECTED]> you write:
> Hm, I'd rather not raise exceptions.
>
> getUserById was introduced in Zope 2.2 and since then has never raised
> anything. From what I can see it is used as a kind of alias for
> getUser, expected to return None if the user does not exist.
>
> So, my
On Mon, 2004-12-13 at 19:22 +0100, Stefan H. Holek wrote:
> Hm, I'd rather not raise exceptions.
>
> getUserById was introduced in Zope 2.2 and since then has never raised
> anything. From what I can see it is used as a kind of alias for
> getUser, expected to return None if the user does not ex
10 matches
Mail list logo