zope
Using Zope object unique id ( _p_oid ) to access object itself
Every Zope object has it\'s own unique id ( _p_oid ). To convert it into integer value: from Shared.DC.xml.ppml import u64 as decodeObjectId[详细]
2022-12-25 14:29 分类:问答What is the best way to convert a zope DateTime object into Python datetime object?
I need to convert a zope 2 Date开发者_JAVA技巧Time object into a Python datetime object. What is the best way to do that? Thanks, ErikaNewer DateTime implementations (2.11 and up) have a asdatetime me[详细]
2022-12-25 12:20 分类:问答Purpose of Zope Interfaces?
I have started using Zope interfaces in my code, and as of now, they are really only documentation. I use them to specify what attributes the class should possess, explicitly implement them in the app[详细]
2022-12-24 00:52 分类:问答Using ZPT in Google App Engine
Has anyone tried usingZPT in Google App Engine? If yes, please let me know how. Thanks in advance. EDIT:[详细]
2022-12-18 09:28 分类:问答How should I port a Plone product from collective.lead to z3c.saconfig?
I have a Plone product that uses collective.lead to configure SQLAlchemy, including an in-Plone database configuration interface as documented in Professional Plone Development. How s开发者_Python百科[详细]
2022-12-18 05:40 分类:问答Use getControl to control objects other than the name variable
I am using the Zope testbrowser which has been recommended in my last question. The problem that I am facing is that I can use the getControl function to control different objects like: password, user[详细]
2022-12-18 04:37 分类:问答Install Plone egg as a Python module on Windows
I have a Plone site (Plone version 3.1.2) that I need to install a product called GrufSpaces on - (http://plone.org/products/grufspaces). However, it is a production site and so I can\'t easily take i[详细]
2022-12-15 17:26 分类:问答converting a zcml based python script to a standalone script in zope/plone
I have a python class working in zope 3 zcml kind of way, but i want to move the python into a standalone script that a could access via something along the lines of tal:content=\'context/get_tags\'.[详细]
2022-12-14 19:37 分类:问答How can I tell if a field has changed value in an AT object in plone?
I have an AT content type in Plone. It has a number of fields, including a file field. When the user e开发者_JAVA技巧dits an object of this type, how can I tell if a new file was uploaded?[详细]
2022-12-14 18:58 分类:问答Backing up (and restoring) a Plone instance
I have a Plone installation in my home directory under Linux. ~/Plone. This was made from a default distribution of Plone from its website. So Plone compile开发者_如何学JAVAd own python and is bundele[详细]
2022-12-13 18:57 分类:问答