-----BEGIN PGP SIGNED MESSAGE-----
Florent Guillaume wrote:
> Pete Mawhinney <[EMAIL PROTECTED]> wrote:
>>From: Tom Dossis [mailto:[EMAIL PROTECTED]
>>A CMF action name is currently a simple string.
>>It would be a nice and relatively simple enhancement to have it support
>>TAL expressions. Note: This would need to be backward compatible, so we
>>need to identify when/how to interpret the name as a tal expression.
> In any reasonable system, action names are not english strings anyway,
> and have to be post-processed before being displayed because of i18n
> requirements. And it's quite easy in your application's code to
> recognize a special action id and compute a value before display.
+1. The action ID is used to identify the action in code, and should
should remain an "identifier" not a label. I could see a patch like the
one proposed for the portal_actionicons tool, which is desgined for the
kinds of indirections the OP needs.
Tres Seaver +1 202-558-7113 [EMAIL PROTECTED]
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
Zope-CMF maillist - Zope-CMF@lists.zope.org
See http://collector.zope.org/CMF for bug reports and feature requests