Questions tagged [zope]

Zope is an open source application server written in the Python programming language. It features a transactional object database (ZODB) which can store not only content and custom data, but also dynamic HTML templates, scripts, a search engine, and relational database (RDBMS) connections and code. It features a strong through-the-web development model, allowing you to update your web site from anywhere made possible by a tightly integrated security model.

It features a transactional object database () which can store not only content and custom data, but also dynamic HTML templates, scripts, a search engine, and relational database (RDBMS) connections and code.

It features a strong through-the-web development model, allowing you to update your web site from anywhere made possible by a tightly integrated security model.

Zope has been around for a long time; it saw it's first release in 1998. It was long regarded as the "killer app" of python, and many ideas and libraries that are now part of the Python core stem from Zope.

736 questions
7
votes
1 answer

Plone memberdata update: PropertiesUpdatedEvent not triggered

I'm trying to perform an action after the update of member properties on @@personal-information, but the event is not being fired. On configure.zcml I've put the following:
jtmolon
  • 415
  • 2
  • 8
7
votes
3 answers

grok vs. django comparison

What are the smashing (pun intended) features of grok that makes it better than django? how do I know when my project needs grok+zope, or it can just be developed with django ?
Stefano Borini
  • 138,652
  • 96
  • 297
  • 431
7
votes
1 answer

Customized Dexterity edit form template in Plone?

I am working on a Plone add-on that requires a re-skinned alternate edit form for Dexterity content. I need to be able to display only part of the edit form in an AJAX overlay (using JQuery UI, not JQuery tools, so it seems more reasonable to do…
sdupton
  • 1,869
  • 10
  • 9
6
votes
1 answer

Plone - text color and background color not working in TinyMCE editor

We are using Plone 4.1.3 and the default TinyMCE wysisyg editor, and have problem with the text color and background color. Text Color and Background Color just do not work. When we are editing the page, Text Color and Background Color work as…
user1017702
  • 295
  • 3
  • 11
6
votes
4 answers

When to use nocall on my tal:condition?

I know that for performance it's good practice to use nocall on a in order to avoid calling an object. Would appreciate (links to) a bit of background as this sounds a little vague to me :-) So when do you use nocall? Can it hurt to…
dimboo
  • 145
  • 7
6
votes
2 answers

What is behind python package namespaces: z3c, zc, collective?

So they all are somehow related to zope. Question is how? I am not familiar with Zope. I guess that zc, z3c stand for Zope Component and Zope3 Component but I want to be sure. Also there is a collective namespace. What kind of packages goes under…
Ski
  • 14,197
  • 3
  • 54
  • 64
6
votes
1 answer

sqlalchemy.exc.ResourceClosedError: This transaction is closed

Facing the following error in a Pyramid Application while using SQLAlchemy and Zope Transaction Manager. This is how I am creating a scoped session: from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.schema import MetaData from…
Pankit Chheda
  • 61
  • 1
  • 2
6
votes
1 answer

Stop a request programmatically

At work we have every now and then requests that that so long to return that by the time they finish, the frontend (nginx) already killed the connection, so the user will not see the output (either if it's good or bad). Worst is that the balancer…
gforcada
  • 2,498
  • 17
  • 26
6
votes
1 answer

How do you programmatically reorder children of an ATFolder subclass?

I have Plone product that uses a custom folder type for containing a set of custom content objects. The folder type was created by subclassing BaseFolder and it has a schema with a couple of text fields. Currently, when custom objects are added to…
Cody Brimhall
  • 1,185
  • 1
  • 9
  • 18
6
votes
3 answers

What is the difference between template in ZCML and ViewPageTemplateFile

When creating a BrowserView in Plone, I know that I may optionally configure a template with ZCML like so:
aclark
  • 4,345
  • 1
  • 19
  • 31
6
votes
2 answers

Zope: cannot access REQUEST under property decorator

I'm trying to use the property decorator in a Class. While it works well per se, I can't use any code that has to access the REQUEST. class SomeClass(): #Zope magic code _properties=({'id':'someValue', 'type':'ustring', 'mode':'r'},) def…
Georg Pfolz
  • 1,416
  • 2
  • 12
  • 12
5
votes
1 answer

ConflictError: database conflict error

Can anybody explain me that error - and how I can repair it? We use: Plone 4 Zope 2.12.19 ZEO zodb-temporary-storage Error Log Site Error An error was encountered while publishing this resource. Sorry, a site error occurred. Traceback…
user966660
  • 634
  • 1
  • 8
  • 20
5
votes
3 answers

Exporting a zope folder with python

We have two zope servers running our company's internal site. One is the live site and one is the dev site. I'm working on writing a python script that moves everything from the dev server to the live server. Right now the process involves a…
Hector Scout
  • 1,388
  • 2
  • 14
  • 31
5
votes
1 answer

Jinja SandboxedEnvironment and Zope2 Restricted Python

Jinja's sandbox and the Zope 2 RestrictedPython seem to solve similar problems. Is there a way to layer them, i.e. use RestrictedPython policies in a Jinja environment? The use case is retrofitting Jinja templates to an existing Zope2-based product,…
Alex Morega
  • 4,132
  • 1
  • 24
  • 25
5
votes
2 answers

how do I get a list of classes that implement an interface? (zope.interface)

The question says everything. Or am I trying to use zope.interface for the wrong purpose? What I need is basically the One Way To Do It for registering classes that implement a certain functionality (Widgets or Portlets for a CMS). Basically like…
Luiz Geron
  • 1,357
  • 15
  • 22
1 2
3
49 50