-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

in my application one of the contenttype datafields should be the
objectname in the container. With a subclass of NameChooser I managed to
add content objects into the container with an objectname which is
identical with a name in a datafield.

But how can I rename the objectname/change the datafield?

With "IContainerNamesContainer" the rename button in the containerview
is gone.

The user would prefer to change the datafield in the edit form.  Then it
is possible to change both names via "IObjectModifiedEvent". But the old
objectname is in the URL for the edit form (with the message that
changes are stored) so the user can only go back to the container view
(and gets an error if he tries to make another change in the edit form).
To my knowledge it is not possible to change the URL because the
IObjectModifiedEvent has no argument with the request.

What should I do?

Egon

- --
Egon Frerich, Freudenbergstr. 16, 28213 Bremen

E-Mail: [EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: GnuPT 2.7.2
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFEBGwOuTzybIiyjvURArRLAJ9eRtBmZfzFKiK/0hKwF9kZxWL3tgCeP97e
08CRYqV7jqLy0SskoOZop8s=
=nE5R
-----END PGP SIGNATURE-----
_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to