Re: [Zope] avoiding 'AttributeError'

2005-03-30 Thread Dieter Maurer
Malthe Borch wrote at 2005-3-27 01:15 +0100: >I can't seem to find an elegant solution to checking if an object has a certain >attribute. The following fails (i.e. zope dies), if the attribute does not >exist: > > tal:replace="obj/someAttribute" /> This should not fail and, especially, Zope shou

Re: [Zope] login page problem

2005-03-30 Thread Dieter Maurer
prabuddha ray wrote at 2005-3-29 01:57 -0800: >I'm creatin a customised login page template using districtname, user >name and password. >i got halt in d logic for password checking. >after submitting d login form how do i call d same page if the passwd >is wrong along with d req params passed? do

Re: [Zope] Mac OS X and zope (continued)

2005-03-30 Thread Pavel Zaitsev
Oops looks like i have made mistake to use select instead of thread command... post more log stuff later. pavel ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - htt

RE: [Zope] avoiding 'AttributeError'

2005-03-30 Thread Malthe Borch
' -Original Message- ' From: Dieter Maurer [mailto:[EMAIL PROTECTED] ' ' ' This should not fail and, especially, Zope should not die. ' ' If Zope really dies, then there is a *severe* problem elsewhere ' (not with your ZPT code). It does fail, however zope doesn't 'die', it merely fail

Re: [Zope] role, user defined roles, and inclusion

2005-03-30 Thread Dieter Maurer
Chris Withers wrote at 2005-3-30 08:31 +0100: >Dennis Allison wrote: >> Are the standard roles (anonymous, authorized_user, manager) inclusive? Yes. These special roles are "inclusive" (as their name might suggest). > ... >A user will have the Anonymous role iff they have not supplied any >aut

Re: [Zope] User changing their own password via External Method with Cookie Crumbler

2005-03-30 Thread Dave Cinege
On Wednesday 30 March 2005 12:00, [EMAIL PROTECTED] wrote: > Dave Cinege wrote: > > Does anyone have a working example code snippet? > > Have a look at the CMF source code, find the bit that allows users to > change their own passwords... Thanks. I was hoping it wouldn't come to that... From what

[Zope] Ecommerce solutions

2005-03-30 Thread Ian Nunn
Has anyone used Zopewith a shopping cart such as AgoraCart to create an online store?   Best RegardsIan Nunn ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - h

Re: [Zope] role, user defined roles, and inclusion

2005-03-30 Thread robert
Dieter, thanks for your clarifications. Is my assumption that granting a permission to Anonymous means granting it to anybody correct? Robert Dieter Maurer wrote: Chris Withers wrote at 2005-3-30 08:31 +0100: Dennis Allison wrote: Are the standard roles (anonymous, authorized_user, manage

[Zope] WebDAV BUGS and access to /tmp directory

2005-03-30 Thread Pavel Zaitsev
Hi, I am back trying to figure out why my zope crashes on open('/tmp/tmp4fd4foo') kind of opens, which seem to originated from webdav code. Question to someone who is expert in webdav/*.py code... I just would like to know so I can further my investigation into the bug/malfuction of zope on OS X

[Zope] Re: login page problem

2005-03-30 Thread prabuddha ray
thnx dieter n chris, i cudnt make my point clear. 1st a recap : i've a zpt login page wherein i have got the district name n coressponding users drop down list built. now after selecting d district n username d passwd is to b filled. then d form is to b submitted. It has to

RE: [Zope] Re: login page problem

2005-03-30 Thread Somhorst JJT
You could try to look at the tutorial on devshed.com. They created a login system using text files. Its not exactly as you want but it gives you an idea about how to handle things :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of prabuddha ray Sent: donde