[Zope3-Users] Importing Lots of Objects

2006-01-08 Thread David Johnson
a relational database the answer is easy)? I have answers to these questions, but I would be curious to hear how others have dealt with issue. -- David Johnson [EMAIL PROTECTED] 201 Main Street Suite 1320 Fort Worth, TX 76102 (877) 572-8324 x2200

RE: [Zope3-Users] Importing Lots of Objects

2006-01-08 Thread David Johnson
the varied needs of the merchants, I would like to let them into the ZMI, and see their products as instances under their site. -Original Message- From: Andreas Jung [mailto:[EMAIL PROTECTED] Sent: Sunday, January 08, 2006 12:02 PM To: David Johnson; 'Andreas Jung'; zope3-users@zope.org

RE: [Zope3-Users] Zope 3 vs Zope 2

2006-01-09 Thread David Johnson
What kind of application are you working on? We're working on a variety of applications, mostly large scale. We are planning to re-write our online-banking application, produce a banking system, build a specialized banking and shopping network for large retailers, and potentially create an

[Zope3-Users] MySQL

2006-01-11 Thread David Johnson
-instance): ImportError: No module named MySQLdb What am I missing? -- David Johnson [EMAIL PROTECTED] 201 Main Street Suite 1320 Fort Worth, TX 76102 (877) 572-8324 x2200 ___ Zope3-users mailing list Zope3-users@zope.org http

[Zope3-Users] More MySQL

2006-01-12 Thread David Johnson
: Couldn't import add_connection, No module named add_connection) -- David Johnson [EMAIL PROTECTED] 201 Main Street Suite 1320 Fort Worth, TX 76102 (877) 572-8324 x2200 ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org

[Zope3-Users] Radius Server

2006-01-12 Thread David Johnson
Does anyone use Zope as an authentication server? Specifically for Radius clients? Are there products out there for this? I see Radius client packages. -- David Johnson [EMAIL PROTECTED] 201 Main Street Suite 1320 Fort Worth, TX 76102 (877) 572-8324 x2200

[Zope3-Users] Mail

2006-01-12 Thread David Johnson
(senderrs) SMTPRecipientsRefused: {'djohnson': (501, 'djohnson: recipient address must contain a domain')} -- David Johnson [EMAIL PROTECTED] 201 Main Street Suite 1320 Fort Worth, TX 76102 (877) 572-8324 x2200 ___ Zope3-users mailing

RE: [Zope3-Users] sqlos

2006-01-14 Thread David Johnson
I'm using the latest version from: http://codespeak.net/svn/z3/sqlos/trunk/ Which seems to be from 2004. Is there another trunk somewhere else? -Original Message- From: Brian Sutherland [mailto:[EMAIL PROTECTED] Sent: Saturday, January 14, 2006 1:44 AM To: David Johnson Cc: zope3

[Zope3-Users] Zope 3 Ready for Production? Really?

2006-01-14 Thread David Johnson
with an RDBMS? -- David Johnson [EMAIL PROTECTED] 201 Main Street Suite 1320 Fort Worth, TX 76102 (877) 572-8324 x2200 ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

RE: [Zope3-Users] Zope 3 Ready for Production? Really?

