[Zope] Re: get url for localfs objects

Paul Winkler pw_lists at slinkp.com
Thu Aug 14 15:40:10 EDT 2003


On Thu, Aug 14, 2003 at 09:32:16AM -0500, Philipp von Weitershausen wrote:
> Note that you should never ever use object.id or object/id. Always use 
> the getId() method (in TALES object/getId).

generally true, assuming they are descendants of simpleItem
or similar.  I feel like I've run into some object that didn't implement
getId but I forget what.

Also, the original post didn't specify what's being looped over...
i dunno if "batch" was from a folder's objectItems(), from a catalog query, 
or some sql stuff, or what.

-- 

Paul Winkler
http://www.slinkp.com
Look! Up in the sky! It's SUPER TELEVISION ZIRO!
(random hero from isometric.spaceninja.com)



More information about the Zope mailing list