[Zope-dev] Re: Fixed reply Re: [Zope-dev] Trouble setting LoginManager default user class default user class

Phillip J. Eby pje@telecommunity.com
Thu, 18 May 2000 16:36:15 -0500


At 04:04 PM 5/18/00 -0400, Dan L. Pierson wrote:
>
>The portal now gets created, but I can't login to the initial account.
>I also can't display the members roster by clicking on Members
>(AttributeError for getUsers), but can write a DTML method in the
>UserSource that lists all one user.  The code in DemoPortalBase that
>trys to display the roster follows, I suspect it's this bug again, but
>don't know where to put the __of__:

Actually, the problem is probably that, as a DTML method, it expects to be
passed its containing object as the first parameter.  You might try using a
PythonMethod, DTML Document, or an ExternalMethod instead.