[Zope] Problem with VirtualHostMonster
    Chris Withers 
    lists at simplistix.co.uk
       
    Wed Mar 24 08:21:16 EST 2004
    
    
  
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
    
    
More information about the Zope
mailing list