DTML batch processing w/external method
I have an external method which takes two arguments which are equivalent to the start and size attributes of dtml-in. How do I pass the batch variables to the external method? <dtml-in expr="external_method(start,size)" ...> doesn't work (NameError: global name 'start' is not defined). Thanks, David _____________________________________ David Chandek-Stark Dept. of Web Services - Perkins Library, Duke University E-mail: d.chandek.stark@duke.edu Voice: 919.660.5859 Fax: 919.684.2855
On Mon, 2003-04-14 at 14:01, David Chandek-Stark wrote:
<dtml-in expr="external_method(start,size)" ...>
doesn't work (NameError: global name 'start' is not defined).
The DTML looks OK. Care to post the external method code? Dylan
David Chandek-Stark wrote at 2003-4-14 17:01 -0400:
I have an external method which takes two arguments which are equivalent to the start and size attributes of dtml-in. How do I pass the batch variables to the external method?
<dtml-in expr="external_method(start,size)" ...>
doesn't work (NameError: global name 'start' is not defined).
Note, that you should post the traceback as well as "Error Type" and "Error Value" when you report problems. It seems that your error is caused because "start" is not defined where you use it in the above call. Dieter
participants (3)
-
David Chandek-Stark -
Dieter Maurer -
Dylan Reinhardt