2006-01-14 Thread David Johnson
agree. My next step is to figure out how to contribute. -Original Message- From: Lennart Regebro [mailto:[EMAIL PROTECTED] Sent: Saturday, January 14, 2006 10:58 AM To: David Johnson Cc: zope3-users@zope.org Subject: Re: [Zope3-Users] Zope 3 Ready for Production? Really? On 1/14/06

RE: [Zope3-Users] Zope 3 Ready for Production? Really?

2006-01-14 Thread David Johnson
My apologies in advance if I causing frustration. On Saturday 14 January 2006 11:51, David Johnson wrote: The documentation is not well defined, which makes deployment dangerous because one may produce an application that does not conform to future releases of Zope. I have absolutely

[Zope3-Users] URL Traversal/SelectedManagementView

2006-01-16 Thread David Johnson
. -- David Johnson [EMAIL PROTECTED] 201 Main Street Suite 1320 Fort Worth, TX 76102 (877) 572-8324 x2200 ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

[Zope3-Users] Zope 3 Capacities

2006-01-19 Thread David Johnson
Users: 10-100 million objects Contacts: 100,000 objects Customers: 100-1000 objects -- David Johnson [EMAIL PROTECTED] 201 Main Street Suite 1320 Fort Worth, TX 76102 (877) 572-8324 x2200 ___ Zope3-users mailing list Zope3-users

RE: [Zope3-Users] Re: Is Zope Zope2 or Zope3?

2006-01-21 Thread David Johnson
This is unfortunate. I do think Zope 3 will get the recognition it deserves in time. I feel the Zope community is more focused on how it works than how it is marketed and this seems like the best long term approach. People will shy away from it as it is not well known (like Linux in the early

RE: [Zope3-Users] Re: Zope 3 Capacities

2006-01-22 Thread David Johnson
I think we will probably proceed on trying to make a MySQL adapter that can replace GadFly -- hopefully possible and not TOO much work. I think that and a better SQL container (maybe sqlos) would solve our issues, as well as be a great benefit to Zope. -Original Message- From: [EMAIL

[Zope3-Users] How To Solve in Zope 3

2006-02-03 Thread David Johnson
on different networks. Should networks be the container? Should hosts? Some other solution? What would you do? -- David Johnson [EMAIL PROTECTED] 201 Main Street Suite 1320 Fort Worth, TX 76102 (877) 572-8324 x2200 ___ Zope3-users mailing list

[Zope3-Users] Simple Acquisition

2006-02-04 Thread David Johnson
of MyFolder instead of the index.html. http://localhost/MyFolder/index.html What is the proper way to acquire index.html in other contexts? -- David Johnson [EMAIL PROTECTED] 201 Main Street Suite 1320 Fort Worth, TX 76102 (877) 572-8324 x2200

RE: [Zope3-Users] How To Solve in Zope 3

2006-02-04 Thread David Johnson
The network do ont contain the hosts, they conect them, and the hosts do not contain the networks, so neither, a far as I can see. You need separate networks and hosts lists, where the hosts can be connected to one or more networks. That is exactly it. I wonder how to connect them in the ZMI.

RE: [Zope3-Users] Simple Acquisition

2006-02-04 Thread David Johnson
Repeat after me: Zope 3 is not a replacement for Zope 2. Yes, I think that's my problem. I will be patient and contribute as much as I can; overall it's definitely worth it. ___ Zope3-users mailing list Zope3-users@zope.org

RE: [Zope3-Users] Granting Roles - What am I missing?

2006-02-19 Thread David Johnson
zope/app/rdb/configure.zcml says: content class=zope.app.rdb.ZopeConnection require permission=zope.ManageContent interface=zope.app.rdb.interfaces.IZopeConnection / /content which includes the cursor method/attribute - perhaps you need a similar

[Zope3-Users] browser:form

2006-02-20 Thread David Johnson
=''): self.context = context self.request = request self.base_url = base_url def setData(self): Bland setData implementation. --- -- David Johnson [EMAIL PROTECTED] 201 Main Street Suite 1320 Fort Worth, TX 76102 (877) 572-8324 x2200

RE: [Zope3-Users] SQL integration

2006-02-21 Thread David Johnson
I've been able to do some basic things, depending upon what you're looking for. I'm still exploring the best methods. So far I've found I have to do everything on the file system. I'm still playing but I'm close mastering the basic database operations. -Original Message- From:

RE: [Zope3-Users] browser:form

2006-02-21 Thread David Johnson
Thanks. I will look into formlib. My goals is to be able to provide forms that allow editing of SQL based database entries. I am exploring SQL and Zope integration, and I liked the simplicity of the browser:form concept. Here is what I am generally trying to do. Imagine a database of contacts.

RE: [Zope3-Users] browser:form

2006-02-21 Thread David Johnson
After looking into formlib, this really looks great! Thanks for the help. When I use it I see references to the action field. Are you familiar with this? There is some documentation in FormBase as you suggested, but does my errors refer to action.submitted which I'm having trouble finding.

RE: [Zope3-Users] browser:form

2006-02-21 Thread David Johnson
Never mind - I found it in zope.formlib.interfaces.IAction. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Johnson Sent: Tuesday, February 21, 2006 8:56 PM To: 'Jeff Shell' Cc: zope3-users@zope.org Subject: RE: [Zope3-Users] browser:form

RE: [Zope3-Users] SQL integration

2006-02-22 Thread David Johnson
Here is the kind of thing I've been doing -- keep in mind, I'm still new at this. I'm not using connection caching as I let the database handle that - I find it smarter and more powerful than Zope in this area (and just simpler). I have found the ISQLScript implementation to be a good example;

[Zope3-Users] formlib - preloading data

2006-03-13 Thread David Johnson
like: Form_fields[firstname] = uDavid (which doesnt work) ?? -- David Johnson ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

[Zope3-Users] ILoginPassword Adapter

2006-03-26 Thread David Johnson
(request) File /home/djohnson/Zope-3.2.0/build/lib.linux-i686-2.4/zope/app/security/principalregistry.py, line 42, in authenticate p = self.__principalsByLogin.get(login, None) TypeError: list objects are unhashable -- David Johnson ___ Zope3

[Zope3-Users] ILoginPassword anyone?

2006-03-28 Thread David Johnson
it is outdated. -- David Johnson [EMAIL PROTECTED] 201 Main Street Suite 1320 Fort Worth, TX 76102 (877) 572-8324 x2200 ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

[Zope3-Users] ILoginPassword and Unauthorized Exception

2006-04-01 Thread David Johnson
they are not authorized for, they allowed to. When and how is the unauthorized exception raised? Why does adapting ILoginPassword seem to disable that? -- David Johnson [EMAIL PROTECTED] ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org

[Zope3-Users] TAL and Decimals

2006-04-04 Thread David Johnson
)) Ive also tried the simple: $div tal:replace=item/price / Which displays: $security proxied decimal.Decimal instance at 0x41d76694 Any ideas? -- David Johnson ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org

