[CPS-devel] Perhaps a newbie question on python scripts

damien.metzler at ext.leroymerlin.fr damien.metzler at ext.leroymerlin.fr
Wed May 3 12:25:51 CEST 2006


I try to retrieve the information about a document in a python script. I'd
like to get the same informations i can have with :
 
global info python:proxy.getContentInfo(proxy, doc=doc, level=3);
 
in a python script.
 
 
I tried to use
 
info = context.proxy.getContentInfo(proxy,doc=context,level=3)
 
but it throws me an attribute error on proxy....
 
My python script is called by a zpt like this :
python:here.getJSTree(sourceTree=stree)
 
 
Any help appreciated :-)
 
Damien


This message has been scanned for viruses by BlackSpider MailControl - www.blackspider.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nuxeo.com/pipermail/cps-devel/attachments/20060503/3aba8546/attachment.html


More information about the cps-devel mailing list
More information about CPS: CPS project - CVS - API

Hosting: Nuxeo: Zope service provider


This list archive provided by Nuxeo, the leaders of open source ECM. Check out the Nuxeo 5 open source, standards-based ECM project.