[Zope] Virtual Host Monster does not work with the absolute_url()

Tom Cameron tom@mooball.com
Sat, 10 Aug 2002 09:15:39 +1000


Thanks Dieter,
But it makes no difference.

I am guessing that perhaps the object that I am calling is not subclassed
off something that it should be for the VHM to work.

Does anybody know of a property or method that I should be looking for that
absolute_url() might need to determine the correct Base?

Thanks
Tom

=> -----Original Message-----
=> From: Dieter Maurer [mailto:dieter@handshake.de]
=> Sent: Saturday, 10 August 2002 6:55 AM
=> To: tom@mooball.com
=> Cc: zope@zope.org
=> Subject: Re: [Zope] Virtual Host Monster does not work with the
=> absolute_url()
=>
=>
=> Tom Cameron writes:
=>  > ...
=>  > "_['sequence-item'].absolute_url()"
=> Not sure, that this is related to your problem (probably not),
=> but "_[...]" is usually calling for problems when you expect the
=> result to
=> be an object.
=>
=> Use "_.getitem('sequence-item')" instead.
=>
=>
=> Dieter
=>