[Zope-CMF] Re: Action Name as TAL Expression
tseaver at palladion.com
Fri Jul 15 08:49:52 EDT 2005
-----BEGIN PGP SIGNED MESSAGE-----
Florent Guillaume wrote:
> Pete Mawhinney <pmawhinney at fitness2live.com.au> wrote:
>>From: Tom Dossis [mailto:td at yoma.com.au]
>>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 tseaver at palladion.com
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-----
More information about the Zope-CMF