24 Mar
2004
24 Mar
'04
1:21 p.m.
FLORAC Thierry wrote:
Concerned objects are custom classes instances, inherited from SimpleItem or ObjectManager (for which the "absolute_url" is never defined).
Yeah, but be DAMN sure your class returns an id get .getID() is called ;-)
I can use several methods : - <dtml-let MYINSTANCE="otherObject.callMethod()"> (which retrieves an object) - <dtml-call "REQUEST.set('MYINSTANCE', otherObject.callMethod())"> (which is used mainly when the result can be used in several scripts) - <dtml-in ... prefix="sequence"> <dtml-let MYINSTANCE=sequence_item>
Ewww... DTML :'( Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk