[Zope] manage_upload not found?

2000-08-14 Thread Sean McGrath
I can call manage_addFile to add a new file to the ZODB. If I try and add a file with the same id as an existing object, I get an error from manage_addFile. Fair enough. I looked at the source of the management interface and say manage_upload used to change the contents of an existing object. Howe

[Zope] Not like ASP complaint - any good answers

2000-08-24 Thread Sean McGrath
All, I have had a number of e-mails from developers using Microsoft ASP in recent days. The paraphrased consensus in the e-mails is that the external methods/python methods approach to mixing markup with code in Zope is more clunky than in ASP where you can intermingle the two at will. Has anyon

[Zope] "Z2 CONFLICT Competing writes" and synchronization woes

2000-08-31 Thread Sean McGrath
ot help as each request gets allocated its own Lock object. I tried Rlock got an error message I didn't understand and concluded I don't know what I'm doing:-) Any pointers to the best way to do synchronization of access to the filesystem from external method

[Zope] GET requests in Medusa web server

2000-10-23 Thread Sean McGrath
Hello all, Why does the Medusa server in Zope not handle GET requests which specify a full URI? For example, if I have a web server running on web.mydomain.com, and I want to get a file called "file.html", doing a GET request of the form GET http://web.mydomain.com/file.html HTTP/1.1 gi

RE: [Zope] GET requests in Medusa web server

2000-10-23 Thread Sean McGrath
At 10:42 AM 10/23/00 -0400, Brian Lloyd wrote: > > Why does the Medusa server in Zope not handle GET requests which specify > > a full URI? For example, if I have a web server running on > > web.mydomain.com, > > and I want to get a file called "file.html", doing a GET request > > of the form > >

[Zope] Modifiable local variables

2000-10-24 Thread Sean McGrath
Hello all, I am trying to use the DTML engine outside of Zope, and would like to be able to create local variables in my DTML documents. Because I have no access to Zope, I can't do REQUEST.set, nor can I use the method shown on http://www.zope.org/Members/Duncan/LocalVars. So, the questions i

[Zope] Question about dtml-in

2000-11-03 Thread Sean McGrath
Hello all, I have a question about the dtml-in tag. When it is iterating over a sequence, and the items in the sequence happen to be tuples containing exactly two items, then dtml-in places the first item from the sequence in sequence-key, and the second item goes in sequence-item. If the item

[Zope] Authentication Problem : External method returning object :Zope 2.2.4 Zope 2.2.4

2000-12-07 Thread Sean McGrath
self.X = 1 self.Y = 2 def testexternal (self,REQUEST,RESPONSE): A = AClass() return A Thanks in advance, Sean McGrath ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts o

Re: [Zope] Authentication Problem : External method returning object

2000-12-08 Thread Sean McGrath
>> >> Here is the external method "testexternal": >> >> class AClass: [Dieter Maurer] >You will need (or something like this): > __access_to_unprotected_subobjects__= 1 >> def __init__(self): > > It works a treat. Thanks! Sean _