Hi,
I'd like to implement an event to be fired when an InternalPrincipal
shall be deleted from a PrincipalFolder.
class IObjectShallBeDeletedEvent(IObjectEvent):
"""Event, when an object will be deleted.
"""
class ObjectShallBeDeletedEvent(object):
"""Event, when an o
Le lundi 07 janvier 2008 à 14:30 +0100, Tobias Rodäbel a écrit :
> Hi,
>
> I'd like to implement an event to be fired when an InternalPrincipal
> shall be deleted from a PrincipalFolder.
>
> class IObjectShallBeDeletedEvent(IObjectEvent):
> """Event, when an object will be deleted.
>
Hi Thierry,
On Jan 7, 2008, at 4:44 PM, Thierry Florac wrote:
For your use case, the only thing you should do is just to implement a
subscriber to IObjectRemovedEvent (defined into
zope.app.container.interfaces) which is automatically fired by all
"standard" Zope3 containers.
Hope this helps,
SimpleTerm of zope.schema does not allow tokens to be unicode. Why this?
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users
Hallo Katja,
I would say that's because tokens are used in the widgets for item
identification. Usual business is to utf-8 and base64 encode unicode
tokens.
Monday, January 7, 2008, 5:35:46 PM, you wrote:
KS> SimpleTerm of zope.schema does not allow tokens to be unicode. Why this?
KS> __
On Jan 7, 2008 5:35 PM, Katja Süss <[EMAIL PROTECTED]> wrote:
> SimpleTerm of zope.schema does not allow tokens to be unicode. Why this?
Because tokens need to be round-trippable in browsers, without
encountering encoding issues. Tokens are internal values, unique in
the set, whatever they may rep