hi there
Is there a good example out there of setting up security based on
some sort of ownership system?
I'm working my way though the Zope book. What I would like to be
able to do is allow the User who created a message to edit only
their messages (the messages they created). I think
hi there
I am new to Zope. I have been spending the last several days reading
everything I can find on Zope. So far a lot of the larger examples
I've seen use zope.app.container.btree.BTreeContainer any time it is
necessary to hold a bunch of other objects. Yet when I looked at the
superclasses?
iv yes, then you need
def __init__(self,context,request):
...
as constructor, you can test it by just removing the class
attribute of your page directive
On 27.04.2006, at 21:08, Jachin Rupe wrote:
hi there
I've got an error I've been stuck on for several hours now and I
know
hi there
I have another zope theory question. I am working on designing a
application in zope. I've been looking at a lot of examples and I am
wondering how people are implementing different types of
relationships between different persistent objects.
For instance I am going to be
hi there
Alright... I'm working on implementing IPerson in the class Person
and I'm not sure exactly what has to happen. I kinda have two ideas
but I suspect I need to some how combine them but I don't know how to
do that. A big part of the problem is that I do not know what
hi there
here's a smaller, hopefully more clearer example of a problem I have
been stuck on. I should probably also lead off by saying that I
think what I am asking is basically this question.
http://www.mail-archive.com/zope3-users@zope.org/msg00052.html
However I have read
= u
city = u
state = u
zipcode = u
On May 11, 2006, at 2:02 PM, Egon Frerich wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Jachin,
Jachin Rupe schrieb am 11.05.2006 19:12:
interfaces.py
from zope.interface import Interface
hi there
thanks for the help... but I have a new problem. Now the addForm
show up but if I try to actually add a person I get the following error:
2006-05-15T17:19:42 ERROR SiteError http://localhost:8080/+/
AddPerson.html%3D
Traceback (most recent call last):
File
On May 16, 2006, at 3:20 AM, Achim Domma wrote:
mats.nordgren wrote:
def __init__(self, schema, **kw): you need to pass a
schema as a non
key-word
Thanks! That solved my problem. Now I get a component lookup error,
but I think this is, because there is no default widget for
hi there
I keep running into problems with my Address Book example. This one
should be simple but I can't find the problem. I may have spent too
much time looking at it. I get this error after I add an entry and
then try to edit it:
--
2006-05-16T17:09:39 ERROR SiteError
hi there
I am having trouble getting form's generated for zope.schema.Object.
After doing some more reading it looks like I should be using formlib
instead of zope.app.form.browser.add.AddView and
zope.app.form.browser.editview.EditView
(my new code will be at the bottom)
Which is fine
[snip]
I still haven't gotten it working yet though. I'm going to keep
trying to figure out what
the problem is, I think I see what your basic strategy is.
However there are a few error I found in your example you may be
interested in fixing:
in your interfaces.py file you probably
On May 22, 2006, at 2:19 AM, Frank Burkhardt wrote:
[snip]
Yes, I'm using Zope-SVN but the ObjectWidget-Code was written for
ZopeX3.
I can't see the Dispatcher-Widget. Are you sure, you implemented
and registered it
as described in Part Vorarbeit(Preparation) of the Howto?
Ah... I was
On May 22, 2006, at 2:40 PM, Achim Domma wrote:
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,
On May 23, 2006, at 5:33 AM, Frank Burkhardt wrote:
[snip]
content class=.entry.StreetAddress
allow interface=.interfaces.IABookEntry /
/content
[snip]
I bet '.interfaces.IABookEntry' doesn't cover the 'street'
attribut. You should better use
hi there
I would like to put in another request for this.
I also put in some requests for stuff like this at:
http://zope-cookbook.org
They got back to me and said they would put my requests on their todo
list. If you haven't seen the site yet, they haven't got a whole lot
of the recipes
16 matches
Mail list logo