[Zope3-Users] How do I get the schema/field list from an instance?

2007-02-13 Thread Vinny
Hi, Zope 3.3.0 I hope everyone is well today. If I have a container how do I find out what types of objects it contains and then from that, how do I find out the schema of the contained object? Eg. I have a SQLAlchemyContainer with a SQLAlchemyContainerView. The container contains the mapped

Re: [Zope3-Users] Error when calling addform

2007-02-13 Thread David Johnson
I thought zope.formlib was more complex. As I understand you must create custom browser classes, and page templates. Then you must register those with a page or view ZCML browser directive, each of which is more complicated than the addform. My point is that if there is something new her

[Zope3-Users] Re: 'exceptions.TypeError: can't pickle Checker objects' in zope.scheduler task in transaction.commit()

2007-02-13 Thread Alek Kowalczyk
Adam Groszer <[EMAIL PROTECTED]> writes: > > Hello Alek, > > 'can't pickle Checker objects' happened to me, when I tried to write a > security proxied object to the ZODB. > > Monday, February 12, 2007, 4:49:01 PM, you wrote: Hi, The problem disappeared when I removed permission declaration fro

Re: [Zope3-Users] Error when calling addform

2007-02-13 Thread Benji York
Stephan Richter wrote: On Monday 12 February 2007 15:56, David Johnson wrote: Many people have offered approaches. I find the simplest and cleanest approach for declaring interfaces is as follows: The cleanest way, in my opinion, is just not to use the addform directive altogether. zope.for

[Zope3-Users] Zope 3 Boot Camp early bird registration deadline near

2007-02-13 Thread Chris Calloway
The early bird registration deadline for Camp 5 and the BBQ Sprint is Wednesday, February 14: http://trizpug.org/boot-camp/camp5/ You can save $50 by registering early. Registration ends Friday March 2. -- Sincerely, Chris Calloway http://www.seacoos.org office: 332 Chapman Hall phone: (919)

Re: [Zope3-Users] 'exceptions.TypeError: can't pickle Checker objects' in zope.scheduler task in transaction.commit()

2007-02-13 Thread Adam Groszer
Hello Alek, 'can't pickle Checker objects' happened to me, when I tried to write a security proxied object to the ZODB. Monday, February 12, 2007, 4:49:01 PM, you wrote: AK> Hello, AK> I finally managed to access local components from zope.scheduler, but I felt to AK> another, even worse troub

Re: [Zope3-Users] Re: Applying permissions to users from LDAP

2007-02-13 Thread Stephan Richter
On Tuesday 13 February 2007 04:51, David Johnson wrote: > I'm trying to understand this situation also since we face it   > frequently.  The PAU has a Group Folder which works well in this   > regard.  Would the idea of extending Groups in the PAU to include any   > person in the ldap directory be

Re: [Zope3-Users] Error when calling addform

2007-02-13 Thread Stephan Richter
On Monday 12 February 2007 15:56, David Johnson wrote: > Many people have offered approaches.  I find the simplest and   > cleanest approach for declaring interfaces is as follows: The cleanest way, in my opinion, is just not to use the addform directive altogether. zope.formlib is the wildly acc

Re: [Zope3-Users] How can I bind zope3 with svn?

2007-02-13 Thread Stephan Richter
On Monday 12 February 2007 21:28, Alex Cheng wrote: > I am programming on zope2.9, and it is a bit large project which contains This is the wrong mailing list. Try [EMAIL PROTECTED] Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Sof

Re: [Zope3-Users] Re: Applying permissions to users from LDAP

2007-02-13 Thread Philipp von Weitershausen
On 13 Feb 2007, at 10:51 , David Johnson wrote: I'm trying to understand this situation also since we face it frequently. The PAU has a Group Folder which works well in this regard. Would the idea of extending Groups in the PAU to include any person in the ldap directory be useful? It see

Re: [Zope3-Users] Re: Applying permissions to users from LDAP

2007-02-13 Thread David Johnson
I'm trying to understand this situation also since we face it frequently. The PAU has a Group Folder which works well in this regard. Would the idea of extending Groups in the PAU to include any person in the ldap directory be useful? It seems this would be easier and more flexible.

[Zope3-Users] How can I bind zope3 with svn?

2007-02-13 Thread Alex Cheng
Hi all, I am programming on zope2.9, and it is a bit large project which contains many zope objects, such as, External Method, Python Script, and DTML Document. I wish I can manage my zope source as a group of files, rather than a group of objects in Zope. Actually I need create new objects manua

Re: [Zope3-Users] Error when calling addform

2007-02-13 Thread David Johnson
Many people have offered approaches. I find the simplest and cleanest approach for declaring interfaces is as follows: class IContactList(IContainer): contains('.IContact') class IContact(Interface): ...schema fields... class IContactContained(IContained): containers(IConta

[Zope3-Users] 'exceptions.TypeError: can't pickle Checker objects' in zope.scheduler task in transaction.commit()

2007-02-13 Thread Alek Kowalczyk
Hello, I finally managed to access local components from zope.scheduler, but I felt to another, even worse trouble. In the zope.scheduler task I create and/or update some local objects, but then I fall into the following exception: 'exceptions.TypeError: can't pickle Checker objects' in zope.sche

Re: [Zope3-Users] Re: Applying permissions to users from LDAP

2007-02-13 Thread Alec Munro
Thanks Philipp! I suspect your first suggested solution will probably be the one that makes sense for us, but I will have to do a little experimentation to be sure. It's very useful that you are able to actually pick out the interfaces and interface methods that are of concern to me. This reminds