Re: [Zope3-Users] Access to request in content object and object path in doctests

2007-01-24 Thread Maciej Wisniowski
> Yes. You're not supposed to do that. Views work with requests, not > content objects. > > If you told us what you want to achieve, we could help you find a way to > do it that works with Zope 3 rather than against it. > I'am creating form (CRUD) based on formlib, but this is supposed to wor

RE: [Zope3-Users] css question

2007-01-24 Thread Roger Ineichen
Hi Ivan > Subject: [Zope3-Users] css question > > Dear All, > > i would like to use a tabbed display on my view. there are > different background gifs for the selected tab and for the > not selected tabs. > the positioning and changing/displaying tab contents is > working, but the background

Re: [Zope3-Users] Access to request in content object and object path in doctests

2007-01-24 Thread Marius Gedminas
On Wed, Jan 24, 2007 at 11:50:21PM +0100, Maciej Wisniowski wrote: > Is this possible to get > request object in content class. In Zope2 this > was possible with simple self.REQUEST. In Zope3 > I tried self.request but I only get errors. > Maybe this is a feature, and I'm not supposed > to access r

[Zope3-Users] Access to request in content object and object path in doctests

2007-01-24 Thread Maciej Wisniowski
Hi Two questions... Is this possible to get request object in content class. In Zope2 this was possible with simple self.REQUEST. In Zope3 I tried self.request but I only get errors. Maybe this is a feature, and I'm not supposed to access request object from content class? Another question. I'm

Re: [Zope3-Users] view vs page confused

2007-01-24 Thread Marius Gedminas
On Wed, Jan 24, 2007 at 08:31:52PM +0100, Dominique Lederer wrote: > can someone explain me please when to use browser:view and when browser:page? As far as I understand, the intended use of is to define views that are accessible to browsers by using URLs. The intended use of is to define helpe

Re: [Zope3-Users] Problems with custom EditForm

2007-01-24 Thread Marius Gedminas
Hello, On Mon, Jan 22, 2007 at 05:03:43PM +0100, Alex Furlong wrote: > i have some problems with creating a custom edit form. Here is my complete > test code: > > from zope.formlib import form > from zope.publisher.browser import TestRequest > > class MyEdit(form.EditForm): > > def __init_

[Zope3-Users] Re: css question

2007-01-24 Thread Balazs Ree
On Wed, 24 Jan 2007 14:12:50 +0100, Ivan Horvath wrote: > i would like to use a tabbed display on my view. there are different > background gifs for the selected tab and for the not selected tabs. > the positioning and changing/displaying tab contents is working, but the > background display gif

[Zope3-Users] view vs page confused

2007-01-24 Thread Dominique Lederer
hi! can someone explain me please when to use browser:view and when browser:page? and when would i inherit a View Class from zope.publisher.BrowserView and when from zope.publisher.BrowserPage, and why do i need them when i could just inherit from object without any errors? and what means the

[Zope3-Users] Re: Zope 3 PAM or /etc/passwd authentication?

2007-01-24 Thread Philipp von Weitershausen
David Johnson wrote: I would love this as well. I've written authentication stuff in Zope 3 (both Philips and Stephans books are outdated here), Not true. The second edition of my book devotes a whole chapter to the PAU and shows how to implement a simple credentials plugin as well as an aut

Re: [Zope3-Users] Zope 3 PAM or /etc/passwd authentication?

2007-01-24 Thread FB
Hi, On Tue, Jan 23, 2007 at 03:28:09PM -0400, Alec Munro wrote: > Hi List, > > I'm wondering if anyone knows of a way to integrate Zope with > /etc/passwd? PAM was suggested, but I don't know too much about that. > I suppose I could probably write my own, but I would prefer to avoid > that if pos

Re: [Zope3-Users] Using formlib schema.Choice with zc.table FieldColumn

2007-01-24 Thread Gary Poster
On Jan 24, 2007, at 2:02 AM, <[EMAIL PROTECTED]> wrote: Does anyone know if there is a trick in getting Choice schema's to work with zc.table FieldColumn or am I likely doing something wrong? We've used a Choice field, I'm pretty sure. Maybe...try modifying the doctest to add use of a choi

[Zope3-Users] css question

2007-01-24 Thread Ivan Horvath
Dear All, i would like to use a tabbed display on my view. there are different background gifs for the selected tab and for the not selected tabs. the positioning and changing/displaying tab contents is working, but the background display gifs are not loaded. please give me a hint how i have t

Re: [Zope3-Users] interview for my diploma thesis about Zope 3 in education

2007-01-24 Thread Dominique Lederer
David Johnson schrieb: >> * Do you think Zope (3) can be used at school or university level to >> support topics in computer science education? What topics would you >> recommend? Why? > I definitely think Zope 3 can be used to support education. We plan on > developing a number of applications in

Re: [Zope3-Users] Using formlib schema.Choice with zc.table FieldColumn

2007-01-24 Thread David Johnson
I didn't know there was something called zc.table. What are you trying to accomplish? On Jan 24, 2007, at 8:02 AM, <[EMAIL PROTECTED]> [EMAIL PROTECTED]> wrote: Does anyone know if there is a trick in getting Choice schema's to work with zc.table FieldColumn or am I likely doing something w