Daniel Roberson wrote:
I am new at this but I have been unable to get Zope 3 to run correctly
from the internet or from another computer
on my internal network.
I downloaded Python 2.4.0 and installed it.
Note that at least Python 2.4.1 is required. I recommend the latest
revision of Python
Hi John,
When I'm looking for the request object from somewhere like that I use
from zope.security.management import getInteraction
request = getInteraction().participations[0]
Why this works is outlined (IIRC) in zope/app/securitypolicy/zopepolicy.txt.
There may well be better ways to fish
Philipp von Weitershausen wrote:
Marco Mariani wrote:
Rupert Redington wrote:
from zope.security.management import getInteraction
request = getInteraction().participations[0]
Why this works is outlined (IIRC) in zope/app/securitypolicy/zopepolicy.txt.
There may well be better ways to fish
Well, I always like to do things the way the experts
recommend :)
Are there any suggestions for this use case?:
I have a content class, which consists of 2
attributes:
1. a user comment
2. the name of the logged in user
So far, I have been using the browser:addform
directive to add instances,
Hi All,
I can't find anything in Formlib to indicate that there's a well trodden
path to handling fieldsets in formlib.
I'm not really sure what the best way to do this is. Clearly the formlib
form templates that I can see in Zope 3.2 don't contain any code for
handling fieldsets - but that
--- Rupert Redington [EMAIL PROTECTED] wrote:
I realise that I shouldn't use zapi anymore... apart
Good gracious!
No zapi?
How did I miss that? Where do I get my utilities,
parents, roots, adapters from now?
John.
(dazed and confused)
John Smith wrote:
--- Rupert Redington [EMAIL PROTECTED] wrote:
I realise that I shouldn't use zapi anymore... apart
Good gracious!
No zapi?
How did I miss that? Where do I get my utilities,
parents, roots, adapters from now?
John.
(dazed and confused)
I think the
Rupert Redington wrote:
John Smith wrote:
No zapi?
How did I miss that? Where do I get my utilities,
parents, roots, adapters from now?
I think the right answer to that is wherever zapi got them from in the
first place
Well said.
--
Benji York
Senior Software Engineer
Zope Corporation
Hi all
To fix the error I must change the __init__ of the BTreeContainer class to
the follow:
class persistent_test(BTreeContainer):
implements(Ipersistent_test)
def __init__(self):
BTreeContainer.__init__(self)
self['un_padre'] = Padre('Lety','Campanilla')
Any idea
Rupert Redington wrote:
The hack displayed above (going thru the security interaction) should
not be considered a standard procedure for getting at the request in
places where you don't have it. Content objects are dull. They do
nothing. Other stuff does things *to* them. Mats' solution is the
Leticia Larrosa wrote:
Hi all
To fix the error I must change the __init__ of the BTreeContainer class to
the follow:
class persistent_test(BTreeContainer):
implements(Ipersistent_test)
def __init__(self):
BTreeContainer.__init__(self)
self['un_padre'] =
Chris Withers wrote:
Thierry FLORAC wrote:
While using Zope2, I used to split my ZODB into several parts, using
the old DBTab product configuration (which was finally included into
Zope2).
Can I setup this kind of configuration with Zope3 and, if so, how ?
It's all ZODB, I would hope Zope
Philipp von Weitershausen wrote:
Chris Withers wrote:
Thierry FLORAC wrote:
While using Zope2, I used to split my ZODB into several parts, using
the old DBTab product configuration (which was finally included into
Zope2).
Can I setup this kind of configuration with Zope3 and, if so, how ?
Jim Fulton wrote:
Zope 3 doesn't support mounting, but the same functionality
is mostly trivially obtained using the ZODB multi-database APIs.
Well, ok, then mounting support could a nice sprint topic :)
___
Zope3-users mailing list
Philipp von Weitershausen wrote:
Jim Fulton wrote:
Zope 3 doesn't support mounting, but the same functionality
is mostly trivially obtained using the ZODB multi-database APIs.
Well, ok, then mounting support could a nice sprint topic :)
Maybe, I'm not really sure it is necessary.
Now you
15 matches
Mail list logo