[Zope] Newbie question

gpgreen@olywa.net gpgreen@olywa.net
Fri, 21 Apr 2000 22:55:50 -0700


I am just getting started in Zope and have what is probably an obvious question.
I have an external method that returns a list. I understand how to write
dtml to iterate through the list using <dtml-in>. My question is how do
I write a dtml-method that takes the current sequence-item and does something
in it.

So in index_html

<dtml-in "my_external_method()">
 
  <dtml-var the_other_dtml_method(sequence-item)>

</dtml-in>

And in the other dtml-method, how do I access the sequence-item passed in?

Thanks,

-- 
Greg Green
e-mail: gpgreen@olywa.net
http://www.olywa.net/gpgreen/