[Zope] saving/creating an object to an exsisting folderish object

Allen Huang swapp0 at yahoo.com
Sun Jan 7 03:02:21 EST 2007


'name' is a string obj
I have a exsisting folder

name == folder.getId()

say I want to use manage_addFile('point', 'a point') into this folder with the getId() == name

but I can't do name.manage_addFile('point', 'a point') because 'name' is a str object

so how do I create a file inside a folder whose id is 'name'?


----- Original Message ----
From: Andreas Jung <lists at zopyx.com>
To: Allen Huang <swapp0 at yahoo.com>; Zope <zope at zope.org>
Sent: Sunday, January 7, 2007 3:39:39 PM
Subject: Re: [Zope] saving/creating an object to an exsisting folderish object


--On 6. Januar 2007 21:28:06 -0800 Allen Huang <swapp0 at yahoo.com> wrote:


> is there a method that uses 'name'(a str object) as an argument to call
> upon this folder?

"to call upon this folder"? No idea what you mean.

-aj

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20070107/bd9bd9e5/attachment.htm


More information about the Zope mailing list