Re: [Zope] Calling dtml method from search result
15 Apr
2001
15 Apr
'01
8:55 p.m.
Byron C. Servies writes:
How do I call a DTML method that I have acquired as a result of a ZCatalog search?
I can get the path to the method from the catalog, but I cannot figure out how to actually call the method and put the output in the output for the results page. Modern ZCatalog's have an "getobject" method beside the "getpath". "getobject" gives you the object instead of the path.
Alternative: whenever you have a path, you can use "restrictedTraverse" to resolve it into an object. Dieter
9123
Age (days ago)
9123
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dieter Maurer