[Zope] problem to rename folder

BeaucÚ Johan johan_beauce@hotmail.com
Wed, 24 Oct 2001 14:43:25 +0200


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.


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp