Hi, Yes, the Parameter List is set to st1,sub_type2. -----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Thomas B. Passin Sent: Tuesday, June 18, 2002 3:02 PM To: 'Zope@Zope. Org' (E-mail) Subject: Re: [Zope] How does DTML handle return variables from Python [McDonnell, Larry]
I sorted of asked this question before but I am still hitting a wall. I am using this python code:
context, container, script, traverse_subpath part_num = st1 + sub_type2 return part_num
But when "part_num" is returned it is blank. I test the script and "part_num" has a return value.
You have to include the two parameters in the script's parameter list, which you will find in the Edit tab for the script. Otherwise they don't get passed to the script. Cheers, Tom P _______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )