[Zope] Strange behaviour on authorization

2000-08-18 Thread Jarkko Veijalainen
i have been trying to figure this out and get help to this almost one week... i have login form called login: clip form name="LoginForm" action="email_accounts" method="post" div align="center"centerpUsername or ID br input type="text" name="cn"

Re: [Zope] Zope is very slow!

2000-08-18 Thread Stephan Goeldi
Why do you see any need to turn ProxyRequests On? I run the ProxyPass too, but there is no need for the ProxyRequest and the Proxy module. Perhaps there lies your problem. -goe- My configuration looks like this: IfModule mod_proxy.c ProxyRequests On #ProxyReceiveBufferSize 65536

RE: [Zope] Product inhetitance question (similar question)

2000-08-18 Thread NABETH Thierry
Title: RE: [Zope] Product inhetitance question (similar question) And what happen if the Class A is in a package PA. Clabb B is in a package PB. How do you access the namespace of PA from PB ? When I have tried, the inherited methods from A where not visible from B, and I and to

Re: [Zope] mysqlUserFolder woes

2000-08-18 Thread Stephan Goeldi
My server had the same symptoms with zShop. Basically, everything works fine - for a while - then it starts to intermittently fail as the load to the server increases, until it is completley broken, with the system error below.

Re: [Zope] Patch for Netscape 'tree' bug?

2000-08-18 Thread Pierre-Julien Grizel
** Reply to message from [EMAIL PROTECTED] on Fri, 18 Aug 2000 04:36:34 +0100 (BST) If it was the www.xlogx.org patch, yeah, I know the website is down (because of a silly man who tried to use Java servlets with Apache, and who broke my Apache conf files...), but I can email it to anyone asking

Re: [Zope] Patch for Netscape 'tree' bug?

2000-08-18 Thread Pierre-Julien Grizel
** Reply to message from [EMAIL PROTECTED] on Fri, 18 Aug 2000 04:36:34 +0100 (BST) [Hoping you didn't receive my previous message.] If you talk about the www.xlogx.org patch, I've made the site available again, you can find it at http://www.xlogx.org/Zope/TreeTag.query_expr.patch Be

Re: [Zope] The date in Dutch

2000-08-18 Thread Diny van Gool
At 19:45 17-8-00 +0200, Michel Houben wrote: How can I fix the date in Dutch, for example Donderdag 17 Augustus 2000 instead of Thursday 17 August 2000. I hope someone can solve this problem. Michel Houben. Hi, You can do this by using a python external method: Example: In your dtml-method

Re: [Zope] [Ann] Another Zope Book

2000-08-18 Thread Kapil Thangavelu
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,

[Zope] Dynamic object lookup

2000-08-18 Thread Helmut Toplitzer
Hi! I'm trying to get objects (even acquired) by pasing a string to a python method. Has someone an idea how to make that work? I've tried self.Object which works. When passing a string to the method I can't lookup the Object (Is there a replacement for getitem in Python Methods?) I tried

[Zope] . makes search engines happy...

2000-08-18 Thread Chris Withers
Andy McKay wrote: Dont put . in id's... I try not to anyway. Could we say . or if your id has a . use something else eg: dots in ids are essential if you rely of search engine hits for your site. .html .gif .txt Just processing the extension on a file name is a lot quicker than doing a

[Zope] The date in Dutch

2000-08-18 Thread Steve Alexander
Michel Houben wrote: How can I fix the date in Dutch, for example Donderdag 17 Augustus 2000 instead of Thursday 17 August 2000. I hope someone can solve this problem. I don't know any Dutch. However, here's an external method that will convert the months and days of the week in a string

Re: [Zope] HOWTO (but to be improved) - linking to neighbours

2000-08-18 Thread Marcin Kasperski
Dieter Maurer wrote: Marcin Kasperski writes: * Problem The problem: while presenting some page, I would like to automagically add links to 'previous' and 'next' page in the same directory. Say you organize a bunch of HOWTOS and you would like to let the people navigate via

[Zope] dtml-with object calls first?

2000-08-18 Thread Chris Withers
Hi, Just noticed this: If you do dtml-with object where object is something callable, it calls it. That's a bit unpleasant for things like Squishdot Sites which do something (return a list of all their elements) when you call them. So the only way to _really_ do what I thought dtml-with is

Re: [Zope] Dynamic object lookup

2000-08-18 Thread Chris Withers
Helmut Toplitzer wrote: Hi! I'm trying to get objects (even acquired) by pasing a string to a python method. Has someone an idea how to make that work? getattr(self,'string') ? cheers, Chris ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] [Ann] Another Zope Book

2000-08-18 Thread Max Møller Rasmussen
Fra: Kapil Thangavelu [mailto:[EMAIL PROTECTED]] I think most developers are forced to learn through trial and error because the docs don't do the components justice since they tend to focus on working understanding of zope's framework from dtml. and in the end they are forced to turn to the

[Zope] The date in Dutch

2000-08-18 Thread Steve Alexander
Sent again -- here's a slightly more compact version, that avoids declaring a separate class to hold the expressions in. Michel Houben wrote: How can I fix the date in Dutch, for example Donderdag 17 Augustus 2000 instead of Thursday 17 August 2000. I hope someone can solve this problem. I

Re: [Zope] Dynamic object lookup

2000-08-18 Thread Helmut Toplitzer
Chris Withers wrote: Helmut Toplitzer wrote: Hi! I'm trying to get objects (even acquired) by pasing a string to a python method. Has someone an idea how to make that work? getattr(self,'string') ? cheers, Chris NewsFolderClass is a CatalogAware Class created by me.

[Zope] The date in Dutch - last time!

2000-08-18 Thread Steve Alexander
Ok... this is the last time. You can put a line: del replacements just after the for loop, and save a tiny amount of memory. This might be a useful optimisation if you're dealing with a very large list of words to replace. -- Steve Alexander Software Engineer Cat-Box limited

[Zope] sending mail slow?

2000-08-18 Thread Chris Withers
Hi, I've noticed that sending mail from within Zope the sendmail tab or mailhost.send() is very slow (like it adds a few seconds to the time it takes to get a page back from a post). Why is that? how can I make it faster? I'd thought about having the actual mail sending done in a different

Re: [Zope] Total newbie with NTUserFolder 1.3 issues

2000-08-18 Thread Toby Dickenson
On Thu, 17 Aug 2000 16:48:44 +0100, Christian Adams [EMAIL PROTECTED] wrote: I'm running Zope 2.2.0 over NT Server 4. Me too. I installed Python 1.5.2 and the latest Win32 Extensions, then unzipped NTUserFolder1.3.zip into C:\Program Files\ZopeServer\NTUserFolder Thats good. then ran both

Re: [Zope] NTUserFolder-1.3-Comments

2000-08-18 Thread Toby Dickenson
On Thu, 17 Aug 2000 18:15:16 +0200, Jean Jordaan [EMAIL PROTECTED] wrote: Hi Toby In the source of NTUserFolder from end of last year I see: ## Experimental support for authenticating from a domain ## (rather than the local computer) Use this at your own ## risk. If you do, please let me know

[Zope] The date in Dutch - really last time!

2000-08-18 Thread Steve Alexander
Ok... this is *really* the last time. I don't know why I was using a regular expression, when string.replace would have done just as well. Here's my final version of the external method. I *promise* I won't change it again. Of course, the simplest version would be from string import replace

[Zope] Tracker and Zope 2.2

2000-08-18 Thread Hanno Schulz
Hi! I tried to add Tracker on my Zope 2.2 and get following error after inserting id an title and press the add button. -- Zope Error Zope has encountered an error while publishing this resource. Error Type: TypeError Error Value:

[Zope] dtml-else and 'unexpected end tag'

2000-08-18 Thread Chris Withers
Squishdot_manage_postings.dtml contains this weird bit of DTML: dtml-else reviewed FONT COLOR="RED"*/FONT /dtml-else reviewed Is this a weird bit of syntax that's allowed in DTML or is it a bug in the parser that means this isn't being picked up? If it's a weird bit of syntax, then

[Zope] DCOracle help required

2000-08-18 Thread Alwyn Schoeman
Hi, Let me explain my situation. The oracle server is version 7.3.4 running on Solaris. I compiled DCOracle 1.3.1b1 on the Sun using the Oracle 7 libraries. With this I can access an Oracle 8.0.5 database running on Linux over the network. Now I want to access the Oracle 7 database from a

RE: [Zope] NTUserFolder-1.3-Comments

2000-08-18 Thread Jean Jordaan
Hi Toby No feedback on this from anyone yet. Well, that doesn't really sound encouraging .. So it looks like the main NT-based authentication for Zope is currently jcNTUserFolder, running as pcgi behind IIS. I'm making an intranet for 100-200 people, with offices on three continents

Re: [Zope] sending mail slow?

2000-08-18 Thread Kapil Thangavelu
Chris Withers wrote: Hi, I've noticed that sending mail from within Zope the sendmail tab or mailhost.send() is very slow (like it adds a few seconds to the time it takes to get a page back from a post). Why is that? how can I make it faster? I'd thought about having the actual

Re: [Zope] dtml-with object calls first?

2000-08-18 Thread Kapil Thangavelu
Chris Withers wrote: Hi, Just noticed this: If you do dtml-with object where object is something callable, it calls it. That's a bit unpleasant for things like Squishdot Sites which do something (return a list of all their elements) when you call them. So the only way to _really_

[Zope] mailhosts and mail server speed

2000-08-18 Thread Chris Withers
Kapil Thangavelu wrote: sent. i was planning on doing this from python with either calls to the mailhost or smtplib. MailHost uses smptlib now, IIRC It's the call to mailhost.send() which is slow. I'd love to know why :S How much influence does the the mail server speed have to this? How can

[Zope] dtml-var x != dtml-var x is sucky!

2000-08-18 Thread Chris Withers
Kapil Thangavelu wrote: Comments, anyone? Huhh?? why is that sucky? The most common newbie trip-up is the difference between dtml-var x and dtml-var "x" This is another example of that suckiness. dtml-with doesn't say it executes its name, and doesn't feel like it should... cheers,

Re: [Zope] NTUserFolder-1.3-Comments

2000-08-18 Thread Toby Dickenson
On Fri, 18 Aug 2000 13:00:41 +0200, Jean Jordaan [EMAIL PROTECTED] wrote: Hi Toby No feedback on this from anyone yet. Well, that doesn't really sound encouraging... Or maybe everyone is quietly happy Toby Dickenson [EMAIL PROTECTED] ___

RE: [Zope] NTUserFolder-1.3-Comments

2000-08-18 Thread Jean Jordaan
Or maybe everyone is quietly happy Well, yes :) So, would all of those quietly happy people perhaps give a shout to reassure those of us who are loathe to install all of IIS for the sake of NT domain authentication? -- Jean Jordaan --technical writer-- Mosaic Sofware --

Re: [Zope] mailhosts and mail server speed

2000-08-18 Thread Shane Hathaway
Chris Withers wrote: It's the call to mailhost.send() which is slow. I'd love to know why :S How much influence does the the mail server speed have to this? How can I measure it? ;-) Set up Sendmail on localhost and see if the problem goes away. Sendmail (and most other mail servers) will

Re: [Zope] mailhosts and mail server speed

2000-08-18 Thread Chris Withers
Shane Hathaway wrote: It's the call to mailhost.send() which is slow. I'd love to know why :S How much influence does the the mail server speed have to this? How can I measure it? ;-) Set up Sendmail on localhost and see if the problem goes away. localhost is a windows NT

[Zope] cutting and pasting large folders

2000-08-18 Thread Jean Jordaan
Hi Zopers I'm trying to cut and paste (or copy and paste) '/docs' to '/in/docs'. The browser spins for about a minute or two, and then returns "HTTP 500 - Internal server error". Is this because '/docs' is large (about 10 or 15 Mb) (not very large) or because it contains instances of my 'ccDoc'

Re: [Zope] mailhosts and mail server speed

2000-08-18 Thread Shane Hathaway
Chris Withers wrote: localhost is a windows NT workstation ;-) ^^ This is the real problem and you know it. ;-) Hmm, I think our mailserver, which I was using for this, does a DNS check on the domain names to make sure they exist. I wonder if this is what is

[Zope] Workaround and a tree and dtml-in problem

2000-08-18 Thread Chris Withers
Phil Harris wrote: Why isn't _ available in the tree tag? The workaround is to wrap it in a dtml-let posting = "_.getitem('sequence-item',0)" But now I'm confused. Surely dtml-in postingValues dtml-let posting="_.getitem('sequence-item',0)" dtml-tree posting

[Zope] dtml-tree, the bane of my life :(

2000-08-18 Thread Chris Withers
Okay, firstly, I notice dtml-tree doesn't support the standard abbreviation: dtml-TAG "x" - dtml-TAG expr="x" As the following: dtml-tree "_.getitem('sequence-item',0)" branches="postingValues" gives me: Error Type: KeyError Error Value: "_.getitem('sequence-item',0)" nice... Now the one

Re: [Zope] dtml-tree, the bane of my life :(

2000-08-18 Thread Phil Harris
What a bloody good question: This has had me stumped all week! Why isn't _ available in the tree tag? Phil - Original Message - From: "Chris Withers" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, August 18, 2000 1:32 PM Subject: [Zope] dtml-tree, the bane of my life :(

Re: [Zope] unable to login with newly created user

2000-08-18 Thread Martijn Pieters
On Thu, Aug 17, 2000 at 02:28:07AM -0700, Corey wrote: Will having the Owner role actually keep me from logging in as that user? I can't seem to create a user *without* the Owner role anyhow... jeeze. Any other suggestions? I appreciate the help - in the mean time, I'm gong to

RE: [Zope] [Ann] Another Zope Book

2000-08-18 Thread Chris McDonough
Much of the aim of the "Product Developer's Guide" (see http://www.zope.org/Wikis/Docs/ProductDevelopersGuide) is to address the issues you bring up. It's been slow going, although I almost have the security chapter completed. Hopefully this weekend I'll be able to release that chapter.

[Zope] Meet Paul Everitt at the Paris Zope Meeting !

2000-08-18 Thread Maik Roeder
Hi everyone ! The Paris Zope Meeting is a great opportunity for Europe's Zope community to meet Paul Everitt, CEO of Digital Creations, who is currently in France for holidays. It is also a chance to meet Zope developers from England, Germany, Switzerland and of course France. If you want to

[Zope] Product question, third posting

2000-08-18 Thread Daniel Rusch
I've created a folderish product. When I select that product from the available objects list, thus creating an instance of that product, I can create objects like dtml document and dtml method in the new folderish object (very similar to what happens when you instantiate a folder object, you can

Re: [Zope] Workaround and a tree and dtml-in problem

2000-08-18 Thread Rik Hoekstra
-Original Message- From: Chris Withers [EMAIL PROTECTED] To: Phil Harris [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: vrijdag 18 augustus 2000 14:44 Subject: [Zope] Workaround and a tree and dtml-in problem Phil Harris wrote: Why isn't _ available in the tree tag?

[Zope] Pb getting local roles ... strange

2000-08-18 Thread Didier Georgieff
Hello, I'm on 2.1.6. I'm trying to have an information box with all roles. dtml-in "AUTHENTICATED_USER.getRoles()" dtml-var sequence-item /dtml-in works OK. But doesn't give the local roles. So i tried dtml-with URL0 dtml-in "get_local_roles()" dtml-var sequence-item /dtml-in /dtml-with

[Zope] ANNOUNCE: updated Hotfix release for recent mutable object issue

2000-08-18 Thread Brian Lloyd
Hi all - We recently made a Hotfix release to address an issue dealing with Zope APIs returning mutable objects that could be changed inappropriately from DTML (Hotfix_08_09_2000). After further investigation, there was another aspect to the problem that was not addressed in the recent

[Zope] TEST (please discard)

2000-08-18 Thread Jack Morgan
just a test, Sorry! Jack Morgan Debian GNU/Linux Enthusiast [EMAIL PROTECTED] http://www.mandinka.org ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross

[Zope] Creating Graphs

2000-08-18 Thread Stuart Foster
We need the ability to create multiple graphs from data that we get from Postgres. Currently we use a py method to call gnu plot, but we are looking for an alternative to serve up graphs. Any suggestions? I took a look at the Python Image Library is this the best solution? TIA Stuart

[Zope] Can't change title of a common instance property sheet

2000-08-18 Thread Jeff Sasmor
I suppose this is some sort of lack in the Zope management UI, but maybe someone else knows how to do this: If you create a ZClass property sheet you can pick an ID and a title. But you don't seem to be able to EDIT the title of the property sheet ever again. Is there some magic property sheet

Re: [Zope] Pb getting local roles ... strange

2000-08-18 Thread Shane Hathaway
Didier Georgieff wrote: Hello, I'm on 2.1.6. I'm trying to have an information box with all roles. dtml-in "AUTHENTICATED_USER.getRoles()" dtml-var sequence-item /dtml-in works OK. But doesn't give the local roles. So i tried dtml-with URL0 dtml-in "get_local_roles()"

[Zope] Re: Xron test

2000-08-18 Thread Loren Stafford
Nick, Two other Zopistas reported similar problems. Both succeeded eventually in getting Xron started, but we didn't succeed in diagnosing the problem, nor in determining precisely how to work around it. I myself haven't been able to reproduce the problem. The problem seems to occur only on

[Zope] Add a folder anywhere from anywhere

2000-08-18 Thread Francois-Regis CHALAOUX
Hi, USE CASE How to test if an "idFolder" exist in my "topFolder"? If the "idFolder" does not exist I would like to add it to "topFolder" Question == Who know why this code in an external method (EM) does not work? Code def addFolder(self, idFolder, topFolder):

[Zope] Apache is not caching Zope pages

2000-08-18 Thread Fabio Akita
Hello again There´s something very strange with the Apache + ZServer solution presented in the zope.org howtos. The problem is: I have a Zope 2.1.6 with SiteAccess and Apache 1.3.12 with the mod_proxy and mod_expire set up to that all request get at por 80 by Apache are proxed back to port 8080

Re: [Zope] sending mail slow?

2000-08-18 Thread Loren Stafford
From: "Chris Withers" [EMAIL PROTECTED] I've noticed that sending mail from within Zope the sendmail tab or mailhost.send() is very slow (like it adds a few seconds to the time it takes to get a page back from a post). Why is that? how can I make it faster? I'd thought about having the

Re: [Zope] . makes search engines happy...

2000-08-18 Thread Andy McKay
Andy McKay wrote: Dont put . in id's... I try not to anyway. Could we say . or if your id has a . use something else eg: dots in ids are essential if you rely of search engine hits for your site. .html .gif .txt Just processing the extension on a file name is a lot quicker than

Re: [Zope] [Ann] Another Zope Book

2000-08-18 Thread Andy McKay
There is room for both books. Zope is a powerful and very deep products. The majority of users are unlikely to go into a great deal of python, most are going to use the dtml and other basic functionality. If Zope is going to increase its market then this sort of book is essential to make Zope

RE: [Zope] Strange behaviour on authorization

2000-08-18 Thread Casey Duncan
Jarkko Veijalainen wrote: i have been trying to figure this out and get help to this almost one week... ... Zope loads login form with no problem (it's basicly static page) but when i try so POST data to email_headers with login form, popups Authorization failed window. I have tried to use

[Zope] Merging multiple catalogs

2000-08-18 Thread Andy McKay
Before I go off into coding mode has anybody had to deal with merging results from multiple catalogs? I have several catalogs and I would like to make this transparent by only having one search results interface. I quickly made one Catalog indexing multiple Catalogs but the result is multiple

[Zope] How to execute multiple SQL statements in one SQL-Method ?

2000-08-18 Thread Stuart Foster
I know it can be done but forgot how. Stuart ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce

RE: [Zope] How to execute multiple SQL statements in one SQL-Method ?

2000-08-18 Thread Mabe, Brad
SQLSTATEMENT 1 dtml-var sql_delimiter SQLSTATMENT 2 -Original Message- From: Stuart Foster [mailto:[EMAIL PROTECTED]] Sent: Friday, August 18, 2000 1:14 PM To: Zope List Subject: [Zope] How to execute multiple SQL statements in one SQL-Method ? I know it can be done but forgot how.

[Zope] Installing Zope

2000-08-18 Thread spambait
The Zope install notes say to find an installation directory that is *not* accessible to your web server. Is there a good reason for this? Security? Zope will install easily, if I put everything into my commercial host's cgi-bin. Is this asking for trouble? Yes, I have read gldnspud's

[Zope] Re: [Zope-dev] Aaargh, no safe seperators :S

2000-08-18 Thread Scott Shepherd
dtml-foo.[bar.dot].y In all the computer languages I know there's already a convention for solving this kind of problem. dtml-foo.bar\.dot.y But I prefer path-style identifiers: dtml-/foo/bar\.dot/y Then the correspondence to the site's folder structure is evident. Plus you

Re: [Zope] Apache is not caching Zope pages

2000-08-18 Thread Chris Withers
Fabio Akita wrote: the lack of robustness of ZServer makes it very slow and unstable (as expected). That's certainly not expected by me :( How did you come to this conclusion? What do you mean by slow? What do you mean by unstable? The strange thing is that the directory used for the cache

[Zope] Don't use relative links!

2000-08-18 Thread Chris Withers
Stuart Foster wrote: However if I traverse the two folders sometimes the URL looks like mainfolder/subfolder/subfolder/subfolder/index_html Why.. somewhere on one of you pages you have a link something like a href="subfolder/index_html" that's a relative link and thanks to the magic of

Re: [Zope] Don't use relative links!

2000-08-18 Thread Chris Withers
Chris Withers wrote: so, the above should actually be: a href="dtml.url-subfolder/index_html" erk :S a href="dtml.url-subfolder;/index_html" ^^^ sorry, Chris ___ Zope maillist - [EMAIL PROTECTED]

[Zope] ANNOUNCE ZEO 0.2.3 Released

2000-08-18 Thread Jim Fulton
A new bug-fix release of ZEO is available at: http://www.zope.org/Products/ZEO. This release makes versions work with ZEO. Previously, versions were almost entirely broken. See the CHANGES.txt file in the release for a list of other bugs fixed. If you encounter problems with ZEO, please

RE: [Zope] Merging multiple catalogs

2000-08-18 Thread Casey Duncan
There exists a howto on this very subject: http://www.zope.org/Members/Zen/howto/AdvZCatalogSearching Look under the "Or" section. Very helpful suggestions. Enjoy, Casey Duncan -Original Message--- From: "Andy McKay" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [Zope]

Re: [Zope] dtml-with object calls first?

2000-08-18 Thread Dieter Maurer
Chris Withers writes: If you do dtml-with object where object is something callable, it calls it. That's a bit unpleasant for things like Squishdot Sites which do something (return a list of all their elements) when you call them. So the only way to _really_ do what I thought

Re: [Zope] Creating an object from within another

2000-08-18 Thread Dieter Maurer
Daniel Rusch writes: So far so good, Next hurdle, at least the problems have been cut down to hurdles from walls. I have a folderish product say myFolder, in the manage_addMyFolder function I want to create an object of my product B. so I do this: def manage_addmyFolder(self,

Re: [Zope] DCOracle help required

2000-08-18 Thread Dieter Maurer
Alwyn Schoeman writes: Let me explain my situation. The oracle server is version 7.3.4 running on Solaris. I compiled DCOracle 1.3.1b1 on the Sun using the Oracle 7 libraries. With this I can access an Oracle 8.0.5 database running on Linux over the network. Now I want to access

RE: [Zope] Product inhetitance question (similar question)

2000-08-18 Thread Dieter Maurer
NABETH Thierry writes: And what happen if the Class A is in a package PA. Clabb B is in a package PB. How do you access the namespace of PA from PB ? from PA import A, . whatever you need class B(A): When I have tried, the inherited methods from A where not visible from B,

[Zope] Probable Bug in OFS.Image.index_html

2000-08-18 Thread Dieter Maurer
Today, I met again a strange problem: I wanted to implement an image relay for an international project: something like: if an image in the target language is available, take it, otherwise, the english image. My DTML looked like: dtml-let src="have_image(name,language) and

Re: [Zope] Re: Bug in dtml-in size=1

2000-08-18 Thread Dieter Maurer
Michael Best writes: http://classic.zope.org:8080/Collector/1056/view Back on Februrary 14th, I submitted this bug, however your account of it is much better than mine. You will find a patch (against Zope 2.1.6) under: URL:http://www.dieter.handshake.de/pyprojects/zope/dt_in.pat

[Zope] Fourth Posting, is this really that difficult or have I been blackballed :)balled :)

2000-08-18 Thread Daniel Rusch
I've created a folderish product. When I select that product from the available objects list, thus creating an instance of that product, I can create objects like dtml document and dtml method in the new folderish object (very similar to what happens when you instantiate a folder object, you can

[Zope] RE: Zope digest, Vol 1 #939 - 31 msgs

2000-08-18 Thread Nish Parikh
How do I unsubscribe -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, August 18, 2000 3:00 PM To: [EMAIL PROTECTED] Subject:Zope digest, Vol 1 #939 - 31 msgs

RE: [Zope] Don't use relative links!

2000-08-18 Thread Stuart Foster
Where can I find more information on how this is done. I'm not familiar with the dtml. notation? Thanks -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Chris Withers Sent: Friday, August 18, 2000 11:59 AM To: Stuart Foster; Zope List Subject: Re: [Zope]

[Zope] Odd problems with SiteAccess?

2000-08-18 Thread Christopher Heschong
I have a directory with a SiteAccess rule in it. Under that directory, versions and Zcatalogs no longer seem to work. This is with (SiteAccess-2-0-0b3)) and Zope 2.2.0 and 2.2.1b1 When I add a version, I can't start working in it. Clicking on the button doesn't seem to do anything. When I

Re: [Zope] Creating Graphs

2000-08-18 Thread Patrick Lewis
On Fri, Aug 18, 2000 at 08:23:31AM -0700, Stuart Foster wrote: We need the ability to create multiple graphs from data that we get from Postgres. Currently we use a py method to call gnu plot, but we are looking for an alternative to serve up graphs. Any suggestions? I took a look at the

Re: [Zope] [Ann] Another Zope Book

2000-08-18 Thread [EMAIL PROTECTED]
I'm using ZODB and ZEO seperate from Zope, no problem. --Darrell - Original Message - From: "Dieter Maurer" [EMAIL PROTECTED] I think Andrew completed the extraction of the ZODB. This means, Zope applications can use it for persistency. You, immediately, gain ZCatalog features,

Re: [Zope] Nested Tag Creation

2000-08-18 Thread Andrew Kenneth Milton
+---[ Dieter Maurer ]-- | Andrew Kenneth Milton writes: | I want to create a tag that has sub-tags. | | Now I know I can use blockContinuations to approximate this, but, I | think it would be cleaner to be able to define tags that are only available | within the

Re: [Zope] Don't use relative links!

2000-08-18 Thread Kapil Thangavelu
Stuart Foster wrote: Where can I find more information on how this is done. I'm not familiar with the dtml. notation? Chris Withers wrote: so, the above should actually be: a href="dtml.url-subfolder/index_html" erk :S a href="dtml.url-subfolder;/index_html"

Re: [Zope] Probable Bug in OFS.Image.index_html

2000-08-18 Thread andres
What version of Zope are you using? On Fri, Aug 18, 2000 at 08:21:36PM +0200, Dieter Maurer wrote: Today, I met again a strange problem: . . . I tracked this down to line 219 of "OFS/Image.py": Zope arrives their, when it receives an "IF-MODIFIED-SINCE" header and determines

Re: [Zope] Creating an object from within another

2000-08-18 Thread Kapil Thangavelu
Dieter Maurer wrote: Daniel Rusch writes: So far so good, Next hurdle, at least the problems have been cut down to hurdles from walls. I have a folderish product say myFolder, in the manage_addMyFolder function I want to create an object of my product B. so I do this:

Re: [Zope] Declaration of a sheet property as a personnalise class...

2000-08-18 Thread Kapil Thangavelu
Vincent wrote: Hi, I would like to add a new property to a ZClass that I created. Right now, I can choose between int, date, text, selection..., How can I choose another ZClass I created in the same product ? Thanks Vincent AFAIK you can't store objects in property sheets. you

Re: [Zope] Declaration of a sheet property as a personnalise class...

2000-08-18 Thread Kapil Thangavelu
Vincent wrote: Hi, I would like to add a new property to a ZClass that I created. Right now, I can choose between int, date, text, selection..., How can I choose another ZClass I created in the same product ? AFAIK you can't store objects in property sheets. you can store them as

Re: [Zope] Fourth Posting, is this really that difficult or have I been blackballed :)balled :)

2000-08-18 Thread Kapil Thangavelu
btw daniel, i've looked at some your postings for the day and i thought i should tell you that most of your problems would go away if you did subobject adding in your __init__ method within your class or in the hook method manage_afterAdd within your class. for future reference. You'd get all

[Zope] What's the best way to go from Zope to Oracle time and back..

2000-08-18 Thread Chris Beaumont
Total newbie question here.. The subject line says it all.. What's the best way to go from Zope to Oracle time and back? I would like to store the "beef" of my data in Oracle tables, and "instantiate" Zope objects from those tables.. Obviously this will require going back and forth between

Re: [Zope] Nested Tag Creation

2000-08-18 Thread Andrew Kenneth Milton
+---[ Dieter Maurer ]-- | Andrew Kenneth Milton writes: | I want to create a tag that has sub-tags. | | Now I know I can use blockContinuations to approximate this, but, I | think it would be cleaner to be able to define tags that are only available | within the

Re: [Zope] Referencing an object in a subfolder

2000-08-18 Thread Kapil Thangavelu
Chris Withers wrote: "Smith, Paul" wrote: I want to create an "images" directory for a web site and store image objects there that I can reference. How do I get a DTML document in a higher directory to see the images folder and locate the appropriate image? dtml-with images_folder

[Zope] Dots versus underscore in DTML

2000-08-18 Thread George Osvald
I know dots in file names are important when submitting the pages to the search engines. When I use them however, I'll loose the view tab(folder) when trying to view say index.html and I have to click on the file and then view it. If the file was named index_html I could just click on the view

Re: [Zope] Creating an object from within another

2000-08-18 Thread Chris McDonough
I think he meant ob.__of__(self) which wraps ob into the context of self. Useful for returning unwrapped Python objects while you're in Python. On Fri, 18 Aug 2000, Kapil Thangavelu wrote: Dieter Maurer wrote: Daniel Rusch writes: So far so good, Next hurdle, at least the

Re: [Zope-dev] Caching problems

2000-08-18 Thread Kapil Thangavelu
Bob Pepin wrote: On Wed, Aug 16, 2000 at 05:31:29PM +0100, Carlos Neves wrote: You directly change a nonpersistence participant object. As stated in http://www.python.org/workshops/2000-01/proceedings/papers/fulton/zodb3.html : [...] but mainly... RTFM ;-) Well, thanks, but too bad

[Zope-dev] /, XML, DTML syntaxgeddon

2000-08-18 Thread Chris Withers
Evan Simpson wrote: There a patch sitting around waiting for DTML syntaxgeddon which allows slash-separated paths in object names everywhere, not just in entity syntax. That could easily be extended to also allow colons as separators. Cool :-) I suggested the / thing to Steve who pointed out

