[Zope] Renaming all the zsql method's title in a given folder

Andreas Jung lists at zopyx.com
Thu Dec 28 13:38:50 EST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



- --On 28. Dezember 2006 18:33:27 +0000 siva k <mannis2000 at hotmail.com>
wrote:

>
> Hi Andreas,
>
> Thank you very mch for your help, your method works very well.
> However, it fails to rename the zsql methods. The objective here is
> to get rid of the transparent folder, but there are many sql methods
> inside several transparent folders. The idea here is to give the path of
> transparent
> folders as the the title to the zsql method , place them in the root, and
> then
> move them to subfolders. I try another python script to rename only the
> zsql methods.
> Its not working even when i hardcode foldername ad title in the
> pythonscript and call it in
> a dtml method.
>
>

I am not trying to understand and I won't comment on the sense of your 
approach but you can rename objects using manage_renameObjects()...google
for details.

- -aj
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (Darwin)

iD8DBQFFlA87CJIWIbr9KYwRAnL1AJ99KdI1P1QbHKt0eKoXtEgZznVaRwCg3rhS
glBYwVze+OtjoMl18yiXGn0=
=zSe8
-----END PGP SIGNATURE-----



More information about the Zope mailing list