Difference between manage_addProperty on a DTMLDocument and on a Folder ? Folder ?
I have the following problem : When I execute this code : <dtml-call "REQUEST.set('compteur_login', _.str(compteur) )"> <dtml-call "manage_addFolder(id=compteur_login)"> <dtml-call "_[compteur_login].manage_addProperty('type', 'FC', 'string')"> The Folder is created with the property 'type' But when I execute this code : <dtml-call "REQUEST.set('compteur_login', _.str(compteur) )"> <dtml-call "manage_addDTMLDocument(id=compteur_login)"> <dtml-call "_[compteur_login].manage_addProperty('type', 'FC', 'string')"> I have the following error : Error Type: AttributeError Error Value: 'string' object has no attribute 'manage_addProperty' It seems that manage_addProperty doesn't behave the same way on a Folder and a DTMLDocument . Any solution to make it work ? Thanks a lot. Michael
participants (1)
-
Benillouche, Michael