[Zope3-Users] passing constructor args to BooleanRadioWidget in formlib

2007-05-27 Thread roymathew
Hi all.. I'd like to use a BooleanRadioWidget in my formlib; I can say: IMyForm['foo'].custom_widget = BooleanRadioWidget but don't see how I can override the default true/false constructor args (currently they ar

[Zope3-Users] zopeproject (debugging an app)

2007-09-25 Thread roymathew
In the doc. for zopeproject, it says: Note: Even exceptions such as Unauthorized (which normally leads to a login screen) or NotFound (which normally leads to an HTTP 404 response) will trigger the debugger. Is there a workaround, so that I can run "bin/paster server debug.ini" on an appli

[Zope3-Users] ftesting.zcml in zopeproject

2007-09-25 Thread roymathew
Couple of questions: When I use zopeproject to create a project, the project name and the package name are the same... ie: $HOME/py24/MYPROJ/src/MYPROJ/... Can I override this to get a package name that is different than the project name? Also, when I run bin/test, I get: bin/test Runn

[Zope3-Users] zopeproject - multiple z3 instances

2007-10-01 Thread roymathew
Hi, I have 2 projects that use essentially the same libraries/eggs. There are slight differences, in that I'd like for one of them to be my "test" platform to try out newer eggs etc. while the other remains stable. So initially, I'd like to create 2 identical instances, and for the most part share

[Zope3-Users] zopeproject - site.zcml

2007-10-01 Thread roymathew
Is there a recommended pattern in zopeproject for including zcml files. I can see hacking/modifying site.zcml - is this the recommended way? Is it simply best to follow the older site.zcml pattern from the mkzopeinstance days? Thanks. ___ Zope3-users ma

[Zope3-Users] zopeproject/paster - specifying access logs?

2007-10-27 Thread roymathew
Hi folks, I really miss the old style access logs :). From a posting by Phillip, this appears to be how to get access logs to stdout; how would I specify that it go to a file as well? [filter-app:main] use = egg:Paste#translogger next=myapp [app:myapp] use = egg:myapp [server:ma