16 Oct
2005
16 Oct
'05
4:50 p.m.
Anders Bruun Olsen wrote at 2005-10-14 11:53 +0200:
... I am trying to make a product where-in I want to be able to return a page based on the url, think something like /product/username which would return a page with the users details. For this purpose I am using __getitem__, but when I return a PageTemplateFile instance it just tells me it has encountered a problem publishing the object.
I such a case, you look at the traceback (which you can find in the "error_log" object in your Zope "Root Folder" (ZMI)). If it does not solve the problem directly, you include the full error information (at least "Error Type", "Error Value" *AND* "traceback") in your post. -- Dieter