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 Py
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 fo
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 for the request than this... any
> offerings?
>
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 for the request tha
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 3's zope.conf would al
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
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 doesn
--- 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)
>
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
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
I'm using 3.3.0b1
trying to set up ldapadapter, ldappas & ldapauth from SVN, I see that
ldapadapter uses deprecated ZCML and module locations
While changing with , how am I supposed to replace
this nameOnly parameter? Patch the source?
Maybe it could be mentioned in
http://kpug.zwiki.org/
Philipp von Weitershausen wrote:
>
> That already sounds like bad design. Why would the local utility worry
> about URLs at all?
>
It probably is :-)
The utility is responsible for generating a PDF snapshot of a view - as
seen by the invoking user at the point when the utility is invoked. To
d
Rupert Redington wrote:
> The utility is responsible for generating a PDF snapshot of a view - as
> seen by the invoking user at the point when the utility is invoked. To
> do this I open an HTMLDOC subprocess which needs a url to go to, and
> which needs to know which user to pretend to be so that
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'] = Padre('Lety'
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 wo
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
Zope3-users@zope.
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
21 matches
Mail list logo