-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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.
- --
===================================================================
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

iD8DBQFC17Dw+gerLs4ltQ4RAuw8AJ4gbPLpmO6osUHTXwBc+CPLbRQg1QCgj09l
2F6pkGC1TR+MJ+EbEUmeszw=
=YIdp
-----END PGP SIGNATURE-----
_______________________________________________
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See http://collector.zope.org/CMF for bug reports and feature requests

Reply via email to