[Zope-CMF] CMF Tests: 5 OK

2010-06-18 Thread CMF Tests Summarizer
Summary of messages to the cmf-tests list.
Period Thu Jun 17 12:00:00 2010 UTC to Fri Jun 18 12:00:00 2010 UTC.
There were 5 messages: 5 from CMF Tests.


Tests passed OK
---

Subject: OK : CMF-2.1 Zope-2.10 Python-2.4.6 : Linux
From: CMF Tests
Date: Thu Jun 17 22:14:57 EDT 2010
URL: http://mail.zope.org/pipermail/cmf-tests/2010-June/013175.html

Subject: OK : CMF-2.1 Zope-2.11 Python-2.4.6 : Linux
From: CMF Tests
Date: Thu Jun 17 22:16:57 EDT 2010
URL: http://mail.zope.org/pipermail/cmf-tests/2010-June/013176.html

Subject: OK : CMF-2.2 Zope-2.12 Python-2.6.5 : Linux
From: CMF Tests
Date: Thu Jun 17 22:19:00 EDT 2010
URL: http://mail.zope.org/pipermail/cmf-tests/2010-June/013177.html

Subject: OK : CMF-trunk Zope-2.12 Python-2.6.5 : Linux
From: CMF Tests
Date: Thu Jun 17 22:21:08 EDT 2010
URL: http://mail.zope.org/pipermail/cmf-tests/2010-June/013178.html

Subject: OK : CMF-trunk Zope-trunk Python-2.6.5 : Linux
From: CMF Tests
Date: Thu Jun 17 22:23:12 EDT 2010
URL: http://mail.zope.org/pipermail/cmf-tests/2010-June/013179.html

___
Zope-CMF maillist  -  Zope-CMF@zope.org
https://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


Re: [Zope-CMF] How do you add an action in python code?

2010-06-18 Thread yuppie
Suresh V. wrote:
> I have been looking at the Action* related code and have not been able
> to figure it out completely.
>
> I tried portal_actions.addAction(...) but this adds it under the
> "Actions" tab with the big RED deprecation warning.
>
> I am able to add it from the ZMI correctly, but can't trace the code
> that does the real adding (Ended up getting lost in GenericSetup browser
> views).
>
> Can someone give me a pointer?

There is no special API. ActionCategory inherits from OFS.OrderedFolder, 
you can use the _setObject method.

HTH, Yuppie
___
Zope-CMF maillist  -  Zope-CMF@zope.org
https://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


[Zope-CMF] How do you add an action in python code?

2010-06-18 Thread Suresh V.
I have been looking at the Action* related code and have not been able 
to figure it out completely.

I tried portal_actions.addAction(...) but this adds it under the 
"Actions" tab with the big RED deprecation warning.

I am able to add it from the ZMI correctly, but can't trace the code 
that does the real adding (Ended up getting lost in GenericSetup browser 
views).

Can someone give me a pointer?

Suresh

___
Zope-CMF maillist  -  Zope-CMF@zope.org
https://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests