RE: [Zope] dtml-return question
17 Jan
2000
17 Jan
'00
5:16 p.m.
When I execute the DTMLMethod containing the code above, I get no output for the dtml-in. However, if I do the following in the method above (instead of using the allNewsArticles method), I do get output:
<dtml-in "PARENTS[1].objectValues('NewsArticle')"> <... do stuff here ...> </dtml-in>
I had a problem which might be similar -- instead of the returned value, my reference to the method was dropping the source-code of the method into the calling script! My problem went away when I wrapped the dtml-in in a dtml-let. i.e. <dtml-let foo=allNewsArticles> <dtml-in foo> <... do stuff here...> </dtml-in> </dtml-let> ...sorted my problem, but YMMV. HTH David
9575
Age (days ago)
9575
Last active (days ago)
0 comments
1 participants
participants (1)
-
David Salgado