'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 <[EMAIL PROTECTED]>
To: Allen Huang <[EMAIL PROTECTED]>; Zope <zope@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 <[EMAIL PROTECTED]> 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 
_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to