[prev in list] [next in list] [prev in thread] [next in thread] 

List:       zope3-users
Subject:    [Zope3-Users] datafield as objectname
From:       Egon Frerich <e.frerich () nord-com ! net>
Date:       2006-02-28 15:28:16
Message-ID: 44046C10.1040400 () nord-com ! net
[Download RAW message or body]

-----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: e.frerich@nord-com.net
-----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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic