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

2000-05-18 Thread Dan L. Pierson

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.

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )




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

2000-05-18 Thread Phillip J. Eby

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.


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )