[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. I

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 kn

[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, ho

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

[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 simila

[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 p

Re: [Zope] ZWiki --> MS Word

2001-01-17 Thread Simon Michael
Dieter Maurer <[EMAIL PROTECTED]> writes: > peter bengtson writes: > > Since ZWiki's are CaPs neurotic, some sections are called for example: > > "OrganiSations" or "PaGe". > Of cause, the approach above will not change this spelling > (at least I hope so; one never knows with MS tools). > > Te

[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 a

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 "enli

[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 s

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 do

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: > > > but it still runs the code within dtml-if. thanks, Emmanuel Philippot wrote: > > My HTML file uploading an image contains this : > > > > When i submit this HTML page , I call another DTML document containing the fo

[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: function populate(form) { for (var i=0;i<4;i++) { form.test.options[i] = new Option("Red"+i,"color_red"); if (i == 0) form.test.options[i].selected = true; } return false; } If a

[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 Møller 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 N

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

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 Møller 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 - http://lists.z

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

2001-01-17 Thread Oleg Broytmann
On Wed, 17 Jan 2001, Mayers, Philip J wrote: > > > 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 PROTECTED] Progra

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 direct

[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 dtml-v

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 se

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 id

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 , and REQUEST.set() to access your items, it can be done much more simply and understandably in a Python Script/Met

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... jens on 1/17/01 8:20, Martijn Pieters at [EMAIL PROTECTED] wrote: > On Wed, Jan 17, 2001 at 1

[Zope] verify whether html

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 is empty or not using well, I think the http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/z

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, 2

[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 REQUEST['form'].keys()

[Zope] "Missing" attribute with ZSQL methods?

2001-01-17 Thread Stephane Bortzmeyer
If I write DTML that way: 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, Nov 24 2000, 11:08:10) [C] System Platform

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 wi

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

[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 shoul

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 o

[Zope] Stopping a

2001-01-17 Thread Diego Rodrigo Neufert
Hi, how can I stop a dtml-in loop? Something like: ...code... STOP THE LOOP thanks in advance. -- Diego Rodrigo Neufert Webmaster / Web Developer - Magic Web Design --- [EMAIL PROTECTED] www.magicwebdesign.com.br Curitiba

[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?!?

[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 Control_Panel/

Re: [Zope] Stopping a

2001-01-17 Thread Oleg Broytmann
On Wed, 17 Jan 2001, Diego Rodrigo Neufert wrote: > Hi, how can I stop a dtml-in loop? Something like: dtml-try/dtml-raise Oleg. Oleg Broytmann http://www.zope.org/Members/phd/ [EMAIL PROTECTED] Programmers don't die, they just GOSUB without RETURN.

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 ju

RE: [Zope] "Missing" attribute with ZSQL methods?

2001-01-17 Thread Ron Bickers
> If I write DTML that way: > > > > 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 or None value, it's not considered mis

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

Re: [Zope] Flat-style

2001-01-17 Thread Tom Deprez
Ok, I know that it is CSS, but I don't know how they use CSS to get this effect. > 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, bu

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

2001-01-17 Thread clamor
> - are you accessing your server from the same machine using >the name 'localhost'? If so, do you have a hosts file with >that name in it? This has been a problem for windows users >before (very long latency if you are offline and have no >'hosts' file). the hosts file was there

Re: [Zope] verify whether html

2001-01-17 Thread Tim Cook
Andrei Belitski wrote: > > Hi! > Don't know if it is really a zope question, but I have a problem, > verifying if e.g. input > > to test is if the user put in the filename and not whether the really > existing file is empty, so how could aI do it? ...do your stuff... HTH, -- Tim Cook, Pre

RE: [Zope] verify whether html

2001-01-17 Thread James Sintz
Andrey, One way would be to simply test for it on your form action page. Sorry! You need to include an image. Jamey > -Original Message- > From: Andrei Belitski [SMTP:[EMAIL PROTECTED]] > Sent: Wednesday, January 17, 2001 9:16 AM > To: [EMAIL PROTECTED] > Subject: [Zope]

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: - 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

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: - 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

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: - 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

[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 goi

[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 sev

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 k

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 http://zope.nipltd.

[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: http://zopesite:8080/2000/October/17/sports/newsobjectid_htm

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 re

[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? doesnt work any ideias? I want to do something like while : in perl Thanks! -- Diego Rodrigo Neufert Webmaster / Web Developer - Magic Web Des

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 PROTEC

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

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 a

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 desi

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

[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: CouponManager

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 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 see their content? > doesnt work any ideias? > I want to do something

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 Decem

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 Trace

[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 t

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 tie

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 thin

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 a

[Zope] RE: Problem on using nested &

2001-01-17 Thread Spicklemire, Jerry
Oops! What I meant to say was: "The only 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 HTML encodi

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

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 cols=""http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http

[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 tag. Assume this structure: / /level1 /level1/level2 /level1/level2/level3 At level 1 the tag would be like: and at level 2 the tag would have the color setting at level1 plus additional information: and

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: > > _.None"> > > You could try: This tests for a non-empty filename. Dieter

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 cha

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 constructo

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 'sect

Re: [Zope] Stopping a

2001-01-17 Thread Dieter Maurer
Diego Rodrigo Neufert writes: > > code... > > STOP THE LOOP > > A long time ago, someone has implemented a "dtml-break" tag. Search for it on zope.org or in the searchable list archive. Dieter ___ Zope maillist - [EMAIL PROTECTED

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 > (when are we going > to get rid of sequence-item?) > I get > instance > None > in

Re: [Zope] Stopping a

2001-01-17 Thread Geoffrey L. Wright
Dieter Maurer <[EMAIL PROTECTED]> writes: > Diego Rodrigo Neufert writes: > > > > code... > > > >STOP THE LOOP > > > > > A long time ago, someone has implemented a "dtml-break" tag. Wow. That's good to know. I just created some fairly ugly code to get around the lack of somet

[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 and and an address, like so:   www.mysite.com/scripts/zope.pcgi/Anywhere/COMTemp/'+LUserOut+'.doc')"> to: /COMTemp...blah, blah)">    where baserefW contains the information replaced in the second sentence to make the address easily changea

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: -- 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 pa

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 Mozilla/

Re: [Zope] Uploaded File Interaction

2001-01-17 Thread Chris Withers
> I have found how > > > > 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 REQUEST['test_file'], should be the same thing and can both be played with like n

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 performance/a

  1   2   >