[Zope-dev] LoginManager and ZPatterns
I've been fiddling a bit with the LoginManager; but can't seem to make it work. The product versions are ZPatterns 0.3.0 and LoginManager 0.8.6. (Downgraded the ZPatterns product because the LoginManager couldn't find a class named .. SheetProviderContainer, I think). When adding a LoginManager object, it raises a TypeError exception, on line 313 in PlugIns.py, saying that a keyword parameter was redefined. I've also been looking around for some useful documentation and searched the mailing-lists.. Anyone had success with these two products, and would care to share a howto? Thanks in advance. -Morten ___ 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 )
[Zope-dev] LoginManager and ZPatterns
Hi fellow zopers, I don't know if it's a bug or feature, but whenever I try to access parental objects from a user object in python code, I can't seem to find anything. That is, whenever I call acl_users.getItem('user123').getParentNode() (the acl_users is a LoginManager instance) it returns None. But, if it's called from DTML, with exactly the same expression, it returns the containing object... Could someone shed some light on this? Thank you. -Morten ___ 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] LoginManager and ZPatterns
At 05:11 PM 10/15/00 +0200, Morten W. Petersen wrote: >I've been fiddling a bit with the LoginManager; but can't seem to make >it work. > >The product versions are ZPatterns 0.3.0 and LoginManager 0.8.6. > >(Downgraded the ZPatterns product because the LoginManager couldn't >find a class named .. SheetProviderContainer, I think). 0.8.6 won't work with 0.3.0 ZPatterns, IIRC. I'm pretty positive it requires one of the 0.4.x releases, but I'm not positive which one. You might be better off with the latest (current) releases of both. If that still doesn't work for you, Ty is very close to releasing an 0.8.8 LM, and I'm about as close to releasing 0.4.3 ZPatterns. Both will be beta-quality releases, which is to say better than anything we've put out on either product so far. :) 0.4.3 ZPatterns will even have some documentation in it. :) I expect that we will make our releases some time during this coming week. ___ 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] LoginManager and ZPatterns
[Phillip J. Eby] | 0.8.6 won't work with 0.3.0 ZPatterns, IIRC. I'm pretty positive it | requires one of the 0.4.x releases, but I'm not positive which one. You | might be better off with the latest (current) releases of both. Okay, I tried different ZPattern versions against the most recent LoginManager (0.8.7a1) and 0.4.2a2 worked! | If that still doesn't work for you, Ty is very close to releasing an 0.8.8 | LM, and I'm about as close to releasing 0.4.3 ZPatterns. Both will be | beta-quality releases, which is to say better than anything we've put out | on either product so far. :) 0.4.3 ZPatterns will even have some | documentation in it. :) I expect that we will make our releases some time | during this coming week. I'm looking forward to it. Especially some documentation. =) Thanks. -Morten ___ 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 )