[Zope] Getting Ids from newly created objects

Keith J. Farmer kfarmer@thuban.org
Thu, 27 Dec 2001 19:07:05 -0800


I've created a gallery for a website, using the Photo/PhotoFolder
product.  I've added the commands to add each, but have a slight
interface quandry.

I'd like to be able to retrieve the id of the newly created Photo
object, in the case when its id is generated automatically based on the
filename.  I've looked in the code and it seems to use
OFS.Image.cookId(): is there any way to access that via DTML?

----------
Keith J. Farmer
kfarmer@thuban.org
http://www.thuban.org