[Zope] saving/creating an object to an exsisting folderish object
Andreas Jung
lists at zopyx.com
Sun Jan 7 03:06:27 EST 2007
--On 7. Januar 2007 00:02:21 -0800 Allen Huang <swapp0 at yahoo.com> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20070107/e7e9cf21/attachment.bin
More information about the Zope
mailing list