[Zope-dev] Re: Fixed reply Re: [Zope-dev] Trouble setting
LoginManager default user class default user class
Dan L. Pierson
dan@sol.control.com
Thu, 18 May 2000 17:16:28 -0400 (EDT)
Phillip J. Eby writes:
> 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.
I must not have been clear. The DTML method works. It's the Python
code in the previous message that doesn't.