Hi,
I'm interested in zsync, but cannot find much information via google.
I'm using Zope 3.4b2 and there are docs for zsync but the tool seems
not to be included!? I'm developing a small zope app and I want to
sync my ZPT pages with the filesystem. Or is there another way to
develop ZPT
Hi,
I try to run a script on my zope instance via bin/zopectl run
myScript.py. I get the following error:
Traceback (most recent call last):
File /Users/domma/develop/zope/demo/bin/scriptzope, line 22, in ?
import paths
ImportError: No module named paths
I cannot find a paths.py on my
Hi,
I have a simple view. Here is the entry in configure.zcml:
browser:page
for=.CMS.Page
name=index.html
class=.CMS.PageView
permission=zope.Public
template=index.pt
menu=zmi_views
title=Default View
/
The view works fine so far, but now I
Hi,
I try to debug zope 3 with winpdb, but without success. Was anybody able
to let zope 3 run within winpdb. Winpdb seems to start my z3.py script
but the looses the connection to the process. I see no error messages
and I'm quite new to winpdb.
Any help would be very appreciated!
Hi,
there was a discussion about the bad idea to simulate a relational
database in ZODB using indexes and unique ids. So I wonder what's the
correct way to express a n:m realtionship between objects.
For example: I have projects and articles. An article might be relevant
for multiple
Leonardo Rochael Almeida wrote:
In usual Object Oriented modeling, an n:m relationship is usually
modeled as a collection of relationship objects each one keeping one
direct reference to each side of the relationship. Of course, using
these systems that already try to model relationships helps
Hi,
I'm interested in running Zope 3 via mod_python as WSGI app directly in
apache. I like the idea to configure different instances simply in my
apache config and don't have to setup different running zope instances.
The official docs do not say much about this option, but there is a
WSGI
Hi,
I have a workspace object, which I initialize in the
IObjectCreatedEvent. I try to add a catalog with an index like this:
ensureUtility(workspace,zope.app.intid.interfaces.IIntIds,'',IntIds,asObject=True)
Hi,
I have implemented a view for a catalog index. The page template
contains this little form to add strings to a list of categories:
form action=@@add_category method=post
input type=text name=name
input type=submit
/form
The view class looks like this:
class
Tom Dossis wrote:
You need to specify an addMenuItem directive and associated view in
your package browser zcml to enable you to add your index objects via
the ZMI. Look at zope/app/catalog/browser/configure.zcml as a starting
point, e.g.
Thanks for the hint and sorry for asking such obvious
Hi,
I have a content object I want to set up in a IObjectCreatedEvent event
handler. I want to use the interactive interpreter to play with this,
but it looks like my configure.zcml is not parsed and executed if I use
placefulSetUp.
How do I have to setup my environment to test zcml
Hi,
I want to provide an RSS for a content object which is a site. Seems to
me, like this should be a generic functionality so I wonder if there is
already some product which I did not found!?
regards,
Achim
___
Zope3-users mailing list
Mats Nordgren wrote:
context/articles would return the id's
[...]
The id is a string which has a title method (capitalize each worlds first
letter); this is why your article/title is working.
[...]
You probably should use context/articles/values for the loop.
Thanks, it works now. The
Achim Domma wrote:
class IWorkspace(Interface):
[...]
browser:addform
label=Add proCoders Article
name=AddArticle.html
schema=proCoders.interfaces.IArticle
content_factory=proCoders.Article.Article
permission=zope.ManageContent
fields=title
/
[...]
Thanks
[EMAIL PROTECTED] wrote:
I am creating a kind of Zope proxy to a 3rd party COM object (I'm accessing it using Pywin32 facilities).
I have to store a reference to this object somewhere in my Zope object.
But, for obvious reasons, this COM object cannot be serialized so I cannot put it in any
Hi,
I have the this interface
class IWorkspace(Interface):
title = TextLine(
title=uTitle,
description=uThe title,
default=uproCoders Workspace,
required=True)
projects = Container(title=uProjects, description=uxxx)
articles = Container(title=uArticles,
Hi,
I have written this simple content object:
class IArticle(Interface):
title = TextLine(
title=uTitle,
description=uThe title,
default=u,
required=True)
body = Text(
title=uBody,
description=uArticle Body,
default=u,
Jachin Rupe wrote:
You could try making Acrticle inherit from Persistent.
Ups! That's really a very stupid error. Thanks for your fast answer and
sorry for bothering the list with such trivial problems.
regards,
Achim
___
Zope3-users mailing
Reinhold Strobl wrote:
Consider the followng example: one company has got a Zope application running on
a single server. This applications need the components of e.g. the supplier of
the component running on a different server. So I don't want to mirror both,
because the both companies are more
Hi,
I try to understand how to customize the look feel of my page using
the new skin/layer implementation of version 3.3. I followed the example
on
http://www.zope.org/Wikis/DevSite/Projects/ComponentArchitecture/SimplifySkinning
but still don't understand on how to change the layout of my
Hi,
I want to integrate support for a specialized text indexing engine into
Zope 3. The engine is able to provide documents which are similar to a
reference document.
First I had a look at ICatalog, but IInjection seems to be the way to
go. Could somebody give me a high level overview on
Hi,
I have created a folder main below [top] and converted it into a site.
I added a PAU to the site management folder and a Principal Folder to
the PAU. I registered all utilities.
Then I created a new principal demo1 and after that a new subfolder
below main. I switched to the subfolder
Frank Burkhardt wrote:
Do I understand it right, that I do not grant a permission to a principal on a certain
object instance? I only grant a permission to use a certain interface!?
You can either grant permissions to principals (or groups/roles) globally.
Those permissions
can be used in
23 matches
Mail list logo