[Zope3-Users] MySQL Connection Closed Errors

2006-04-07 Thread David Johnson
database on a machine with very little load, so connection issues should not be a regular problem. -- David Johnson ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

[Zope3-Users] Job

2006-04-20 Thread David Johnson
location globally. I saw a Zope Job board, but have not received a response and our job listing has not been posted. -- David Johnson ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

[Zope3-Users] formlib validator

2006-04-23 Thread David Johnson
') errs.append(err) return errs -- David Johnson ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

RE: [Zope3-Users] debian installation

2006-04-24 Thread David Johnson
I've installed on Debian many times and I don't remember these troubles with Sarge. I used Debian Python2.4. I suspect some python troubles here, but I'm not python expert. I do the install using: 1. cd Zope-3.2.0 2. ./configure --with-python /usr/bin/python2.4 3. make -Original

RE: [Zope3-Users] debian installation

2006-04-26 Thread David Johnson
I figured it out. An admin installed a different version and overrode Debian. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Johnson Sent: Wednesday, April 26, 2006 10:21 AM To: 'Stéphane Brault'; 'user-list zope' Subject: RE: [Zope3-Users

[Zope3-Users] Oracle Adapter

2006-04-26 Thread David Johnson
Ive not seen any posts or information on this recently. Does anyone if there is an Oracle database adapter available? -- David Johnson ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

RE: [Zope3-Users] SQL Database Bug?

2006-05-10 Thread David Johnson
I figured this one out. Auto commit on the database is not on. Im assuming the Zope or Python mysql driver or a database driver somewhere has set the default of auto commit to off. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Johnson Sent: Tuesday, May

RE: [Zope3-Users] Skinning in Zope 3.3

2006-05-11 Thread David Johnson
Both of the Zope 3 developer's books explain this quite well. I think Phillip's has the shortest example. Skins are one of the few Zope 3 concepts I was able to implement quickly. All sources will assume that you understand TAL, and METAL. You can download the source from either book either

RE: [Zope3-Users] Add and Edit form

2006-05-12 Thread David Johnson
The addform directive should do as you desire. You mentioned you wanted to jump the an edit form directly upon adding instead of going to the contents view. This is what addform was designed to do. If my understanding is correct, can you send along the zcml snippets?

RE: [Zope3-Users] Composing content objects

2006-05-15 Thread David Johnson
The problem appears to lie here: File C:\develop\ZopeWorkspace\ZopeProducts\src\proCoders\interfaces.py, line 23, in IWorkspace value_type=Object(title=uObject,description=uadsf), Hard to tell what's going on without the code, but poke around there.

Re: [Zope3-Users] How to distribute distinct components among multiple Zope servers?

2006-05-17 Thread David Johnson
The other solutions presented thus far sound great. Obviously the devil is in the details, but in our situation, we have found using an SQL storage engine to be most useful. It does no do RPC per se, but we have found we can wakeup the other side to do something using a simple http call or

[Zope3-Users] Calling PageTemplate in Content object

2006-05-24 Thread David Johnson
I'm trying to call a page template in a content object, but nothing seems to happen. No exceptions, no output, and no errors. I figure I'm missing something. Anyone have ideas? ... from zope.pagetemplate.pagetemplatefile import PageTemplateFile class OrderView: def city(self): return

RE: [Zope3-Users] Calling PageTemplate in Content object

2006-05-24 Thread David Johnson
I still wonder why calling PageTemplate does not always render output or not give errors. That's the strangest part. At least with errors the problem would be diagnosible. I will try the options/ format to see if I have any success. ___ Zope3-users

[Zope3-Users] How to make content object return a view?

2006-05-25 Thread David Johnson
deprecated, and I don't quite understand the best approach. -- David Johnson ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] Calling PageTemplate in Content object

2006-05-25 Thread David Johnson
I was able to duplicate the example from zope.pagetemplate.readme.txt. However I still have 2 problems: 1. I receive no debugging or exception output when there are problems 2. I cannot figure out how to call context or viewlet objects. Obviously Zope/Python is ignoring exceptions for me in

Re: [Zope3-Users] Re: How to make content object return a view?

2006-05-26 Thread David Johnson
Thanks! You are right. After a re-read of your book last night, I think my problem is that I have not understood or dealt with adapters as of yet. It seems that is the proper solution to expressing content in the way I intended and seems to solve all my problems in this area. -- David

Re: [Zope3-Users] Namespace/Viewlets

2006-05-27 Thread David Johnson
Ah ha! You've discovered it. I was not inheriting from BrowserView. Thanks! On Sat, 2006-05-27 at 19:36 +0300, Marius Gedminas wrote: On Fri, May 26, 2006 at 10:54:46PM -0500, David Johnson wrote: I have a viewlet named cart, which can be displayed with the following TAL code and rendered

Re: [Zope3-Users] Calling PageTemplate in Content object

2006-05-27 Thread David Johnson
I have discovered the issue on this one, it seems that calling a method retrieved via getattr supresses output and exceptions. On Thu, 2006-05-25 at 12:37 -0500, David Johnson wrote: I was able to duplicate the example from zope.pagetemplate.readme.txt. However I still have 2 problems: 1. I

[Zope3-Users] Utilities

2006-06-05 Thread David Johnson
What is the best to find the nearest utility without using a name? zapi.getUtility() seems to require a name (though the documentation implies otherwise). zapi.getAllRegisiteredUtilitiesFor() works but it seems to me if you have lots of utilities in other contexts, it would query those as well,

Re: [Zope3-Users] Utilities

2006-06-05 Thread David Johnson
getUtility does not require a name. I've tried getUtility() without a name it never returns an interface and returns component lookup error. I've tried in many different instances, and I've ended up reverting as a work around to getAllRegisteredUtilitiesFor(), which works just fine. Once I

Re: [Zope3-Users] Utilities

2006-06-05 Thread David Johnson
Thanks! That's it exactly! I was misunderstanding the concept of a utility with the name ''. On Mon, 2006-06-05 at 17:34 +0300, Albertas Agejevas wrote: On Mon, Jun 05, 2006 at 09:22:13AM -0500, David Johnson wrote: getUtility does not require a name. I've tried getUtility

Re: [Zope3-Users] Time Zones/Internationalization

2006-06-05 Thread David Johnson
according to a large database of global timezones. This will help you present the view of time you wish to your application's users. Refer to the documentation in the package to give you an idea of what is possible. Regards, David David Johnson wrote: How do you deal with time zones

[Zope3-Users] Performance

2006-08-27 Thread David Johnson
performance? I know there are no simple answers, but I know little about Zope 3 performance and troubleshooting. -- David Johnson [EMAIL PROTECTED] 201 Main Street Suite 1320 Fort Worth, TX 76102 (877) 572-8324 x2200 ___ Zope3-users

[Zope3-Users] UnicodeDecodeError

2006-10-02 Thread David Johnson
/a -- David Johnson ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

[Zope3-Users] Custom Content Container

2006-11-28 Thread David Johnson
? Thanks so kindly in advance. -- David Johnson ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

RE: [Zope3-Users] Custom Content Container

2006-11-28 Thread David Johnson
Yes indeed. I'm only using 1 Text and 3 TextLine fields. This is my first attempt at this so I'm trying to keep it fairly simple. -Original Message- From: Tom Gross [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 28, 2006 2:05 PM To: David Johnson Cc: zope3-users@zope.org

RE: [Zope3-Users] Custom Content Container

2006-11-28 Thread David Johnson
] On Behalf Of David Johnson Sent: Tuesday, November 28, 2006 2:21 PM To: 'Tom Gross' Cc: zope3-users@zope.org Subject: RE: [Zope3-Users] Custom Content Container Yes indeed. I'm only using 1 Text and 3 TextLine fields. This is my first attempt at this so I'm trying to keep it fairly simple

[Zope3-Users] Zope 3 Theory: Addform and Objects

2006-11-29 Thread David Johnson
in advance. -- David Johnson ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] sqlos 0.3.0 broken with zope 3.2.1?

