10 Feb
2004
10 Feb
'04
5:25 p.m.
Hello. I have a Python script that returns a tuple result to a DTML document. The script is working correctly. However, when I try to access the members of the tuple from the DTML document, Zope returns an error saying that the 'Resource courseInformation[0] is not available'. Any help would be greatly appreciated. Thanks. The following is my code and getCourseInformation is my Python script: <dtml-let courseInformation="getCourseInformation(coursesTaught, course_name)"> <input name="semesterFirstTaught" value="<dtml-var courseInformation[0]>" /> </dtml-let> - Asad