[Zope] Adding new News items using Yihaw

2000-08-15 Thread Meaghan Aldridge
I am a Zope Newbie, and have been creating a company Intranet using Zope, and have stumbled across a problem that has me absolutely stumped! I have created a basic Web Interface using the Yihaw Product, and in this, I have added News Items. To search this, I use ZCatalog, which works quite

[Zope] Hotfixes: serious suggestion

2000-08-15 Thread Frank Tegtmeyer
Hi all, I already wrote it to DC but got no response, so I will try to get some feedback here. At the moment DC uses the north american way of expressing dates and assigns them in this form to the names of the Hotfixes. I propose another naming scheme and will explain the reasons below. The

Re: [Zope] Hotfixes: serious suggestion

2000-08-15 Thread Dyon Balding
On Tue, Aug 15, 2000 at 10:18:24AM +0200, Frank Tegtmeyer wrote: Hi all, The current format is Hotfix_08_09_2000, my proposed format is Hotfix_2000-08-09. This is the ISO 8601 format (abbreviated form). totally agree. american style dates are frustrating in many ways. whereever it can

Re: [Zope] Implementing a login form instead of BASIC authentication

2000-08-15 Thread Stephan Goeldi
Wouldn't that reduce system security? I am currently looking into implementing a login form to replace the standard BASIC authentication. Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

Re: [Zope] dtml-in and tuples

2000-08-15 Thread Chris Withers
"R. David Murray" wrote: On Mon, 14 Aug 2000, Jonothan Farr wrote: Well in Python a list is mutable and a tuple is not. Right, but he's asking why dtml-in treats tuples in a special way, and exactly what that behavior is. That's right :-) ..and in particular why it's so weird. It seems

Re: [Zope] Adding new News items using Yihaw

2000-08-15 Thread Chris Withers
Meaghan Aldridge wrote: What I want to happen is that I can have a link to a page that displays a form with one field with the message to be displayed, and perhaps another field with a brief title. (The other fields, being the date and the name of the person who posted the message, I will

Re: [Zope] Implementing a login form instead of BASIC authentication

2000-08-15 Thread Dieter Maurer
Meeting Maker Webmaster writes: I am currently looking into implementing a login form to replace the standard BASIC authentication. Have a look at GUF or the new LoginManager. They do something similar to what you want. Either, you can use them directly, or learn how they work and realize

Re: [Zope] problems connections to database

2000-08-15 Thread Dieter Maurer
Tom Deprez writes: Hi, I get a strange error here. Suddenly the connection to my interbase db doens't works anymore. I get the following message : File /usr/local/zope/lib/python/Products/gvibDA/db.py, line 178, in _abort File gvib/gvib.py, line 466, in rollback Error: -

[Zope] Computed variable access (was: [Zope] use properties to get an object with dtml-var)

2000-08-15 Thread Dieter Maurer
Gerard Metrailler Jr. writes: Hello, I am trying to get the following more generic. dtml-var "content.whos_who.gmetrail.real_name" In that case, content and whos_who are folder, gmetrail is a ZClass I created which derivates from Image and real_name is a property of that

Re: [Zope] Seeking Zope Volunteers

2000-08-15 Thread Dieter Maurer
Andrew Kenneth Milton writes: +---[ Lyno Sullivan, Candidate ]-- | Greetings, | | My name is Lyno Sullivan and I am the endorsed Independence Party (see [ snip ] And you are now Lyno Sullivan, Spammer and in violation of your own laws. I would not be

Re: [Zope] Best way to subclass DTML Document and some other ZClasses questions

2000-08-15 Thread Dieter Maurer
Marcin Kasperski writes: I decided to subclass DTML Document and (using ZClass) create my own document class 1) How can I set standard DTML Document properties (title!) from my constructor? I created constructor form and constructor method, I succesfully prompt for and set all

Re: [Zope] Persistence.py does not define Persistent

2000-08-15 Thread Dieter Maurer
Skip Montanaro writes: I'm trying to publish my own module with ZServer (from Zope 2.2.0). I get the following traceback: from Persistence import Persistent ImportError: cannot import name Persistent When I look at lib/python/Persistence.py, all I see is a

Re: [Zope] Looking for different style

2000-08-15 Thread Dieter Maurer
cuiod-tec Jens Gelhaar writes: I need a better way to render a DTMLDocument and store the result in variable than dtml-let variable="_['documentname']" but I do not like the style, it looks clumsy. Is there an another way? I would think something like documentname(...), but the

Re: [Zope] Implementing a login form instead of BASIC authentication

2000-08-15 Thread Chris Withers
Stephan Goeldi wrote: Wouldn't that reduce system security? I think he mean cookie-based authentication, as found on zope.org. I am currently looking into implementing a login form to replace the standard BASIC authentication. Gérard, Take a look at things like LoginManager and GUF which

Re: [Zope] Problem with nested dtml-in

2000-08-15 Thread Dieter Maurer
Bill Welch writes: I'm having trouble with nested dtml-in. The outer ZSQL returns the coordinates of a zip code as zlat and zlong. The inner ZSQL takes zlat and zlong as well as Range and Otype as arguments. When I run it I get: Error Type: Bad Request Error Value: ['zlat',

Re: [Zope] Seeking Zope Volunteers

2000-08-15 Thread Andrew Kenneth Milton
y+---[ Dieter Maurer ]-- | Andrew Kenneth Milton writes: | +---[ Lyno Sullivan, Candidate ]-- | | Greetings, | | | | My name is Lyno Sullivan and I am the endorsed Independence Party (see | | [ snip ] | | And you are now Lyno

[Zope] Administrator Guide

2000-08-15 Thread Stephan Goeldi
On which URL is the Administrator Guide for Unix? -goe- Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com ___ Zope maillist - [EMAIL PROTECTED]

[Zope] Struggling with Permissions

2000-08-15 Thread Jean Jordaan
Hi all I've run into something baffling regarding authentication. For debugging purposes, my standard_html_header tells me: (I'm emdtml-var "AUTHENTICATED_USER.getUserName()"/em and I have emdtml-var "AUTHENTICATED_USER.getRoles()"/em role(s).) When I visit /docs, it tells me: (I'm

[Zope] Cannot save Version

2000-08-15 Thread Jentsch, Peter
Hello! I created and logged in to a version object on my Zope-Site to do some extensive remodelling. When I tried to commit the changes, Zope responded with the following error: Error Type: KeyError Error Value: %} [...] Traceback (innermost last): File

[Zope] Structured Text Rendering

2000-08-15 Thread Chris Withers
Hi, I have a list of string.strip'ped strings which I'd like to render using structured text. I'm currently trying: stx = str(StructuredText.html_with_references(join(storedLines,' \n'), level=3)) but that isn't working :( The text in the form submission is: """ sdfsdf - sdfsdf - sdfsdf

Re: [Zope] dtml-in and tuples

2000-08-15 Thread Shane Hathaway
Chris Withers wrote: "R. David Murray" wrote: On Mon, 14 Aug 2000, Jonothan Farr wrote: Well in Python a list is mutable and a tuple is not. Right, but he's asking why dtml-in treats tuples in a special way, and exactly what that behavior is. That's right :-) ..and in

RE: [Zope] Hotfixes: serious suggestion

2000-08-15 Thread Gijs Reulen
Totally agree. In fact I think it is so logically that the question should be: Can anyone think of an argument against it ? (Else then: I am an arrogant American, I like it and f**k the rest of the world). Gijs Reulen -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL

Re: [Zope] Implementing a login form instead of BASIC authentication

2000-08-15 Thread albert boulanger
Stephan Goeldi wrote: Wouldn't that reduce system security? I think he mean cookie-based authentication, as found on zope.org. I am currently looking into implementing a login form to replace the standard BASIC authentication. Gérard, Take a look at things like

Re: [Zope] dtml-in and tuples

2000-08-15 Thread Chris Withers
Shane Hathaway wrote: Looking at the code, it appears that if you pass a list of two-element tuples, dtml-in will sort by the first element of each pair and render the second element. Unluckilly, that's exactly what I was passing it. But not the result I was looking for :S If, on the

Re: [Zope] Implementing a login form instead of BASIC authentication

2000-08-15 Thread Chris Withers
albert boulanger wrote: DIGEST seems good in that it is encrypted and uses the Challange/Response like BASIC for every HTTP transaction -- matched well with the stateless nature of HTTP. AFAIK, no browsers (maybe Mozilla, but that has the stability of a house of cards ;-) support Digest adn

Re: [Zope] Implementing a login form instead of BASIC authentication

2000-08-15 Thread Phil Harris
All, PHPlib (http://phplib.netuse.de) has a piece of javascript that creates MD5 hashes from the entries in a form: so you would never have to pass passwords in clear text, as long as the hash agrees with the one created server side, login is successful. the PHPlib docs describe it better

Re: [Zope] Zope bug or my stupidity?

2000-08-15 Thread Chris Withers
Peter Hernberg wrote: Here's the method that calls that method: dtml-var "get_storys" Why the quotes? try dtml-var get_storys instead cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope **

[Zope] Zope bug or my stupidity?

2000-08-15 Thread Peter Hernberg
...I'm betting on the latter :) The problem in a nutshell is that a dtml method seems to be returning itself (that is, the dtml source of the method), rather than what it ought to be returning. I have two classes, a "Topic" class, derived from ObjectMananger, and a "Story" class. The Topics

[Zope] File uploads causing memory to be used up

2000-08-15 Thread Tony McDonald
Hi all, I have an external method that uploads RTF files(and only RTF files) into a unix directory. It works fine, except it doesn't seem to release the memory it uses up in uploading the file. The method is; def process_file(self, file, location, REQUEST): if file.read(1) == '':

[Zope] Z2.py DNS_IP (name resolution)

2000-08-15 Thread Hugo Ramos
Yellow ppl, I inserted my local machine IP address in DNS_IP section of Z2.py as I used to in version 2.1.6 (now running 2.2.1b1). This used to work for me and instead of numbers I would get resolved names in the Z2.log. Since I upgraded to 2.2.0 and now 2.2.1b1 I only get numbers. DNS_IP

Re: [Zope] Struggling with Permissions

2000-08-15 Thread R. David Murray
On Tue, 15 Aug 2000, Jean Jordaan wrote: (this is from ccDocClass_add). When I arrive I *still* see: (I'm Anonymous User and I have Anonymous role(s).) Now I edit the URL manually and visit /docs/manage, which works *without* prompting me for authentication. I edit the URL back to

RE: [Zope] Hotfixes: serious suggestion

2000-08-15 Thread Brian Lloyd
I already wrote it to DC but got no response, so I will try to get some feedback here. Who did you send it to? I don't recall seeing it... At the moment DC uses the north american way of expressing dates and assigns them in this form to the names of the Hotfixes. I propose another

[Zope] Looking up other row records in an SQLMethod?

2000-08-15 Thread Theodore Patrick
Is it possible to look up other SQL record values while iterating through a DTML-IN? Sample Data returned by SQL Method: ID, ORDER 23, 1 25, 3 34, 6 39, 19 12, 23 Using a DTML IN I need to get the following during a single pass through the SqlMethod: HEADER ID ORDER PREV NEXT PASS 1

Re: [Zope] dtml-in and tuples

2000-08-15 Thread Shane Hathaway
Chris Withers wrote: Shane Hathaway wrote: Looking at the code, it appears that if you pass a list of two-element tuples, dtml-in will sort by the first element of each pair and render the second element. Unluckilly, that's exactly what I was passing it. But not the result I was

Re: [Zope] dtml-in and tuples

2000-08-15 Thread Chris Withers
Shane Hathaway wrote: snip tuple confusion I don't know of any place. It ought to be in the DTML reference. I guess I'll hope and wait for the Zope Book :-) cheers, Chris ___ Zope maillist - [EMAIL PROTECTED]

RE: [Zope] Struggling with Permissions

2000-08-15 Thread Jean Jordaan
Hi RDM My bet is that this is a browser caching issue. Mine too. But how does everyone else manage authentication? -- Jean Jordaan --technical writer-- Mosaic Sofware --Zope 2.16 on W2K ___ Zope maillist - [EMAIL PROTECTED]

[Zope] ZCatalog Question

2000-08-15 Thread Jeff Sasmor
I have a product that has three CatalogAware Zclasses. They are indexed by the catalog correctly, but when I look at the catalog's status tab, the number of objects for each index are identical, even though the ZClasses themselves don't all have the same properties. Intuitively, this seems

[Zope] dtml-var python goes here!

2000-08-15 Thread Chris Withers
Always bear in mind that anything inside double quotes gets executed as python. Therefor, the followign lines are not doing what you intend: Peter Hernberg wrote: dtml-if "sequence-index (numStories - 1)" dtml-if "sequence-index == 0" try these instead: dtml-if

[Zope] [Ann] Another Zope Book

2000-08-15 Thread Dieter Maurer
Dear Zopistas, I plan to write another book about Zope: "Building Dynamic WebSites with Zope". The book idea: Realize a demanding dynamic WebSite with Zope. Describe everything that is necessary for this purpose. This will contain: Concepts: HTTP, HTML, Zope, Databases, JavaScript, ...

Re: [Zope] Zope bug or my stupidity?

2000-08-15 Thread Peter Hernberg
--- Chris Withers [EMAIL PROTECTED] wrote: Peter Hernberg wrote: Here's the method that calls that method: dtml-var "get_storys" Why the quotes? try dtml-var get_storys instead But then I get the following weird error: Traceback (innermost last): File

RE: [Zope] [Ann] Another Zope Book

2000-08-15 Thread Chris McDonough
This sounds like a good idea, IMHO. The Zope Book doesn't go into much detail about technologies outside Zope. It sounds like your book would, and this would be a good thing. -Original Message- From: Dieter Maurer [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 15, 2000 10:45 AM

[Zope] Import Error 'PTKDemo' - but *no* PTKDemo objects around..

2000-08-15 Thread Tony McDonald
Hi all, I'm having a nightmare here. I have a Zope 2.2 (src, solaris) installation that I built from scratch. Then, because *it would not* import an exported folder from a 2.1.6 installation I had to use the Data.fs from the 2.1.6 installation and strip out everything other than the folder I

[Zope] RE: Cannot save Version

2000-08-15 Thread Jentsch, Peter
packing the DB solved the problem :-) still I'd like to know how to avoid future occurrences Cheers Peter ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -

Re: [Zope] Reloading file objects?

2000-08-15 Thread Dieter Maurer
Peter Arvidsson writes: Does anyone know a way to get the file to show the new pdf-file when I want to view it? You can use an "Expires" header to control how long a browser might cache a page. Dieter ___ Zope maillist - [EMAIL PROTECTED]

[Zope] Getting a document's contents

2000-08-15 Thread Joshua Brauer
There is probably a simple solution that I'm overlooking here I have a folder (Parts) that contains dtml documents that are snippets of code. I want to include some of them which I have listed in a variable (select). So I use code like this: dtml-with parts dtml-in select dtml-var

[Zope] ProxyPass - where ???

2000-08-15 Thread George Osvald
I'm having trouble configuring ProxyPass on my ISP's server. I tried to follow the instructions in the appropriate HOW-TO's without a success. I think they all assume that the user would have root access. I don't. I have built ZOPE in my user directory. Anyway ProxyPass takes two arguments, a

Re: [Zope] [Ann] Another Zope Book

2000-08-15 Thread Andy McKay
Great, idea! Lets face it this is what the majority of users will be using Zope for. IHMO you cannot have too many books on Zope. One thing I would like to see is comparisons of how you would do something in other systems... for example I used to start thinking when I used Perl or ASP I used to

Re: [Zope] Implementing a login form instead of BASIC authentication

2000-08-15 Thread Andy McKay
...that, and getting your CSS to eb compatible with all the major browsers ;-) :) hear, hear -- Andy McKay, Developer, ActiveState http://www.ActiveState.com Programming for the People ___ Zope maillist - [EMAIL PROTECTED]

RE: [Zope] dtml-var python goes here!

2000-08-15 Thread T.J. Mannos
dtml-let complaint="'why-did-we-decide-to-use-hyphens-anyway'"? dtml-call "REQUEST.set('solution', 'we_should_have_used_underscores_instead')" -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Chris Withers Sent: Tuesday, August 15, 2000 9:02 AM To: [EMAIL

Re: [Zope] Getting a document's contents

2000-08-15 Thread R. David Murray
On Tue, 15 Aug 2000, Joshua Brauer wrote: I have a folder (Parts) that contains dtml documents that are snippets of code. I want to include some of them which I have listed in a variable (select). So I use code like this: dtml-with parts dtml-in select dtml-var

[Zope] How to use RESPONSE.redirect ?

2000-08-15 Thread Stuart Foster
I want to use redirect to call another form passing the current form, how can I do that. dtml-call RESPONSE.redirect('otherform'+?) If I do dtml-call RESPONSE.redirect('otherform') The current form isn't being passed ? Any ideas.. TIA Stuart

Re: [Zope] ProxyPass - where ???

2000-08-15 Thread Stephen Harrison
NameVirtualHost 123.45.678.9 VirtualHost 123.45.678.9 ServerName www.mydomaine.com.au ProxyPass / http://demon.server.com.au:8080/okstudio/ ProxyPassReverse / http://demon.server.com.au:8080/okstudio/ /VirtualHost This is the setup you want. Note the trailing /'s. It means that anything sent

[Zope] PROBLEM(100) ZServer Computing default hostname

2000-08-15 Thread George Osvald
I'm getting this when starting ZOPE: 2000-08-15T17:35:20 PROBLEM(100) ZServer Computing default hostname ZOPE is running OK though. Is there a problem I do not see? George ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] How to use RESPONSE.redirect ?

2000-08-15 Thread Jonothan Farr
HTTP is stateless. You'll have to build the entire query string and put it into your redirect URL. --jfarr - Original Message - From: Stuart Foster [EMAIL PROTECTED] To: Zope List [EMAIL PROTECTED] Sent: Tuesday, August 15, 2000 10:19 AM Subject: [Zope] How to use RESPONSE.redirect ?

Re: [Zope] PROBLEM(100) ZServer Computing default hostname

2000-08-15 Thread Chris Withers
George Osvald wrote: 2000-08-15T17:35:20 PROBLEM(100) ZServer Computing default hostname ZOPE is running OK though. Is there a problem I do not see? Nah, you're just running in debug mode... cheers. Chris ___ Zope maillist - [EMAIL PROTECTED]

[Zope] copy / paste support

2000-08-15 Thread Andy McKay
When trying to copy an item I get the following item on paste: One or more items referred to in the clipboard data was not found. The item may have been moved or deleted after you copied it. This is a custom python class which is catalogued. Ive no idea why this is happening. Any ideas? --

Re: [Zope] Product question

2000-08-15 Thread Daniel Rusch
Not to sound like a completely blithering idiot, but how does one go about setting the permissions to allow it to be created. I'd assume in the __ac_permissions class attribute. What the specific permission is escapes me. DR Andy McKay wrote: Make sure you have the permissions set correctly

Re: [Zope] speeding up dtml-tree

2000-08-15 Thread Dieter Maurer
Clinton Roy writes: i'm using the dtml-tree tag and generating it's contents via external methods. Unfortunately child lookups are quite slow, as well as the icon choosing machinery; is there any way to cache the tree node objects that my external method creates? The tree tag itself does

Re: [Zope] Looking up other row records in an SQLMethod?

2000-08-15 Thread Dieter Maurer
Theodore Patrick writes: Is it possible to look up other SQL record values while iterating through a DTML-IN? I did not understand your requirements. But the answer is yes: dtml-let query_results=SQLMethod dtml-in query_results dtml-var

Re: [Zope] Structured Text Rendering

2000-08-15 Thread Dieter Maurer
Chris Withers writes: I have a list of string.strip'ped strings which I'd like to render using structured text. Input: """ sdfsdf - sdfsdf - sdfsdf - sdfsdf """ Structured text output: """ psdfsdf - sdfsdf

Re: [Zope] Struggling with Permissions

2000-08-15 Thread Dieter Maurer
Jean Jordaan writes: ... anonymous user despite authentication (this is from ccDocClass_add). When I arrive I *still* see: I may be a cache issue as suggested earlier in the list. However, I may also be a Zope feature. When you access an unprotected object, Zope may not determine

Re: [Zope] dtml-in and tuples

2000-08-15 Thread Dieter Maurer
Chris Withers writes: Why and how are python tuples (like, this) handled differently (and not in a logical way I can see...) than python lists [like, this]? The "how" has been explained already. The "why" is only my guess: support for the widespread idiom "dict.items()", "objectItems" etc.

Re: [Zope] Product question

2000-08-15 Thread Loren Stafford
From: "Daniel Rusch" [EMAIL PROTECTED] I've created a product, installed it and it appears on the Product Management at /Control_Panel / Products list. The question is how do I get it to appear in the drop down of Available Objects? You have to register the class it defines. If you want

Re: [Zope] How to use RESPONSE.redirect ?

2000-08-15 Thread Peter Bengtsson
dtml-call "REQUEST.redirect('foo.html')" Should do it! or maybe dtml-call "REQUEST.redirect(strPage+'.html')" dtml-call RESPONSE.redirect('otherform'+?) If I do dtml-call RESPONSE.redirect('otherform') The current form isn't being passed ? Any ideas.. TIA Stuart

[Zope] Another Product question

2000-08-15 Thread Daniel Rusch
Thanks, I had made a small misspelling which did not generate any errors but which hosed the Product. New problem, My product appears on the Product Management at /Control_Panel / Products page and in the drop down of Available Objects. I select my Product from the drop down and I get my add

Re: [Zope] copy / paste support

2000-08-15 Thread Andy McKay
Nope, using cookies for authentication actually. Curious what the cookies are used for now.. -- Andy McKay, Developer, ActiveState http://www.ActiveState.com Programming for the People - Original Message - From: "Brian Lloyd" [EMAIL PROTECTED] To: "'Andy McKay'" [EMAIL

Re: [Zope] Another Product question

2000-08-15 Thread Andy McKay
You will probably find you are missing a doc string. After your method declaration you must have a string enclosed with 3 single quotes (''') so: def manage_addFrameWorkDoc: ''' this is the doc string you must have ''' -- Andy McKay, Developer, ActiveState

Re: [Zope] Another Product question

2000-08-15 Thread Loren Stafford
All modules published by Zope must have a "doc string" i.e. a Python comment defining the content before any other Python code. For example: """ Doc string for Frame Work Doc product """ import string # etc -- Loren - Original Message - From: "Daniel Rusch" [EMAIL PROTECTED] To:

Re: [Zope] Seeking Zope Volunteers

2000-08-15 Thread Lyn A Headley
Andrew campaign cannot accept | contributions from corporations, Andrew PACs or special interest organizations so | we rely on Andrew contributions from individuals like you. Andrew And you are now Lyno Sullivan, Spammer and in violation of Andrew your own laws. What is

[Zope] Managing subobjects

2000-08-15 Thread Menard . Jean-Francois
(I speak frech, sorry for my english!) I created a ZClass, zRow. This class can contain other ZClass: zField_Text, zField_Date, etc. This let me define the columns contained in a zRow. I then defined a Class zTable, wich contains zRows. Question: - In my manage tabs, I needed a have a

[Zope] restrict -tree tag global navigation- to subfolders

2000-08-15 Thread Marcus Schopen
Hi, the answer to my post [Zope] restrict -tree tag global navigation- to subfolders Marcus Schopen [EMAIL PROTECTED] Tue, 15 Aug 2000 00:00:42 +0100 seems to be !--#var "SideBar(PARENTS[-2],REQUEST)"--. Right? Bye Marcus __ (0 Marcus Schopen

[Zope] how to generate a Vcard ?

2000-08-15 Thread Didier Georgieff
HEllo, I'm looking for providing a way to generate a vcard for desktop adressbooks. I guess someone already thought about that but i can't find anything on zope.org or mail archive. Any tip out there ? Didier. ___ Zope maillist - [EMAIL

Re: [Zope] copy / paste support

2000-08-15 Thread Terry Kerr
cut and paste of catalog aware products is broken pre 2.2. i think it is all fixed in 2.2+ ? Andy McKay wrote: When trying to copy an item I get the following item on paste: One or more items referred to in the clipboard data was not found. The item may have been moved or deleted after you

Re: [Zope] copy / paste support

2000-08-15 Thread Andy McKay
Sorry forgot to say Im in 2.2 before latest hotfix. I had a different problem prior to my 2.2 upgrade. -- Andy McKay, Developer, ActiveState http://www.ActiveState.com Programming for the People - Original Message - From: "Terry Kerr" [EMAIL PROTECTED] To: "Andy McKay"

Re: [Zope] Hotfixes: serious suggestion

2000-08-15 Thread David Trudgett
At 2000-08-15 10:18 +0200, "Frank Tegtmeyer" [EMAIL PROTECTED] wrote: The current format is Hotfix_08_09_2000, my proposed format is Hotfix_2000-08-09. This is the ISO 8601 format (abbreviated form). Reasoning: First of all Zope is a product of a north american company but is used

Re: [Zope] PROBLEM(100) ZServer Computing default hostname

2000-08-15 Thread Bill Anderson
Chris Withers wrote: George Osvald wrote: 2000-08-15T17:35:20 PROBLEM(100) ZServer Computing default hostname ZOPE is running OK though. Is there a problem I do not see? Nah, you're just running in debug mode... But, why is it a 'PROBLEM', why not 'INFO' ? -- Do not meddle in the

Re: [Zope] [Ann] Another Zope Book

2000-08-15 Thread Bill Anderson
Dieter Maurer wrote: Dear Zopistas, I plan to write another book about Zope: "Building Dynamic WebSites with Zope". The book idea: Realize a demanding dynamic WebSite with Zope. Describe everything that is necessary for this purpose. This will contain: Concepts: HTTP,

Re: [Zope] how to generate a Vcard ?

2000-08-15 Thread Tino Wildenhain
Hi, Didier Georgieff wrote: HEllo, I'm looking for providing a way to generate a vcard for desktop adressbooks. I guess someone already thought about that but i can't find anything on zope.org or mail archive. Any tip out there ? Just send your self a vcard and look at the text...

Re: [Zope] copy / paste support

2000-08-15 Thread Terry Kerr
i had horrible cut and paste problems with my python product in 2.1.6. Then when I imported instantiations of my product into a fresh install of 2.2, I still am having problems. However, if I create a new instance of the product in 2.2, it all seems to work fine. Andy McKay wrote: Sorry

Re: [Zope] Zope bug or my stupidity?

2000-08-15 Thread Curtis Maloney
On Wed, 16 Aug 2000, Peter Hernberg wrote: --- Chris Withers [EMAIL PROTECTED] wrote: Peter Hernberg wrote: Here's the method that calls that method: dtml-var "get_storys" Why the quotes? try dtml-var get_storys instead But then I get the following weird error:

Re: [Zope] copy / paste support

2000-08-15 Thread Andy McKay
Thanks! Tried copying and pasting newly created 2.2 objects and still have the same problems hmmm -- Andy McKay, Developer, ActiveState http://www.ActiveState.com Programming for the People - Original Message - From: "Terry Kerr" [EMAIL PROTECTED] To: "Andy McKay"

Re: [Zope] Using ZCatalog with SiteAccess in Zope 2.2

2000-08-15 Thread Christian Scholz
Hi! ZCatalog does not seem to like Site Access2 i applied the patch from http://www.zope.org/Members/4am//SiteAccess/patch and then updated Zope with all the patches from CVS and it still gives me: Error Type: IndexError Error Value: list index out of range

Re: [Zope] How to use RESPONSE.redirect ?

2000-08-15 Thread Curtis Maloney
On Wed, 16 Aug 2000, Stuart Foster wrote: I want to use redirect to call another form passing the current form, how can I do that. dtml-call RESPONSE.redirect('otherform'+?) If I do dtml-call RESPONSE.redirect('otherform') The current form isn't being passed ? If you want to pass the

Re: [Zope] Zope bug or my stupidity?

2000-08-15 Thread Jonothan Farr
Once again I'll point out that I have a patch that allows sequence_item. I've submitted it to the collector but it was rejected because of the AFAIK not-yet-scheduled "named dtml-in" feature. http://www.zope.org/Members/jfarr/Patches/dtml-in-sv/ --jfarr Hardware, n.: The parts of a

Re: [Zope] Hotfixes: serious suggestion

2000-08-15 Thread Curtis Maloney
On Wed, 16 Aug 2000, David Trudgett wrote: At 2000-08-15 10:18 +0200, "Frank Tegtmeyer" [EMAIL PROTECTED] wrote: The current format is Hotfix_08_09_2000, my proposed format is Hotfix_2000-08-09. This is the ISO 8601 format (abbreviated form). Reasoning: First of all Zope is a product

[Zope] OT: UTC

2000-08-15 Thread David Trudgett
At 2000-08-16 01:54 +, Curtis Maloney [EMAIL PROTECTED] wrote: So, when are you joining me in working in UTC? I mean, really. We deal with people globally on a daily basis. Why bother with all this timezone nonsens? So I get up and out of bed at 2100, get to work at a fresh and early

Re: [Zope] How to use RESPONSE.redirect ?

2000-08-15 Thread Kapil Thangavelu
Stuart Foster Wrote: I want to use redirect to call another form passing the current form, how can I do that. dtml-call RESPONSE.redirect('otherform'+?) Hi Stuart, i ran into the same problem a little while ago. i was trying to pass the user around to the proper displayprocess

[Zope] String Module ??? newbie question

2000-08-15 Thread Indra Gunawan
Hello, my installation is Zope 2.2.0 on W2K. I try to use the find method as follow, why can't it runs? dtml-var "_.find('doraemon','dora')" it said Attribute error: find -IGUN- ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] How to use RESPONSE.redirect ?

2000-08-15 Thread R. David Murray
On Tue, 15 Aug 2000, Kapil Thangavelu wrote: #example call to above #dtml-call "RESPONSE.redirect(URL1+'?'+url_encode_form_vars(_))" If your original form submits using the GET method, then QUERY_STRING will contain the already URL encoded parameters that the browser sent originally. DTML

Re: [Zope] String Module ??? newbie question

2000-08-15 Thread R. David Murray
On Wed, 16 Aug 2000, Indra Gunawan wrote: my installation is Zope 2.2.0 on W2K. I try to use the find method as follow, why can't it runs? dtml-var "_.find('doraemon','dora')" it said Attribute error: find _.string.find --RDM ___ Zope maillist

Re: [Zope] DTML: fetch an object by its url?

2000-08-15 Thread R. David Murray
On Wed, 16 Aug 2000, Scott Shepherd wrote: In DTML is it possible to get an object using its url? Something like dtml-with "get_object( '/some/local/url' )".../dtml-with Something like. I asked this question a long time ago, and refound the answer by searching the zope.nipltd.com

Re: [Zope] Product question

2000-08-15 Thread Andy McKay
Make sure you have the permissions set correctly for that product, so that you are allowed to create it. -- Andy McKay, Developer, ActiveState http://www.ActiveState.com Programming for the People - Original Message - From: "Daniel Rusch" [EMAIL PROTECTED] To: [EMAIL

Re: [Zope] UserDb, GUF, LoginManager, etc, which one?

2000-08-15 Thread Bak @ kedai
On Mon, 14 Aug 2000, Martijn Faassen wrote: Hi there, What I want is an acl_users equivalent that has an SQL database backend. I want an easy to understand, easy to install solution for this that has some kind of future in Zope land. Currently I'm deploying 2.1 but that should change into

[Zope-dev] unit testing framework proposal

2000-08-15 Thread Chris McDonough
Please see http://dev.zope.org/Wikis/DevSite/Proposals/UnitTestingFramework for a propsal for inclusion of a unit testing framework within Zope. Comments appreciated. Chris McDonough Digital Creations Publishers of Zope - http://www.zope.org ___

[Zope-dev] ZClass properties and DTML

2000-08-15 Thread Carl Robitaille
Hi, Here is a small introduction on what I'm trying to acheive. I want to have a simple bilingual News system on my web site, having headlines and text in both languages. At first, I read the ZDG and then some HOW-TOs to learn how to make ZClasses. So I created a new product, and a

[Zope-dev] Re: unit testing framework proposal

2000-08-15 Thread Stefane Fermigier
Message: 2 From: Chris McDonough [EMAIL PROTECTED] To: "'[EMAIL PROTECTED]'" [EMAIL PROTECTED] Subject: [Zope-dev] unit testing framework proposal Date: Tue, 15 Aug 2000 14:10:14 -0400 Please see http://dev.zope.org/Wikis/DevSite/Proposals/UnitTestingFramework for a propsal for

RE: [Zope-dev] Re: unit testing framework proposal

2000-08-15 Thread Chris McDonough
Well, one method of attack is to develop the guts of your Product as a Python-only layer. Do all the "hard stuff" in the Python-only part of your Product. Develop unit tests to go along with this layer. Then, when you're ready to Zope-ify it, wrap a thin Zope layer around it. This works well

Re: [Zope-dev] remote procedure calls to manage functions

2000-08-15 Thread Kent Polk
On 10 Aug 2000 08:10:01 -0500, Jim Fulton wrote: Michel Pelletier wrote: Jim Fulton wrote: Michel Pelletier wrote: Also, ZClient is much faster i've found, probably due to the marshalling/unmarshalling necessary for xml-rpc. That's interesting..Hm. ZClient has to marshal. I