I have a method called getModulesForProduct to which I pass a ProductID eg:
<dtml-in "Products.Modules.getModulesForProduct(this(), _, ProductID)"

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.


Zope-Dev maillist  -  [EMAIL PROTECTED]
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to