2006-11-30 Thread David Johnson
ZAlchemy is supposed to be very good. It is based on the Python SQLAlchemy package. Personally I've found it to be a bit complex and have not invested much time in it, and have instead found it fairly easy to build my own packages and containers; but I'm a do it yourselfer. It obviously depends

[Zope3-Users] Clipboard

2006-12-08 Thread David Johnson
I created a custom content container. However, when I copy(or cut) something to the clipboard, the Paste button does not show up. What am I missing? The content objects seem to be functional in all regards and are stored in a MySQL database, and are inherited from only the Contained

Re: [Zope3-Users] Registered utility is never found

2006-12-11 Thread David Johnson
Hi, is there any reason why a registered utility which is persistently stored inside the site manager is never found via zapi.getUtility(IMyInterface) ? It's been my experience this is caused by registering with a name rather than leaving the registration blank. (This confused me for the

Re: [Zope3-Users] Registered utility is never found

2006-12-12 Thread David Johnson
Try: -- utils = zapi.getAllUtilitiesRegisteredFor(IYourInterface) for util in utils: print util -- You can list all the returned utilities. See if your utility is returned, and see what name it is registered under. If not, try with a known interface. Can you provide the results here?

[Zope3-Users] ComponentLookupError

2006-12-13 Thread David Johnson
I'm very confused by the following error. Whenever I add certain content components I get the following error when add form is generated (I'm using standard addform). ComponentLookupError: ((decimalwidget.widget.Decimal object at 0x4203972c, zope.publisher.browser.BrowserRequest instance

[Zope3-Users] mapply error

2007-01-04 Thread David Johnson
I have a content type that gives the following exception whenever I try to click on it. Not sure why. Any ideas? File /usr/share/zope3/lib/python/zope/publisher/publish.py, line 56, in unwrapMethod raise TypeError(mapply() can not call %s % `object`) TypeError: mapply() can not call

Re: [Zope3-Users] mapply error

2007-01-04 Thread David Johnson
Okay. It appears the problem is that the object is part of a content container, and this container has a __getitem__ method which was not returning the item. It is working. Thanks. On Jan 4, 2007, at 6:32 PM, David Johnson wrote: I have a content type that gives the following exception

Re: [Zope3-Users] Name chooser and Renaming

2007-01-10 Thread David Johnson
, but I edited out the Object Name field. I have the desired effect. All seems to work very well. On Jan 8, 2007, at 6:24 PM, David Johnson wrote: Is it possible to have both a NameChooser and an ObjectRenamer. If so...how? It seems that zope.app.container.browser contents.py has

Re: [Zope3-Users] Re: selling zope to a CTO

2007-01-12 Thread David Johnson
I think the sell is going to be hard if the CTO wants to conform to a world dominated by J2EE and .NEt projects. One chooses Zope 3 because they are more concerned about productivity, quality, and scalability. There are trend followers and trend setters and I believe Zope is going to be

Re: [Zope3-Users] Can't rename objects

2007-01-16 Thread David Johnson
See my post about 2 weeks ago. If you Adapter to IContainerNameChooser rename will not be allowed. Do not adapt to IContainerNameChosoer. On Jan 16, 2007, at 10:37 PM, Florian Lindner wrote: Am Dienstag, 16. Januar 2007 22:15 schrieb Christian Theune: Do you have a specific exception with

Re: [Zope3-Users] Can't rename objects

2007-01-18 Thread David Johnson
But I want to choose names for certain kind of objects. It works when I'm not implementing IContainerNamesContainer. As before see my previous post, but I'll paste it here: 1. Since I have a custom container that is derived from IContainer, it is already configured as a

[Zope3-Users] Checkout

2007-01-19 Thread David Johnson
Has anyone implemented a check out procedure? Any thoughts? It is a bit different than standard Zope components because it often has steps, goes forward and back, and numerous other reasons. -- David ___ Zope3-users mailing list

Re: [Zope3-Users] Checkout

2007-01-19 Thread David Johnson
on the container that guides the user through the steps. On Jan 19, 2007, at 4:28 PM, Christian Theune wrote: Hi, Am Freitag, den 19.01.2007, 16:20 +0100 schrieb David Johnson: Yes. Excuse my lack of explanation. When developing an eCommerce site, a customer will in the end need to check

Re: [Zope3-Users] Re: Checkout

2007-01-22 Thread David Johnson
the acquisition available in Zope 2. It would be easier to do. I may reconsider the use of SQL based upon your comments and instead use sessions. It is a lot of extra coding to read and write from a SQL database. On Jan 20, 2007, at 10:59 AM, Philipp von Weitershausen wrote: David Johnson wrote

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

2007-01-23 Thread David Johnson
I would love this as well. I've written authentication stuff in Zope 3 (both Philips and Stephans books are outdated here), but I've never worked with PAM and python. I would be glad to provide my half to anyone good with Python. Seems it should be pretty simple if you know PAM (which I

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

2007-01-26 Thread David Johnson
I do lots of database stuff, like what you're describing. I got lost in the threads here, but my general advice is the following: 1. Do not mix content with views, this destroys the scalability aspects of Zope and will hurt you later. When ever you find Zope frustrating it often because

[Zope3-Users] User Registration

2007-01-26 Thread David Johnson
Does anyone have or know of an out of the box User sign-up, registration, and login product? This is a frequently requirement of course for publicly available web sites, such as a message board. -- David ___ Zope3-users mailing list

Re: [Zope3-Users] Containers Contains

2007-01-28 Thread David Johnson
This I know, so that is exactly my question. What is the preferred approach in Zope? The contains and containers, or the more explicit methods? On Jan 26, 2007, at 11:04 PM, Douglas Douglas wrote: I think the errors are for the contained objects (the ones with 'containers' instructions

Re: [Zope3-Users] Pluggable authentication, a newbie's question

2007-01-29 Thread David Johnson
I'll try. Your authenticator is registered as a Plugin in a PAU in your current site? I'm not sure the cause without more details, but when I see this happen I've usually neglected one of the following: 1. The credentials plugin is not selected and added. 2. The authenticator plugin is not

Re: [Zope3-Users] Pluggable authentication, a newbie's question

2007-01-29 Thread David Johnson
On Jan 29, 2007, at 5:30 PM, Alexei Ustyuzhaninov wrote: David Johnson пишет: What do you mean by Your authenticator is registered as a Plugin in a PAU in your current site? I registered the authenticator as a utility and assigned the utility name to the authenticatorPlugins attribute

[Zope3-Users] Wierd Error

2007-01-29 Thread David Johnson
I am receiving this error and I am not sure why. return self._dump(meta, obj.__getstate__()) File /Users/djohnson/sandbox/Zope-3.3.0/build/lib.macosx-10.3- fat-2.4/ZODB/serialize.py, line 416, in _dump self._p.dump(state) File /Library/Frameworks/Python.framework/Versions/2.4/lib/

[Zope3-Users] Catalogs Broken?

2007-01-31 Thread David Johnson
I am trying to figure out what a catalog does, so I began testing. 1. In ZMI add Catalog (no problem) 2. In Catalog add Field or Text index (doesn't matter) 3. Select interface (I'm using a simple Note content type I created note.INote) 4. Put in body as the attribute 5. Callable is not

Re: [Zope3-Users] PT, i18n and dynamic attributes...how to?

2007-02-01 Thread David Johnson
Are you new to Zope? If I understand correctly, yes it is possible and Zope does an excellent job with this. Both Zope books are particularly good in explaining this. Have you referred to either? On Feb 1, 2007, at 5:51 PM, Sascha Ottolski wrote: Hi, I'm wondering if there is a proper

Re: [Zope3-Users] Still a skinning problem

2007-02-04 Thread David Johnson
I will wager to help...since frequently my posts go unanswered also. I've implemented a few skins with great success. However, if you wait long enough you could a real response from someone like Stephen instead of myself. is registered on the default layer. Since the xgm layer derives

[Zope3-Users] Job Opening

2007-02-10 Thread David Johnson
As before, I am posting here because I do not know where else to post. We continue to grow and are searching again for another Zope 3 engineer. We would love to talk with anyone who might be interested. We love Zope and plan on being a big part of its continued success in the

[Zope3-Users] Standard Macros

2007-02-10 Thread David Johnson
Is there a way to use standard_macros in a ZPT Page added via the ZMI? In a page registered via ZCML the following METAL is okay, however in a ZPT Page I receive an error regarding a key error for views. html metal:use-macro=views/standard_macros/page /html Any ideas? Warm regards,

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):

Re: [Zope3-Users] Error when calling addform

2007-02-13 Thread David Johnson
here, I would like to learn. :) On Feb 13, 2007, at 12:04 PM, 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

[Zope3-Users] Menus

2007-02-19 Thread David Johnson
I am curious what methods people use to implements simple web site menus? It seems to be this must be a common task. So far I've done this as follows: 1. Create a skin 2. Create a content type Menu as Ordered Container 3. Create a content type MenuItem as contained by Menu 4. Add a Menu and

Re: [Zope3-Users] Book?

2007-02-19 Thread David Johnson
Both books are good in their own. On Feb 19, 2007, at 12:56 AM, Robert Hicks wrote: Is Web Component Development with Zope 3 the best resource to get up to speed on using Zope3? I will be spending a little time getting up to speed on Python itself (with Chun's book) as well. Robert

[Zope3-Users] Events

2007-02-22 Thread David Johnson
Does anyone know the process by which objects are notified by events? I created a custom container that stores objects in MySQL. However, I noticed that when I add a container that an ObjectAddedEvent is then propogated to every single object in my container, generating nearly 2000

[Zope3-Users] Re: Events

2007-02-22 Thread David Johnson
You're probably talking about dispatchToSublocations. This is the code that looks up a containers sublocations and dispatches the event to them. One way to prevent this behaviour for your container is to write a new ISublocations adapter for your container that simply returns an empty

Re: [Zope3-Users] Cannot view the instances after I refresh the product in ZMI

2007-02-27 Thread David Johnson
Paste the code here. :) On Feb 27, 2007, at 6:16 AM, Alex Cheng wrote: Hello, I have modified my product code and click refresh in ZMI to update the product. Unfortunately when I view its instance in zope. The error message is follows: Error Type: TypeError Error Value: 'NoneType'

[Zope3-Users] Dict Widget

2007-02-27 Thread David Johnson
I've seen posts about this but I am confused. Is there a Dict widget? I tried it and I received IInputWidget errors. myfield = Dict(title=u'My Dictionary', key_type=TextLine(), value_type=TextLine()) File

[Zope3-Users] Crash

2007-03-12 Thread David Johnson
Our Zope 3.2.1 server is crashing and we cannot determine why. The last entry in the access.log is the following: 218.160.132.172 - - [10/Mar/2007:22:11:45 -0500] CONNECT sextw.com.tw:25 HTTP/1.0 404 0 - - There is no other information to indicate why as far as we can tell. No exceptions,

[Zope3-Users] Contract Work

2007-08-06 Thread David Johnson
Hello. I am heading the engineering for JSA Technologies in the United States. We are building an application in Zope 3 that will link colleges and universities around the world on a financial network. We are looking for Zope 3 contractors to help us complete the project. The project

[Zope3-Users] Michael Bernstein

2008-03-03 Thread David Johnson
Has anyone heard from Michael Bernstein? He was a frequent contributor to Zope in many ways and I've not heard or seen a peep from him since early December. -- David Johnson ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org

[Zope3-Users] NotFound Exceptions

2008-09-17 Thread David Johnson
. We're using Zope 3.3.1. The errors occur in all applications within this one particular instance on one particular server. I've included a traceback here: http://jsa.pastey.net/96278 -- David Johnson [EMAIL PROTECTED] http://www.jsatech.com I would have written a shorter, kinder, clearer