[Zope3-Users] Principally annotating InternalPrincipals at creation time

2007-08-11 Thread John Maddison
Hi all, I'm using a PrincipalFolder to store users who have signed up to a site, and during signup I'd like to ask them for some more information (email address, etc) and store it in a principal annotation. However, PrincipalFolders use IInternalPrincipals, which do not appear to be easily

Re: [Zope3-Users] Application instantiation without ZMI

2007-06-23 Thread John Maddison
On 6/23/07, Stephan Richter [EMAIL PROTECTED] wrote: Yeah, people at ZC prefer using generations. Others (including me), on the other hand, have developed z3c.configurator and z3c.sampledata, which can setup entire applications for you. I can sort of see how to use generations, but

[Zope3-Users] Application instantiation without ZMI

2007-06-18 Thread John Maddison
Hi all, I've just started playing around with using z3c.layer to create applications that don't use the ZMI at all. Everything is pretty simple so far, except for one fairly important step: creating my initial application object in the ZODB. What methods do people use to create their

[Zope3-Users] App server tracebacks for functional tests

2006-10-25 Thread John Maddison
Hi all, Firstly, I have written some tests for an application, and with both ./bin/test -u and ./bin/test -f, they pass successfully. However, ./bin/test fails in the functional tests (on a form submit) with a rather uninformative HTTP Error 500: Internal Server Error. Performing

Re: [Zope3-Users] Autocreated content objects

2006-09-26 Thread John Maddison
On 9/25/06, Stephan Richter [EMAIL PROTECTED] wrote: On Monday 25 September 2006 03:21, John Maddison wrote: Is it possible/wise to auto-create content objects in the ZODB? Say I'm creating a blog application and have a container type(BlogContainer) and want an instance called blog

Re: [Zope3-Users] Autocreated content objects

2006-09-26 Thread John Maddison
Oops, forgot to CC the list. On 9/27/06, John Maddison [EMAIL PROTECTED] wrote: On 9/26/06, Fred Drake [EMAIL PROTECTED] wrote: On 9/26/06, John Maddison [EMAIL PROTECTED] wrote: Right, that's basically what I want to run, but I can't seem to figure out how to have that run at ZODB