[Zope-dev] why is manage_addZSQLMethod unavailable ?

2000-08-18 Thread Hannu Krosing
Why does this work dtml-call "_['testadd'].manage_addDTMLMethod('MethodId', 'Method Title','method text')" While this does not: dtml-call "_['testadd'].manage_addZSQLMethod('ZSQLID', 'ZSQL Title', 'DB','','select * from data')" Error Type: AttributeError Error Value:

Re: [Zope-dev] why is manage_addZSQLMethod unavailable ?

2000-08-18 Thread Rik Hoekstra
Why does this work dtml-call "_['testadd'].manage_addDTMLMethod('MethodId', 'Method Title','method text')" While this does not: dtml-call "_['testadd'].manage_addZSQLMethod('ZSQLID', 'ZSQL Title', 'DB','','select * from data')" Error Type: AttributeError Error Value:

[Zope-dev] Re: /, XML, DTML syntaxgeddon

2000-08-18 Thread Evan Simpson
From: Chris Withers [EMAIL PROTECTED] I suggested the / thing to Steve who pointed out that dtml-/folder/object; is bad XML/SGML and so 'Not a Good thing (tm)' Yes, well, making DTML compatible with XML is explicitly *not* a current goal, although having ':' as an alternative separator should

[Zope-dev] ZPatterns and Strategies Patterns etc....

