I have a LocalFS object within a directory, and in the same directory I have a method which I want to use (among other things) to create new folders within the LocalFS object, which is called "pictures." If I try pictures.manage_addFolder(id) the folder gets stuck in the directory it is called from, not in pictures. There doesn't seem to be any specific docs on this, so I am at a loss. Any pointers would be greatly appreciated. --Aaron
Aaron Williamson writes:
I have a LocalFS object within a directory, and in the same directory I have a method which I want to use (among other things) to create new folders within the LocalFS object, which is called "pictures." If I try pictures.manage_addFolder(id) the folder gets stuck in the directory it is called from, not in pictures. There doesn't seem to be any specific docs on this, so I am at a loss. Any pointers would be greatly appreciated.
Folder creation isn't really supported in LocalFS at the moment. Very low level support is there (module function _save_Folder) but it's not intended to be called externally and there doesn't seem to be any path to call it. There is certainly not a local definition of manage_addFolder in LocalDirectory. This is on my list of stuff to do for our site, but I don't know if it's on Jonothan's list for the real product.
"Dan L. Pierson" wrote:
Folder creation isn't really supported in LocalFS at the moment. Very low level support is there (module function _save_Folder) but it's not intended to be called externally and there doesn't seem to be any path to call it. There is certainly not a local definition of manage_addFolder in LocalDirectory. This is on my list of stuff to do for our site, but I don't know if it's on Jonothan's list for the real product.
I asked about this ages ago and I think Jonothan posted some relevent patch code to either zope or zope-dev. Check the archvies at http://zope.nipltd.com/public/lists.html cheers, Chris
Folder creation isn't really supported in LocalFS at the moment. Very low level support is there (module function _save_Folder) but it's not intended to be called externally and there doesn't seem to be any path to call it. There is certainly not a local definition of manage_addFolder in LocalDirectory. This is on my list of stuff to do for our site, but I don't know if it's on Jonothan's list for the real product.
It is. It's hard. I'm going to need some help with this one, I'm afraid. --jfarr
participants (4)
-
Aaron Williamson -
Chris Withers -
Dan L. Pierson -
Jonothan Farr