[Zope-CMF] Actions can have duplicate Ids?

Florent Guillaume fg@nuxeo.com
Tue, 23 Jul 2002 10:24:48 +0000 (UTC)


Chris Withers <chrisw@nipltd.com> wrote:
> Just noticed that actions can have duplicate ids.
> Is this a bad thing?

Not a problem.

> What are action ids used for now anyway?

Lots of things. The id='view' action is used to display the default page
for content. The id='mkdir' action is used by PortalFolder.

In my code I use ids to find special actions from the TypesTool ('edit',
'create', some flags, etc.)

> Can we get rid of them? They just seem to be confusing...

Why do you find them confusing? Ignore them if you don't use them.

Florent
-- 
Florent Guillaume, Nuxeo (Paris, France)
+33 1 40 33 79 87  http://nuxeo.com  mailto:fg@nuxeo.com