- Original Message -
From: FB [EMAIL PROTECTED]
To: zope3-users@zope.org
Sent: Wednesday, September 20, 2006 9:49 AM
Subject: [Zope3-Users] Adding another special traversal component type
Hi,
I'd like to make URLs like
http://servername/~username
possible on my Zope3 server which
Hello zope3-users,
I am trying to do make easy user registrations for my website. but I am
having problems assigning roles to the principals automatically.
the question is WHEN should I assign these roles to the new principals?
which is the standard procedure?
right now I am doing :
1. User
Howdy,
I'm using Z3 from svn, W2K.
- run mkzopeinstance
- run instance\bin\runzope
It fails with;
IOError: [Errno 2] No such file or directory:
'C:\\Python24\\Lib\\site-packages\\zope3\\src\\zope\\app\\mail\\meta.zcml'
..\instance\etc\package-includes seems to
contain a number of *-meta.zcml
As I understand a principal is created and destroyed with each request.
This would make your application set the permission at each request which
might not be exactly what you had in mind. I use a group folder from pau
and set the group with a subscriber when the site object is created.
def
Hi Darryl,
That is how I had the IFosterRecord interface before, and I got a lot
more errors than just __setitem__. I am only getting the __setitem__
error now, after changing it to something like:
class IFosterRecord(Interface):
contains('.IFosterSource')
title = TextLine(...)
and
Rob Campbell wrote:
Hi Darryl,
That is how I had the IFosterRecord interface before, and I got a lot
more errors than just __setitem__. I am only getting the __setitem__
error now, after changing it to something like:
class IFosterRecord(Interface):
contains('.IFosterSource')
title =
Ok, that's what I thought. How can I fix the problem? I think I can
create an IFosterSourceContainer interface and have the constraint
there. Then I would have to implement that interface for FosterRecord.
Would that work? Also, is there any other/better way to do it?
--
Rob Campbell
Rob Campbell wrote:
Ok, that's what I thought. How can I fix the problem?
What problem?
(Yeah, I know, I could read your original post now but I think you'll be
able to figure it out by youself now. You'll just have to work with the
fact that contains() adds a __setitem__ declaration to
Kent Tenney wrote:
Howdy,
I'm using Z3 from svn, W2K.
Which branch? Which revision? This info is useless like that.
- run mkzopeinstance
- run instance\bin\runzope
It fails with;
IOError: [Errno 2] No such file or directory:
How about below changes?
in httptask.py
def prepareResponseHeaders(self): version = self.version # Figure out whether the connection should be closed. connection = self.request_data.headers.get('CONNECTION', '').lower()
close_it = 0 response_headers = self.response_headers
if version ==
10 matches
Mail list logo