I have a method called getModulesForProduct to which I pass a ProductID eg:
<dtml-in "Products.Modules.getModulesForProduct(this(), _, ProductID)"
sort=name>
If ProductID is passed on from a form variable it works fine.
If I set the ProductID through REQUEST.set:
<dtml-call "REQUEST.set('ProductID',_.str(Product.id))"> ,
I get a TypeError:
Error Type: TypeError
Error Value: hasattr, argument 2: expected string, int found
I've been banging my head against this problem the whole day so help would
really be appreciated.
Roché
_______________________________________________
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope )