[Zope-CMF] Removing quotes from Contributors metadata
J Cameron Cooper
jccooper at jcameroncooper.com
Tue Nov 4 14:59:07 EST 2003
>I'm trying to use the metadata Contributors in CMF 1.4.2 and Zope 2.6.2.
>I used the following code to see the Contributors in my portal_catalog.
>The results I get are in parentheses and single quotes like
>('myContributor'). Is there a way to render the contributors metadata
>without the parentheses and single quotes?
>
>
Looks like it gives you a tuple of strings. Treat that as a list and
iterate over it with tal:repeat
--jcc
--
"Code generators follow the 80/20 rule. They solve most of the problems, but not all of the problems. There are always features and edge cases that will need hand-coding. Even if code generation could build 100 percent of the application, there will still be an endless supply of boring meetings about feature design."
(http://www.devx.com/java/editorial/15511)
More information about the Zope-CMF
mailing list