On 9/20/06, Rob Campbell <[EMAIL PROTECTED]> wrote:
In zcml I have require subdirectives for FosterRecord. They set
permissions for
zope.app.container.interfaces.IReadContainer/IWriteContainer and
IFosterRecord, along with set_schema for IFosterRecord.
I started getting the errors when I added
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
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:
'C:\\Python24\\Lib\\site-packages\\zope3\\src\\zope\\app\\mail\\m
Philipp von Weitershausen wrote:
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() add
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 you
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
Phi
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 =
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 th
Hi all,
I was wondering if there was a way to use a keyword index with
zope.app, what I mean is that if there is a way to use a keyword
index just as a text index, like if i can add a keyword through the
ZMI under the catalog's add menu
Thanks
--
Sreeram Nudurupati
__
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 Sit
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
FB wrote:
Hi,
I'd like to make URLs like
http://servername/~username
possible on my Zope3 server which should instantly redirect a
visitor to one of my site user's home pages.
Like Jonathan suggests, this smells like you want an Apache rewrite rule.
Is this possible? Of course, the answer
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 a
- Original Message -
From: "FB" <[EMAIL PROTECTED]>
To:
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 should instant
On 9/20/06, FB <[EMAIL PROTECTED]> wrote:
Is this possible? Of course, the answer ist yes (by patching
zope.traversing.adapters.traversePathElement) - but is there
a more Zope3ish way to do that?
You could create a new traverser that deals with ~username names, and
register that instead of the
Hi,
I'd like to make URLs like
http://servername/~username
possible on my Zope3 server which should instantly redirect a
visitor to one of my site user's home pages.
Is this possible? Of course, the answer ist yes (by patching
zope.traversing.adapters.traversePathElement) - but is there
a more
Hi all,
Ref: http://kpug.zwiki.org/ZopeGuide
The major changes in last few days:
- Title changed to "Zope Guide" from "Zope 3 Distilled"
- The content split to many pages
- Unit testing chapter started
Please continue editing. If you have contributed, please add your name here:
http://kpu
17 matches
Mail list logo