Re: [Zope3-Users] Re: NTLM credential plugin

2006-09-14 Thread Chris Withers
Gary Poster wrote: http://www.innovation.ch/personal/ronald/ntlm.html), the problem is that the 4 way handshake has to happen *within a single connection*. Apparently MS abuses HTTP to perform this. Hmmm, I'm not sure this is true. One project I work on has 10,000+ users a day

Re: [Zope3-Users] Re: NTLM credential plugin

2006-09-14 Thread Chris Withers
Chris McDonough wrote: The right thing to do here is probably to just use something like http://modntlm.sourceforge.net/ and trust the REMOTE_USER environment variable passed by Apache... let somebody else worry about maintaining it. ;-) 'cept it don't work ;-) (well, not in the

Re: [Zope3-Users] Alternatives to macros

2006-09-14 Thread Stephan Richter
On Wednesday 13 September 2006 16:58, [EMAIL PROTECTED] wrote: I'm investigating alternatives to macros, the following appears to work, but does anyone see anything particularly wrong or limiting with this implementation? For the simpler case, this implementation looks good. What Juergen does

Re: [Zope3-Users] viewlets for specific interfaces

2006-09-14 Thread Stephan Richter
On Wednesday 13 September 2006 14:59, Luis De la Parra wrote: !-- ###        for=*  shows hello for any object      for=zope.app.file.interfaces.IFile          does not work for any object, IFiles          included. why ???        ## -- This

[Zope3-Users] Multiple actions per button in formlib forms?

2006-09-14 Thread Stefan Fink
Hi list, how is it possible to add multiple actions per button to formlib forms? Actually I'm trying to create a button which: - applies all changes made in the form - takes the user back to the container view class GeneralEditForm(formlib.form.EditForm): ... # this does not work

Re: [Zope3-Users] Multiple actions per button in formlib forms?

2006-09-14 Thread Martijn Pieters
On 9/14/06, Stefan Fink [EMAIL PROTECTED] wrote: how is it possible to add multiple actions per button to formlib forms? Actually I'm trying to create a button which: - applies all changes made in the form - takes the user back to the container view Just call the second action method from

Re: [Zope3-Users] Multiple actions per button in formlib forms?

2006-09-14 Thread Martijn Pieters
On 9/14/06, Stefan Fink [EMAIL PROTECTED] wrote: That's what I'm trying to do. The problem is, that when calling self.handle_edit_action(action, data), which is part of formlib, the following error is raised: Error object: 'Action' object is not callable First of all, you need to provide

[Zope3-Users] Re: viewlets for specific interfaces

2006-09-14 Thread Luis De la Parra
hello, yes. I guess that would do the trick, but I'd be moving configuration into the code, which I think belongs in the zcml... (which sometimes can be a good thing, but I think this particular configuration fits better in the zcml) what is the pourpose of the for option in the zcml directive

[Zope3-Users] SqlAlchemy

2006-09-14 Thread catonano
Hello zopers, well this email is going to be quite long, I'm sorry I have many things to say I saw the Zope 3 book, particulary the mapping (adapting) between the persistent objects defined there (a messageboard and a message objects) and some ftp files (and folders). Now, I'd like to do

[Zope3-Users] Re: viewlets for specific interfaces

2006-09-14 Thread Luis De la Parra
hello, wow. thanks for the offer... maybe I'm doing something wrong somewhere else then. I'm attaching a minimal package which (does not) work(s) for me: as a first step I add a zope.app.file.File called file.txt to my site root, then I visit these two links, and both show Hello

[Zope3-Users] Re: Multiple actions per button in formlib forms?

2006-09-14 Thread Martin Aspeli
Stefan Fink wrote: Error object: 'Action' object is not callable I wonder if this has to do with the @form.action... decorator on handle_edit_acion? Try to take it off and/or replicate the code of the edit action itself. Martin ___ Zope3-users

Re: [Zope3-Users] Re: Multiple actions per button in formlib forms?

2006-09-14 Thread Martijn Pieters
On 9/14/06, Martin Aspeli [EMAIL PROTECTED] wrote: Stefan Fink wrote: Error object: 'Action' object is not callable I wonder if this has to do with the @form.action... decorator on handle_edit_acion? Try to take it off and/or replicate the code of the edit action itself. No, all the

[Zope3-Users] Problem with containers

2006-09-14 Thread Rob Campbell
Hello, I just recently started trying out Zope 3. My first test project is a few containers that can contain other containers or an object. They are laid out as follows: FosterRecord - FosterSource - Foster - FosterGroup - Foster A FosterRecord is the top level container and

[Zope3-Users] Re: SqlAlchemy

2006-09-14 Thread Jürgen Kartnaller
Hi catonano. As the developer of the z3c.zalchemy package let me give you a short introduction to zalchemy : Zope3 contains a transaction mechanism which allows to plug in as many transaction managers as you like. The main purpose of the zalchemy package was to integrate SQLAlchemy into