--On 7. Januar 2007 00:02:21 -0800 Allen Huang <[EMAIL PROTECTED]> wrote:

'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'?



here is a german FAQ:

<http://www.zope.de/dokumentation/faqs/entwicklung/PythonScripts/add_product/?searchterm=manage_add*>

Google for manage_addProduct() or search on zope.org

-aj

Attachment: pgpsghR4tdF60.pgp
Description: PGP signature

_______________________________________________
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