[Zope] ZClass Adding Magic Needed

2001-01-17 Thread Geoffrey L. Wright
So: I have a odd little problem that I can't seem to solve. I have two zclasses. We'll call them zclass1 and zclass2. zclass2 lives inside of zclass1. zclass1 has the following two properties: id and displayOrder. zclass2 has the four properties: id, displayOrder, alignment and content.

RE: [Zope] Zope Versus Enhydra Comparison article

2001-01-17 Thread Ron Bickers
Using Zope we knew that we would reach situations which may be unresolvable in the short term, and could not make significant business decisions with so many unknown factors and lack of any way to circumvent problems. What in the world does that mean?!? Maybe it should read "We don't know

[Zope] Cache manager in zope 2.3.0b1

2001-01-17 Thread [EMAIL PROTECTED]
From HelpSys for RAM CAche """ Finally, you can configure the list of REQUEST variables that will be used in the cache key. This can be a simple and effective way to distinguish requests from authenticated versus anonymous users or those with session cookies. """ so, if i access a particular DTML

Re: [Zope] zope2.3.0b1 and userfolders

2001-01-17 Thread Rik Hoekstra
Chris McDonough wrote: sorry for the false alarm. at least i know what inituser and emergency users are now :) It's ok, I don't know exactly how it all works either. :-) Hm, coming from a DC guy this is a reply that is at once disconcerting ("if _you_ don't understand it, how would

Re: [Zope] Postgresql Query.

2001-01-17 Thread Stephane Bortzmeyer
On Tuesday 16 January 2001, at 21 h 37, the keyboard of "Jason C. Leach" [EMAIL PROTECTED] wrote: I'd like to learn a bit more on how to do a SQL query on a postgres DB from Zope. I find it well explained in the Zope Book: http://www.zope.org/Members/michel/ZB/RelationalDatabases.html

RE: [Zope] Zope Versus Enhydra Comparison article

2001-01-17 Thread Jonathan \(Listserv Account\)
Perhaps a typo? "vaporizes" fits pretty well there. My head has done that before while working with Zope. :-) Have you ever tried Java? If you love a vaporized head, switch to Java and be sure to pick Oracle's Internet Application Server to be your trustworthy companion on a steep learning

RE: [Zope] Zope and Linux flavors

2001-01-17 Thread Jonathan \(Listserv Account\)
Actually, I burn a CD with the latest updates on it. Including autorpm. Install autorpm, then use autorpm to upgrade everything from the CD. I do all of this BEFORE connecting to the net. I've had boxes rooted within 60 minutes of connecting to the net, before I started doing the above.

[Zope] slow response with 2.2.5b1, 2.2.5, 2.3.0b1 win32 version

2001-01-17 Thread clamor
Hi, beginning with Zope 2.2.5b1 I noticed some latency between requests and responses (about 3 seconds) even of simple pages. This applies to the 2.2.5 and the 2.3.0b1 releases as well. It occurs only on win32 installations. The 2.2.4 release runs fine on the same machines. There was a

[Zope] Zope 2.3.0 beta 1 comments

2001-01-17 Thread Chris Withers
Brian Lloyd wrote: Zope 2.3.0 beta 1 is now available. You can download it from Zope.org: ...with a Win32 binary... yay! I can start testing :-) Okay, some observations from a Netscape 4.74 user on WinNT about the top frame: - When you view a management screen, the frame is about 5

[Zope] Zope with SSL on Cobalt RAQ3

2001-01-17 Thread Blandford, Simon [BSS Audio UK]
Does anyone have any experience doing this? I have been beating my head trying to get this thing to work because the RAQ2 Apache is customised and doesn't take kindly to trying to add mod_proxy etc. No one in the RAQ2 user groups seems to know how to get this to work so I thought I would see if

Re: [Zope] slow response with 2.2.5b1, 2.2.5, 2.3.0b1 win32 version

2001-01-17 Thread Adam Karpierz
- Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 17, 2001 10:39 AM Subject: [Zope] slow response with 2.2.5b1, 2.2.5, 2.3.0b1 win32 version [...] There was a similar post by the end of last year, but unfortunately I didn't find an

[Zope] exporting zope

2001-01-17 Thread Tom Deprez
Hi, I'm looking for the products who can make plain html-files from zope folders. Unfortunately, I can't find them anymore on the zope.org site. Probably I missed them, but are there people who know the names of these products/tools, for easier finding. Are there people who have experience with

RE: [Zope] Zope Versus Enhydra Comparison article

