[Zope-CMF] Actions in tools but not in Types

Robert Rottermann robert@redcor.ch
Wed, 21 Aug 2002 16:27:35 +0200


> There is an implementation checked into CVS already on a branch,
> 'tseaver-ti_as_apb-branch';  we should land it on the head now that 1.3
> is released.
>
does this implementation also have a condition for the type-tool based
actions?

Robert
----- Original Message -----
From: "Tres Seaver" <tseaver@zope.com>
To: "Dieter Maurer" <dieter@handshake.de>
Cc: "Heimo Laukkanen" <huima@fountainpark.org>; <zope-cmf@zope.org>
Sent: Wednesday, August 21, 2002 12:53 AM
Subject: Re: [Zope-CMF] Actions in tools but not in Types


> On Tue, 2002-08-20 at 17:14, Dieter Maurer wrote:
> > Heimo Laukkanen writes:
> >  > Actions can have expressions, which are TALES expressions and have
names
> >  > that are described in Expression.py of CMFCore. Example of that in
use
> >  > is from actions tool, where one action is:
> >  >
> >  > string: ${folder_url}/folder_contents
> >  >
> >  > However this doesn't work in portal_types - eventhough Actions in
> >  > types_tool is presented in a same way. Now my question is, is this
for a
> >  > reason - or I am missing something?
> > Actions in "portal_types" are quite old, they predate TALES expressions
> > and therefore use string actions with magic placeholders.
> > Actions in the tools are new and use TALES expressions.
> >
> > As it is not easy to switch from string actions to TALES expression
> > actions in a completely backward compatible way, I think,
> > the "portal_typs" actions have not yet been switched.
> >
> > Maybe, you can come up with a proposal?
>
> There is an implementation checked into CVS already on a branch,
> 'tseaver-ti_as_apb-branch';  we should land it on the head now that 1.3
> is released.
>
> Tres.
> --
> ===============================================================
> Tres Seaver                                tseaver@zope.com
> Zope Corporation      "Zope Dealers"       http://www.zope.com
>
>
> _______________________________________________
> Zope-CMF maillist  -  Zope-CMF@zope.org
> http://lists.zope.org/mailman/listinfo/zope-cmf
>
> See http://collector.zope.org/CMF for bug reports and feature requests
>