[Zope3-Users] configure.zcml entries for using adapters.

2005-11-12 Thread Vijay Nakhawa
I am struggler in learning zope3. Please forgive me if i am wrong. How about using an intermediate view component? in template1.pt div tal:content= view/vgetTotalDistance / In zcml browser:page class=.someModule.RoughView template = template1.pt . / where view class is : from adapters

Re: [Zope3-Users] Executing utility specific code on server startup

2005-11-12 Thread Stephan Richter
On Saturday 22 October 2005 13:01, Chris Lehmann wrote: I have a utility that needs to start several threads when zope starts up.  What is the best way to accomplish this? So far I have tried to use the IDatabaseOpenedWithRoot and IProcessStarting events but when I try and register them with

Re: [Zope3-Users] How is sending a HTTP POST in Zope3 supposed to work ?

2005-11-12 Thread Stephan Richter
On Thursday 27 October 2005 05:44, Michael Haubenwallner wrote: osting to the object itself equals a GET request. Posting to the @@edit.html view of the object results in a    UserError: The character set specified in the content type ($charset) does not match file content. error, even with

Re: [Zope3-Users] at sea with basic setup

2005-11-12 Thread Stephan Richter
On Friday 04 November 2005 22:32, Ross Boylan wrote: I'd like to create some users, set authentication methods, and so on. After a lot of fooling around with the GUI and looking at various docs, I conclude I have no idea what's going on. Tim suggested reading the books and he is right. I'll

Re: [Zope3-Users] sqlos, sites and local utilities

2005-11-12 Thread Stephan Richter
On Tuesday 08 November 2005 05:38, Andreas Elvers wrote: Hi, sorry for asking it here but sqlos mailing list seems dead. Has anyone yet tried sqlos with database connections created as local utilities ? At one point sqlos tries to get the utility in connection.py Line 88. newconn =

Re: [Zope3-Users] configure.zcml entries for using adapters.

2005-11-12 Thread Stephan Richter
On Thursday 10 November 2005 19:55, John Smith wrote: I then created a nice page template which contains this snippet: div tal:content=python:context.getTotalDistance() / where context is the Car object. This is wrong, because Car does not have a function called getTotalDistance. In the

Re: [Zope3-Users] Complex Adapter Requirements - Named Adapters?

2005-11-12 Thread Stephan Richter
On Sunday 30 October 2005 14:16, James Allwyn wrote: One thought I had, was creating an interface IStandard, with attributes like meetsstandard and nameofstandard, and then subclass this, e.g. to IAccreditationScheme and INationalCode (where Accreditation Scheme and National Code are the names

[Zope3-Users] Recommended policy for extension of the built-in skins and macros?

2005-11-12 Thread Alec Munro
Hi All, I've managed to dip my toes rather deeply in Zope3 without ever approaching the skins/layers aspect of it. I'm finally in a position to do that, and most of the examples I find extend the Rotterdam skin, and simply override it's macros. Is this simply for convenience, as there is a lot of

[Zope3-Users] Re: Zope3 design question

2005-11-12 Thread Philipp von Weitershausen
rubberduckee wrote: We've once had the ability of editing schemas TTW, but I'm not sure if this is still the case. At least I don't think it's part of a release tarball of Zope 3. Philipp Thanks, will do that in the future. Do you know why this particular feature was 'dropped'? Well,

[Zope3-Users] Re: apache as zope3's frontend and NTLM

2005-11-12 Thread Philipp von Weitershausen
Simon Hang wrote: Dear all, I'm trying to use apache as zope3's frontend, and do NTLM authentication as well. Well, traditionally it's been part of Zope's responsibility to do credentials extraction and user authentication. That doesn't mean it couldn't be done by the webserver in front of

[Zope3-Users] Re: apache as zope3's frontend and NTLM

2005-11-12 Thread Florent Guillaume
Philipp von Weitershausen wrote: Simon Hang wrote: Dear all, I'm trying to use apache as zope3's frontend, and do NTLM authentication as well. Well, traditionally it's been part of Zope's responsibility to do credentials extraction and user authentication. That doesn't mean it couldn't be

[Zope3-Users] Re: apache as zope3's frontend and NTLM

2005-11-12 Thread Philipp von Weitershausen
Florent Guillaume wrote: Well, Zope 3 doesn't care that Apache has authenticated your user. It doesn't see that. If you want the Zope 3 security system to interact with Apache's, here's a suggestion (not sure if it'll actually work): - Have Apache forward the REMOTE_USER CGI env variable,

Re: [Zope3-Users] Re: apache as zope3's frontend and NTLM

2005-11-12 Thread Philipp von Weitershausen
Simon Hang wrote: Thanks for the help. I feel not comfortable to put the username in URL. User may be able to bypass the authentication and direct access zope with username in URL. True, it's not the nicest solution. But you could make it safer by first stripping the according request