[Zope-dev] Unauthorized error with this code

2001-09-17 Thread Servizio tecnico NOMOS
In Python: def Funzione1(): class Trecord: NOME = '' result = [] r = Trecord() r.NOME = 10 #First element result.append(r) r.NOME = 20 #Second element result.append(r) return result In Zope I use this function: !--#with "_(qry=Funzione1())"-- !--#in qry-- dtml-var NOMEBR

Re: [Zope-dev] Unauthorized error with this code

2001-09-17 Thread Steve Alexander
Servizio tecnico NOMOS wrote: *This work and diplay correctly: test test.* ** *This problem there is only ZOPE 2.4.0, the precedent version is run OK.* ** *Can you help ME ?* You should read up on the Zope security model. You'll need to make security declarations in that

[Zope-dev] WEBDav error?

2001-09-17 Thread Phil Harris
All, I'm in the process of creating a Python based equivalent for Cadaver. I think there is a minor but very annoying bug in the Zope WebDav server. I don't think the contents of the properties are being quoted. For instance: One object in my ZODB has a title of 'Declare interfaces for

Re: [Zope-dev] WEBDav error?

2001-09-17 Thread Andreas Jung
These problems should be resolved in 2.4.X. Andreas - Original Message - From: Phil Harris To: [EMAIL PROTECTED] Sent: Monday, September 17, 2001 12:04 Subject: [Zope-dev] WEBDav error? All, I'm in the process of creating a Python based equivalent for Cadaver. I think there is a

[Zope-dev] Naive API question(s)

2001-09-17 Thread Holger Blasum
Dear *, naively I volunteered for a talk on zope in autumn to a (small) CS student audience. However, I must confess that do not understand the basics about the API: What is the most general and state-of-the-art way (including necessary imports from the zope python library), to

[Zope-dev] Operation Properties.

2001-09-17 Thread Erik Enge
'Evening, Zopistas. I'm developing an accounting product right now, and one of the more interesting aspects of how to solve this issue is how do handle currencies. I've decided to let each entry (transaction) know about the currency it was in. At a later stage, the user is given the option to

Re: [Zope-dev] Operation Properties.

2001-09-17 Thread Chris Withers
Erik Enge wrote: attribute itself. Currently, I don't see any easy way to do this with Zope. Go look at ComputedAttributes... Chris ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts

Re: [Zope-dev] Operation Properties.

2001-09-17 Thread Erik Enge
[Chris Withers] | Go look at ComputedAttributes... Yupp. But are you suggesting that ComputedAttributes are the end-all be-all solution to the problem I proposed, or only a part of it? As I see it, they hardly specify a framework for attributes.

Re: [Zope-dev] WEBDav error?

2001-09-17 Thread Michael R. Bernstein
On Mon, 2001-09-17 at 09:04, Phil Harris wrote: +1 family member. The nuclear family is now ready. I guess it's now time for you to go fission. Michael. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev

Re: [Zope-dev] Naive API question(s)

2001-09-17 Thread Shane Hathaway
Holger Blasum wrote: Dear *, naively I volunteered for a talk on zope in autumn to a (small) CS student audience. However, I must confess that do not understand the basics about the API: What is the most general and state-of-the-art way (including necessary imports from the zope

[Zope-dev] WebDav Bug?

2001-09-17 Thread Phil Harris
All, I'm in the process of creating a Python based equivalent for Cadaver. I think there is a minor but very annoying bug in the Zope WebDav server. I don't think the contents of the properties are being quoted. For instance: One object in my ZODB has a title of 'Declare interfaces for

[Zope-dev] More on WebDAV properties.

2001-09-17 Thread Phil Harris
Andreas/all, hmm, now I'm confused. Looking at PropertySheets.py, it seems as if the properties are quoted, a call to xml_escape is made with the value of the property as the parameter. This call is made in dav__allprop, it seems as if it's in the proper place and all, so what is going wrong?

Re: [Zope-dev] WebDav Bug?

2001-09-17 Thread Andreas Jung
This should be fixed in Zope 2.4.X Andreas - Original Message - From: Phil Harris [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, September 17, 2001 12:05 Subject: [Zope-dev] WebDav Bug? All, I'm in the process of creating a Python based equivalent for Cadaver. I think