2001-01-17 Thread Max Møller Rasmussen
From: Ron Bickers [mailto:[EMAIL PROTECTED]] Using Zope we knew that we would reach situations which may be unresolvable in the short term, and could not make significant business decisions with so many unknown factors and lack of any way to circumvent problems. What in the world does that

Re: [Zope] Image Upload

2001-01-17 Thread Fabio da Silva Santos
Hi, I've changed the code just the way you've told me to: dtml-if banner_1 dtml-call "banners.manage_addImage(id='',file=banner_1)" /dtml-if but it still runs the code within dtml-if. thanks, Emmanuel Philippot wrote: My HTML file uploading an image contains this : input

[Zope] Form data type coercion syntax and javascript

2001-01-17 Thread Mayers, Philip J
Not a problem per-se, just a query - how are people dealing with things like this: dtml-var standard_html_header FORM SELECT MULTIPLE NAME="test" /SELECT SCRIPT LANGUAGE="JavaScript" function populate(form) { for (var i=0;i4;i++) { form.test.options[i] = new Option("Red"+i,"color_red");

[Zope] Apache with Zope

2001-01-17 Thread Nuno Goncalves
Hi there !! I have zope and apache listeners in one machine !! Is there any way to have only apache receiving requests for zope and apache, without having two listeners ??? I'm thinking of some module that provide zope funcionalaty to apache ! Without having ProxyPass and RewriteRule directives

Re: [Zope] Zope Versus Enhydra Comparison article

2001-01-17 Thread Chris Withers
Max Mller Rasmussen wrote: Ie. if you have trouble understanding the security mechanism in Zope you are lost until you understand it. Not really, you can leave it like it is (where nearly everything is anonymously accessible) and build your own ;-) If you have trouble with the Enhydra

[Zope] How-To: Apache+ZServer+SSL

2001-01-17 Thread nuno gonçalves
Hi ! I saw your how-to in www.aope.org and i wonder...do you know if it is possible to have an ProxyPass in a virtualhost running on port 443 to another ssl server ??? something like running zope on port 443 and do a ProxyPass /zopeFiles/ https://zope.secure.com/zopeFiles/ thanks in advance

RE: [Zope] Zope Versus Enhydra Comparison article

2001-01-17 Thread Max Møller Rasmussen
From: Chris Withers [mailto:[EMAIL PROTECTED]] problem. Zope is more closed in that regard. Well anyways when you know enough about Zope to make a hack, you probably also know how to do it the right way. Sadly, that's true, but changing I think... Oh don't misunderstand me. I am just about

RE: [Zope] Form data type coercion syntax and javascript

2001-01-17 Thread Max Møller Rasmussen
From: Mayers, Philip J [mailto:[EMAIL PROTECTED]] Not a problem per-se, just a query - how are people dealing with things like this: snipped lots of stuff... Anything more elegant? I don't know if it is something like this you mean: self.document.form['test:list'].value = 'stuff to fill in';

Re: [Zope] Zope Branding Slogan?

2001-01-17 Thread Chris Withers
Max Mller Rasmussen wrote: So learn to live with the quirks and Just Do It. :-) Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -

Re: [Zope] Form data type coercion syntax and javascript

2001-01-17 Thread Oleg Broytmann
On Wed, 17 Jan 2001, Mayers, Philip J wrote: SELECT NAME="test:list" But how do you access it from JavaScript then? I'm doing this: list = form.elements[j]; list = form.elements["test:list"]; Oleg. Oleg Broytmann http://www.zope.org/Members/phd/ [EMAIL

Re: [Zope] Apache with Zope

2001-01-17 Thread Simon Coles
Hi there !! I have zope and apache listeners in one machine !! Is there any way to have only apache receiving requests for zope and apache, without having two listeners ??? I'm thinking of some module that provide zope funcionalaty to apache ! Without having ProxyPass and RewriteRule directives

[Zope] case insensitive searches

2001-01-17 Thread Maggie Shapland
How does one do a case-insensitive search using sql methods when the underlying database is case-sensitive? Although I can force the search on the database to look for a lower case string, I cant make the person giving the value give me the value in lower case, and I know I shouldnt use

Re: [Zope] Zope with SSL on Cobalt RAQ3

2001-01-17 Thread Simon Coles
Does anyone have any experience doing this? I have been beating my head trying to get this thing to work because the RAQ2 Apache is customised and doesn't take kindly to trying to add mod_proxy etc. No one in the RAQ2 user groups seems to know how to get this to work so I thought I would see if

Re: [Zope] Apache with Zope

2001-01-17 Thread Nuno Goncalves
Hi ! Yes i agree with you ! Besides, it was what i had in mind ! But that way we have to listners to maintain ! apachectl stop / startssl and the usual stop start in Zope directory !!! Is there a way of administrating the two listners in a easy way ? You talked about some cgis ! What was your

Re: [Zope] exporting zope

2001-01-17 Thread Stephane Bortzmeyer
On Wednesday 17 January 2001, at 11 h 50, the keyboard of "Tom Deprez" [EMAIL PROTECTED] wrote: I'm looking for the products who can make plain html-files from zope folders. wget --mirror http://www.mybeautifulzope.org/ ___ Zope maillist -

Re: [Zope] ZClass Adding Magic Needed

2001-01-17 Thread Jim Washington
Hi, Geoff Your situation looks like application logic confusion enhanced by the weirdness of DTML. Use a Python Script/Method to do the background heavy lifting. If you are using with, let and REQUEST.set() to access your items, it can be done much more simply and understandably in a Python

Re: [Zope] Zope 2.3.0 beta 1 comments

2001-01-17 Thread Martijn Pieters
On Wed, Jan 17, 2001 at 10:07:30AM +, Chris Withers wrote: - When you resize the top frame, you get back a load of CSS (but as text and without a content type) This didn't happen in a2. If you switch to inline CSS (instead of linked CSS) this problem will go away. In a2 the inline/linked

Re: [Zope] Zope 2.3.0 beta 1 comments

2001-01-17 Thread Jens Vagelpohl
i had the intermittent "browser displays the CSS text and not the real page" in another situation go away by expressly setting the content type in the linked CSS file. the first line would become... dtml-call "RESPONSE.setHeader('Content-Type','text/css')" jens on 1/17/01 8:20, Martijn

[Zope] verify whether html input type=file... is empty

2001-01-17 Thread Andrei Belitski
Hi! Don't know if it is really a zope question, but I have a problem, verifying if e.g. input INPUT TYPE="file" NAME="image_1" SIZE="50" is empty or not using dtml-unless " REQUEST[ 'image_1']=='' " dtml-call "manage_addImage( id=imageId, file=REQUEST[ image_1], REQUEST=REQUEST )"

RE: [Zope] Zope 2.3.0 beta 1 comments

2001-01-17 Thread Brian Lloyd
ye-ha. I've checked that in. Thanks! Brian Lloyd[EMAIL PROTECTED] Software Engineer 540.371.6909 Digital Creations http://www.digicool.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jens Vagelpohl Sent: Wednesday, January 17, 2001

[Zope] 2Q: Catalog and REQUEST

2001-01-17 Thread alan runyan
I have a calendar each day is a radio button and the name=schedule_mmdd when I post to a page I want to do something like, get all the values that start with 'schedule'. I found no examples on how to iterate over the REQUEST objects values. anyone? times=[] for key in

[Zope] Missing attribute with ZSQL methods?

2001-01-17 Thread Stephane Bortzmeyer
If I write DTML that way: tddtml-var telephone missing="(No phone)"/td and if "telephone" comes from a ZSQL method, "missing" is ignored even if the field was NULL (in SQL sense). Is it normal? Zope version: Zope 2.2.2 (source release, python 1.5.2, linux2) Python version: 2.0c1 (#2,

Re: [Zope] Zope 2.3.0 beta 1 comments

2001-01-17 Thread Shane Hathaway
Martijn Pieters wrote: On Wed, Jan 17, 2001 at 10:07:30AM +, Chris Withers wrote: - When you resize the top frame, you get back a load of CSS (but as text and without a content type) This didn't happen in a2. If you switch to inline CSS (instead of linked CSS) this problem will go

RE: [Zope] slow response with 2.2.5b1, 2.2.5, 2.3.0b1 win32 version

2001-01-17 Thread Brian Lloyd
beginning with Zope 2.2.5b1 I noticed some latency between requests and responses (about 3 seconds) even of simple pages. This applies to the 2.2.5 and the 2.3.0b1 releases as well. It occurs only on win32 installations. The 2.2.4 release runs fine on the same machines. Hmm - a couple of

[Zope] case-insensitive searches

2001-01-17 Thread Maggie Shapland
I wrote: How does one do a case-insensitive search using sql methods when the underlying database is case-sensitive? Although I can force the search on the database to look for a lower case string, I cant make the person giving the value give me the value in lower case, and I know I shouldnt

Re: [Zope] Postgresql Query.

2001-01-17 Thread ethan mindlace fremen
--On Wednesday, January 17, 2001 04:33:25 PM +1000 Andrew Kenneth Milton [EMAIL PROTECTED] wrote: Normally, I would tell you to visit; http://www.zope.org/Documentation/ but, some monkey has designed the interface w/o actually testing it, since there's no direct references to the online

[Zope] Stopping a dtml-in

2001-01-17 Thread Diego Rodrigo Neufert
Hi, how can I stop a dtml-in loop? Something like: dtml-in "_.range(1000)" ...code... dtml-if valueOk STOP THE LOOP /dtml-if /dtml-in thanks in advance. -- Diego Rodrigo Neufert Webmaster / Web Developer - Magic Web Design

[Zope] Flat-style

2001-01-17 Thread Tom Deprez
Not really zope specific, but I hope nobody minds me asking. How do you implement flat-looking input boxes? Does somebody knows this? Thanks in advance, Tom. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No

Re: [Zope] Zope Versus Enhydra Comparison article

2001-01-17 Thread Michael Bernstein
Ron Bickers wrote: Using Zope we knew that we would reach situations which may be unresolvable in the short term, and could not make significant business decisions with so many unknown factors and lack of any way to circumvent problems. What in the world does that mean?!? Maybe it

[Zope] ZMySQLDA and Win32 Zope crash

2001-01-17 Thread peter bengtson
Phil and rest of the Zommunity I followed the instructions on http://www.zope.org/Members/philh/mysql which has helped me successfully twice (out of two before) on Windows NT and Windows 2000. This installation was seemless like others, and the product doesn't look broken from the

Re: [Zope] ZWiki -- MS Word

2001-01-17 Thread ethan mindlace fremen
--On Tuesday, January 16, 2001 08:10:11 AM -0500 Frank McGeough [EMAIL PROTECTED] wrote: More than Word I would really like something that would convert the wiki into a Windows help file. well, wikis render as html, and there's lots of things that let you convert web to help (which is just

RE: [Zope] Missing attribute with ZSQL methods?

2001-01-17 Thread Ron Bickers
If I write DTML that way: tddtml-var telephone missing="(No phone)"/td and if "telephone" comes from a ZSQL method, "missing" is ignored even if the field was NULL (in SQL sense). Is it normal? "missing" is only effective if the variable telephone cannot be found. Even if it has a null

Re: [Zope] Flat-style

2001-01-17 Thread Phil Harris
CSS - Original Message - From: "Tom Deprez" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 17, 2001 4:15 PM Subject: [Zope] Flat-style Not really zope specific, but I hope nobody minds me asking. How do you implement flat-looking input boxes? Does somebody knows

Re: [Zope] Flat-style

2001-01-17 Thread peter bengtson
Is CSS what you're looking for? This works fine in Internet Explorer and looks flat to me: input name="hej:string" style="border-style: none; background-color: white;" - Original Message - From: "Tom Deprez" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 17, 2001

[Zope] Tools used for programming Zope

2001-01-17 Thread Gerald Gutierrez
I recently looked into Zope in some detail and have decided that it's rather cool, with many features that you don't get from J2EE or ASP or PHP, etc. The Through-The-Web (TTW) aspect of it is interesting, and the documentation seems to infer that this is the direction Zope programming is

[Zope] Support was: Zope Versus Enhydra Comparison article

2001-01-17 Thread Tim Cook
Chris Withers wrote: the Zope way. In a commercial setting that is very dangerous when you work on a deadline. Well, if it's really crucial, you _can_ always buy support from DC... This is a point that probably isn't mentioned enough here. I've been doing this kind of stuff for several

Re: [Zope] Zope 2.3.0 beta 1 comments

2001-01-17 Thread ethan mindlace fremen
--On Wednesday, January 17, 2001 08:32:34 AM -0500 Jens Vagelpohl [EMAIL PROTECTED] wrote: i had the intermittent "browser displays the CSS text and not the real page" in another situation go away by expressly setting the content type in the linked CSS file. the first line would become...

[Zope] Picture of the day product

2001-01-17 Thread Timothy Wilson
Hey everyone, I was looking at linux.com the today and I noticed their "Daily Photo." I occurred to me that that would be a fun addition to the school's page that I'm developing. My first thought would be to: * inherit from Image * add caption, date taken, etc. properties * create an archive of

Re: [Zope] exporting zope

2001-01-17 Thread ethan mindlace fremen
--On Wednesday, January 17, 2001 11:50:12 AM +0100 Tom Deprez [EMAIL PROTECTED] wrote: Hi, I'm looking for the products who can make plain html-files from zope folders. Unfortunately, I can't find them anymore on the zope.org site. Probably I missed them, but are there people who know

Re: [Zope] ZMySQLDA and Win32 Zope crash

2001-01-17 Thread Chris Withers
peter bengtson wrote: William Crandall had a similar question with more details but with the same result as I. No answer to this one: http://zope.nipltd.com/public/lists/zope-archive.nsf/242bb7cc2b2c343d802568a b003585d4/f5a855d999e73c978025693600507b4e?OpenDocument

[Zope] How to list objects across different containers in Zope's tree?

2001-01-17 Thread Ausum
Few days ago there was this same question although remained unsolved. This is the case for a news site: News objects are within section folders, within day folders, within months, and within a year folder. Just like this, at the root:

RE: [Zope] Zope Versus Enhydra Comparison article

2001-01-17 Thread Ron Bickers
However, for a programmer who had to come into the Zope environment 'cold', the problem would likely have seemed intractable. They wouldn't have even known where to look, How does Enhydra differ? Wouldn't the same problems be true for someone working with Enhydra that knows Zope/Python

[Zope] Uploaded File Interaction

2001-01-17 Thread Diego Rodrigo Neufert
I'm doing a ZClass based product and want to change some lines in a uploaded file How can I interact with this file and see their content? dtml-var "REQUEST.form['attched_file']" doesnt work any ideias? I want to do something like while FILE: in perl Thanks! -- Diego Rodrigo

Re: [Zope] Tools used for programming Zope

2001-01-17 Thread Gines, Ron L.
So how do people go about programming Zope? What sorts of tools do people use, and how do you go about getting your code to and from Zope? Can you use CVS? Attach to Zope using WebDav and away you go . ___ Zope maillist - [EMAIL

Re: [Zope] Picture of the day product

2001-01-17 Thread Martijn Pieters
On Wed, Jan 17, 2001 at 12:20:06PM -0600, Timothy Wilson wrote: Hey everyone, I was looking at linux.com the today and I noticed their "Daily Photo." I occurred to me that that would be a fun addition to the school's page that I'm developing. My first thought would be to: * inherit from

Re: [Zope] High Performance Zope

2001-01-17 Thread Vincent Stoessel
Doh! I meant to say 200-300,000 pageviews per day. Thanks for all the responses so far. Vincent Stoessel wrote: Hello All, How does Zope respond under heavy load? can Zserver handle serving out 200-300 zope pages per day on a busy website? Would it be better to use pcgi to plug it into

RE: [Zope] Picture of the day product

2001-01-17 Thread Eric Walstad
// What I'm not sure about is how to have Zope automatically // display the photo // for a day, then archive it. Would a boolean property of the // ZClass work? Is // it possible to have Zope set the property of a ZClass instance // at certain // time? Any thoughts on how this would be

Re: [zope] : installation of MySQL

2001-01-17 Thread Andy Dustman
On Wed, 17 Jan 2001, K H Subrahmanyan wrote: hi, I am using ZOPE in Linux. Now I want to install MySQL to that. I have installed MySQLDA and MySQLdb to that. but still that is giving the following error. kindly help me. ZMySQLDA Import Traceback Traceback (innermost

[Zope] skinscript and URL traversal question

2001-01-17 Thread Aaron Payne
Hi all, I'm using a zsql method in a skinscript with query ... compute ... and it mostly works. Calling the dataskin where the id is part of the query string (coupon id=977931214.694) works. For example, http://CouponSite/CouponManager/CouponAttributes?Cid=977931214.694 Where:

RE: [Zope] How to list objects across different containers in Zope's tree?

2001-01-17 Thread James Sintz
Ausum, It may be time to re-think your site structure. I have a news type site as well and here is how I handle it (my way... not saying it is by any means the best or right way). Instead of storing your news items in a series of folderish objects, maybe create folders for each section and then

Re: [Zope] Uploaded File Interaction

2001-01-17 Thread Diego Rodrigo Neufert
I have found how dtml-in "_.string.split(test_file.read(),'\n')" dtml-var sequence-item /dtml-in On Wednesday 17 January 2001 04:44 pm, Diego Rodrigo Neufert wrote: I'm doing a ZClass based product and want to change some lines in a uploaded file How can I interact with this file and

Re: [Zope] High Performance Zope

2001-01-17 Thread Mario Valente
At 14:37 1/17/01 -0500, Vincent Stoessel wrote: Doh! I meant to say 200-300,000 pageviews per day. We're serving about 200.000 hits (not pageviews) per day at http://www.portal.pt/ with a couple of load balanced frontend servers connected to a couple of load balanced backend DB servers.

Re: [Zope] How to list objects across different containers in Zope's tree?

2001-01-17 Thread Ausum
Thanks for the tip, James. It seems a clever approach although I must keep it for the time being. Anyway if that were the case, the question could be this one: How can I list all the headlines and summaries for all the news appeared for sports, locals and politics sections (in example) from

RE: [Zope] Antwort: RE: [Zope] slow response with 2.2.5b1, 2.2.5, 2.3.0b1 win32versionversion

2001-01-17 Thread Brian Lloyd
the hosts file was there, and there was a localhost entry in it. Sorry, I should have been more precise. I only had the latency, accessing the zope server from some clients. Accessing zope from the server machine was fine. So I made a (fake) entry to the hosts file for the client machine,

[Zope] Trouble installing ZMySQLTDA

2001-01-17 Thread Vinny
Ok, it's Vinny again, I am trying to get ZMySQLTDA up and running. After installation ZMySQLTDA appears in the Product folder but gives a 'broken' status instead of "installed" I have MySQL-python-0.3.0 installed. Has this worked OK for anyone else? Thanks. Zope 2.2.5 ZMySQLTDA Import

[Zope] Unexplained Slowdown

2001-01-17 Thread Ian Thomas
When I upgraded to Zope 2.2.5 access to my Zope over the web slowed down dramatically and I haven't been able to figure out why. I am interested in ideas I can try to track it down the problem or at least quantify/benchmark the slowness. Some background. 1) I am a computer teacher teaching Zope

[Zope] Upgrade woes and product import problems

2001-01-17 Thread Aaron Louie
I'm trying to upgrade to 2.3.0b1 from 2.2.5b1... I installed the new version (according to the ZopeInstall HowTo, just to be safe), which started fine. I then shutdown Zope (2.3.0b1), moved the default var/Data.fs* files to a backup directory, then copied my old Data.fs* files over. When I tried

RE: [Zope] Zope 2.3.0 beta 1 comments

2001-01-17 Thread Brian Lloyd
- When you view a management screen, the frame is about 5 pixels to small, which cuts off the bottom of the Zope logo. I'm looking into fixing that. - When you resize the top frame, you get back a load of CSS (but as text and without a content type) This didn't happen in a2. This is tied

Re: [Zope] ZClass Adding Magic Needed

2001-01-17 Thread Geoffrey L. Wright
Jim Washington [EMAIL PROTECTED] writes: Hi, Geoff Your situation looks like application logic confusion enhanced by the weirdness of DTML. Application logic confusion in what way? Perhaps I didn't give enough detail about what I'm doing. Here's a little ASCI art that may clear things

Re: [Zope] Zope 2.3.0 beta 1 comments

2001-01-17 Thread Martijn Pieters
On Wed, Jan 17, 2001 at 04:00:57PM -0500, Brian Lloyd wrote: - When you view a management screen, the frame is about 5 pixels to small, which cuts off the bottom of the Zope logo. I'm looking into fixing that. This suddenly rings a bell; I remember now that NS4 seems to have a 'grid'

RE: [Zope] Unexplained Slowdown

2001-01-17 Thread Brian Lloyd
This is due to an ill-fated attempt to make 'domain-based authentication' less expensive (but that backfired to some extent because it can make non domain-based auth more expensive, especially if reverse DNS lookups are slow for you). This is fixed for 2.3 b2 - in the meantime you should be

[Zope] RE: Problem on using nested dtml-ifdtml-in

2001-01-17 Thread Spicklemire, Jerry
Oops! What I meant to say was: "The only /dtml-if tag you need is that final one." (see prior post on this topic) Later, Jerry S. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or

RE: [Zope] Tools used for programming Zope

2001-01-17 Thread Gerald Gutierrez
Can you edit ZClasses and other objects with it, or is this only for DTML? At 08:00 PM 1/17/2001 +0100, Max M wrote: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Gerald Gutierrez So how do people go about programming Zope? What sorts of tools do people use, and how do you

Re: [Zope] Zope 2.3.0 beta 1 comments

2001-01-17 Thread Ausum
I've just tried this last version and I liked it very much. These are two quick UI-related suggestions: - To add a class property for the textarea tag on documentEdit.dtml textarea name="data:text" wrap="off" class="edit-code" style="width: 100%;"dtml-if dtpref_cols cols="dtml-var

[Zope] Decorator pattern

2001-01-17 Thread Tom Jenkins
Hello folks, I have a situation where as I go down my hierarchy I need to modify the BODY tag. Assume this structure: / /level1 /level1/level2 /level1/level2/level3 At level 1 the BODY tag would be like: BODY BGCOLOR="#00" and at level 2 the BODY tag would have the color setting at

Re: [Zope] Image Upload

2001-01-17 Thread Dieter Maurer
Fabio da Silva Santos writes: I'm trying to insert an image in Zope by uploading it in an HTML 'file' field, using the following validation code: dtml-if "banner_1 _.None" dtml-call "banners.manage_addImage(id='',file=banner_1)" /dtml-if You could try: dtml-if

Re: [Zope] case insensitive searches

2001-01-17 Thread Dieter Maurer
Maggie Shapland writes: How does one do a case-insensitive search using sql methods when the underlying database is case-sensitive? Oracle, e.g., provides functions "LOWER" and "UPPER" that you can use in SQL expressions. They can be used to implement case-insensitive searches. Look at the

Re: [Zope] change parameter by mouseclickboundary=------------50A0948CB0BC5E6D24A68B18

2001-01-17 Thread Dieter Maurer
Olaf Zanger writes: Dies ist eine mehrteilige Nachricht im MIME-Format. --50A0948CB0BC5E6D24A68B18 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Please do not send MIME messages into this list! Right now we use the following statement to change

Re: [Zope] PythonScript and ZClass generation problem

2001-01-17 Thread Dieter Maurer
Alexander Limi writes: ... in PythonScript ... return self.artists.manage_addProduct['Artist'].Artist_add(_.None,_) but then the REQUEST object was not available, and the object creation fails since it can't find the variables it needs. The traceback for this was: It seems that you

RE: [Zope] Newbie: python to create a Zope page?

2001-01-17 Thread Dieter Maurer
David Humphreys writes: Let me clarify...! I'm wondering how python can tell Zope to add a dtml document to an arbitrary location in the Zope heirarchy. It was very good, that you had clarified. Have a look at Zope Online Help -- API Reference -- DTML Document Look for the constructor.

RE: [Zope] How to list objects across different containers in Zope's tree?

2001-01-17 Thread James Sintz
Right off the top of my head, since the sections are folder objects you could simply dtml-in through the folders and then inbed another dtml-in. Example (nothing fancy). I did not include any date range stuff, but you can probably figure that out on your own. It may be better to include a

Re: [Zope] Stopping a dtml-in

2001-01-17 Thread Dieter Maurer
Diego Rodrigo Neufert writes: dtml-in "_.range(1000)" code... dtml-if valueOk STOP THE LOOP /dtml-if /dtml-in A long time ago, someone has implemented a "dtml-break" tag. Search for it on zope.org or in the searchable list archive. Dieter

Re: [Zope] 2Q: Catalog and REQUEST

2001-01-17 Thread Dieter Maurer
alan runyan writes: for key in REQUEST['form'].keys(): "form" is an attribute (!) of REQUEST, not a key: for key in REQUEST.form.keys(): second question: I have some searchResults() when I say dtml-in searchResultdtml-var sequence-item/dtml-in (when are we going to get rid of

Re: [Zope] Stopping a dtml-in

2001-01-17 Thread Geoffrey L. Wright
Dieter Maurer [EMAIL PROTECTED] writes: Diego Rodrigo Neufert writes: dtml-in "_.range(1000)" code... dtml-if valueOk STOP THE LOOP /dtml-if /dtml-in A long time ago, someone has implemented a "dtml-break" tag. Wow. That's good to know. I just created some fairly

[Zope] Putting a variable in a redirect call

2001-01-17 Thread Yvonne Totty
All, I need to replace the URL below to a partial dtml-var and and an address, like so: dtml-call "RESPONSE.redirect('https://www.mysite.com/scripts/zope.pcgi/Anywhere/COMTemp/'+LUserOut+'.doc')" to: dtml-call "RESPONSE.redirect('dtml-var baserefW/COMTemp...blah, blah)" where baserefW

Re: [Zope] Putting a variable in a redirect call

2001-01-17 Thread Andy McKay
Please dont post in html BTW. -- Andy McKay. - Original Message - From: "Yvonne Totty" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 17, 2001 3:11 PM Subject: [Zope] Putting a variable in a redirect call All, I need to replace the URL below to a partial

Re: [Zope] Putting a variable in a redirect call

2001-01-17 Thread Andy McKay
Exactly as per your first example: dtml-call "RESPONSE.redirect(baserefW + '/COMTemp')" -- Andy McKay. - Original Message - From: "Yvonne Totty" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 17, 2001 3:11 PM Subject: [Zope] Putting a variable in a redirect call

Re: [Zope] Zope 2.3.0 beta 1 - thanks :-)

2001-01-17 Thread Chris Withers
This suddenly rings a bell; I remember now that NS4 seems to have a 'grid' system for laying out frames. It snaps to certain sizes, and adding a few pixels plus or minus won't get you a visible change. Sizing of frames can only happen in larger steps. Wow that sucks :-( How does

Re: [Zope] Uploaded File Interaction

2001-01-17 Thread Chris Withers
I have found how dtml-in "_.string.split(test_file.read(),'\n')" dtml-var sequence-item /dtml-in That might get quite slow for really big files. If you're using 2.3b1, you could probably do better with a Python Script to play with the file in place. IIUC, test_file above, and

Re: [Zope] High Performance Zope

2001-01-17 Thread Chris Withers
Doh! I meant to say 200-300,000 pageviews per day. Thanks for all the responses so far. I think www.zdnetindia.com (url?) takes about 800,000 hits a day on a single dual-PIII, but that might have been a while ago. IIRC, there's a mailing list or wiki somewhere to do with high

Re: [Zope] Postgresql Query.

2001-01-17 Thread Andrew Kenneth Milton
+---[ ethan mindlace fremen ]-- | --On Wednesday, January 17, 2001 04:33:25 PM +1000 Andrew Kenneth Milton | [EMAIL PROTECTED] wrote: | | Normally, I would tell you to visit; | | http://www.zope.org/Documentation/ | | but, some monkey has designed the interface w/o

Re: [Zope] How to list objects across different containers in Zope's tree?

2001-01-17 Thread Chris Withers
If I were at, ie, root/2001/January/thislist_htm , how can I list(and retrieve) sport news appeared from October 29th to November 10th in year 2000? Is it time to look for a database? Nope, it's time to read up on ZCatalog ;-) There's a great chapter on this in the new Zope Book, but as I'm

Re: [Zope] Tools used for programming Zope

2001-01-17 Thread Chris Withers
Both WebDAV and FTP support are supposed to be better in 2.3 with full WebDAV level 2 compliance at some point in the future... What ever happened to Zope supporting SOAP? cheers, Chris ___ Zope maillist - [EMAIL PROTECTED]

[Zope] User Preferences as opposed to Browser Preferences

2001-01-17 Thread Chris Withers
like textarea size preferences. We are specifically *not* trying to do 'user' preferences. Ah, now that's what I thought :-) Why not? To be honest, user preferences in this area would be much more useful as I tend to do a lot of work through lots of different virtual hosts and on lots of

Re: [Zope] Stopping a dtml-in

2001-01-17 Thread Jonothan Farr
http://www.zope.org/Members/jfarr/Patches/dtml-break I requested that this page be cataloged but it never was. I also submitted it as a patch to the distribution but it was refused. Something about a new dtml-in implementation that I haven't seen materialize in the last 5 versions or so. I

Re: [Zope] Decorator pattern

2001-01-17 Thread Chris Withers
I was thinking that I could change standard_html_header to something like: HTMLHEADTITLEblah/TITLE/HEADBODY dtml-var body_tag_guts Then each level would define body_tag_guts as a call to its parent's body_tag_guts and tack on its stuff... but I don't know how to do that grin Try this, if

Re: [Zope] How to list objects across different containers in Zope's tree?

2001-01-17 Thread Chris Withers
Better yet use ZCatalog to search for the range of news items you want to appear in the list. :-) Checkout the Squishdot product too (http://www.squishdot.org), it might provide what you need with minimal effort... cheers, Chris ___ Zope

RE: [Zope] Putting a variable in a redirect call

2001-01-17 Thread Yvonne Totty
Gosh darn it, it didn't work 8( ~~~ Yvonne Totty Database Engineer, x2198 - Maximus: What we do in life, echoes in eternity. -- Gladiator Exactly as per your first example: dtml-call "RESPONSE.redirect(baserefW + '/COMTemp')"

  1   2   >