2000-08-18 Thread Steve Spicklemire
Hi Folks, Well.. I never heard any comments about my last question.. so I thought I'd try to frame it differently. I just read Coad's book on Object Models etc.. and I think I pretty well 'grok' it.. at least enough to be mildly dangerous. ;-) I'm implementing a project with ZPatterns and I

Re: [Zope-dev] ZPatterns and Strategies Patterns etc....

2000-08-18 Thread Steve Alexander
Steve Spicklemire wrote: Hi Folks, Well.. I never heard any comments about my last question.. so I thought I'd try to frame it differently. I just read Coad's book on Object Models etc.. and I think I pretty well 'grok' it.. at least enough to be mildly dangerous. ;-) I'm implementing

[Zope-dev] DCOracle w/ 8.0.5 and HP-UX 11

2000-08-18 Thread Ron_Wood
Has anyone gotten this to work. I can get everything to compile but get a bus error when running DCOracle_test.py when importing oci_. I have python compiled with threads and used the -D_POSIX_C_SOURCE=199506L (-D_REENTRANT) flag. Any help would be greatly appreciated, Ron Wood

Re: [Zope-dev] patch for dtml-foo:bar:baz;

2000-08-18 Thread Jon Franz
This may, or may not, break the alternate syntax patch/download @ http://www.zope.org/Members/Coventry/dtml_shortcut I'll investigate and find out, and release a new dtml_shortcut if needbe. (I specifically used a colon since it is valid xml) What about using a colon as the separator, but

  1   2   >