On Sat, Apr 22, 2000 at 04:04:58PM +1000, Malcolm Tredinnick wrote:
> The syntax you want, if I've understoof the question, is (untested):
>       <dtml-var "the_other_dtml_method(_['sequence-item'])">
> You need to do it this way because the stuff inside the quotes is a python
> expression and hyphens are not permitted in Python variable names. So you use
> the magical _ namespace, which contains things like sequence-item as a key.

Very nice. Now how do I reference the variable in the_other_dtml_method? I 
assume it is in the other methods namespace, but what name does it have?

Greg Green

Zope maillist  -  [EMAIL PROTECTED]
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to