Re: [Zope-dev] problem to rename folder

2001-10-24 Thread Steve Alexander

Johan Beauce wrote:

 Hello,
 
 I have a little problem. I use this function to rename an object in my site
 (file or folder).
 It work perfectly with file but I have an error when I try to rename a
 folder 
 I think the error is from PARENT[0], so do you have a solution ???
 
 dtml-let objRename=_.getattr(PARENTS[0], _['idName'])
dtml-call
 objRename.manage_renameObjects([idName],[newId],getWay(REQUEST.PATH_INFO))
 
 /dtml-let
 
 Thanks a lot, 
 Johan.


Johan,

You sent this message to the [EMAIL PROTECTED] list and also to the 
[EMAIL PROTECTED] list. Do not do that. Send your message to one mailing 
list only.

Because your message is about using Zope and DTML rather than developing 
the internals of Zope, your should have sent your message to only the 
[EMAIL PROTECTED] list.

 
This email and any files transmitted with it are CONFIDENTIAL and
 intended solely for the use of the individual or entity to whom they are
 addressed. 
 
Any unauthorised copying, disclosure, or distribution of the material
 within this email is strictly forbidden. 


Do you realize that you just sent this email to a public mailing list, 
with archives available on the world wide web?

--
Steve Alexander
Software Engineer
Cat-Box limited




___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



[Zope-dev] problem to rename folder

2001-10-24 Thread Johan Beauce

Hello,

I have a little problem. I use this function to rename an object in my site
(file or folder).
It work perfectly with file but I have an error when I try to rename a
folder 
I think the error is from PARENT[0], so do you have a solution ???

dtml-let objRename=_.getattr(PARENTS[0], _['idName'])
   dtml-call
objRename.manage_renameObjects([idName],[newId],getWay(REQUEST.PATH_INFO))

/dtml-let

Thanks a lot, 
Johan.




-- 

-- 

 This email and any files transmitted with it are CONFIDENTIAL and
intended solely for the use of the individual or entity to whom they are
addressed. 
 Any unauthorised copying, disclosure, or distribution of the material
within this email is strictly forbidden. 
  Any views or opinions presented within this e-mail are solely those of
the author and do not necessarily represent those of Odyssey Asset
Management Systems SA unless otherwise specifically stated. 
 An electronic message is not binding on its sender.  Any message
referring to a binding engagement must be confirmed in writing and duly
signed. 
If you have received this email in error, please notify the sender
immediately and delete the original.

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )