Re: [Zope] Python/Zope API

2000-07-31 Thread Kapil Thangavelu
2. Are there ways to improve it? For example I would love to know how you can check if you can actually render an object. (For example you can not render Control_Panel). To render your python product objects in Zope like dtml-var yourObject you just define a method __str__ take a look

Re: [Zope] Calender Tag SQL caching

2000-07-31 Thread Kapil Thangavelu
Arjan Scherpenisse wrote: Hi everybody, This is my first posting to this list. I have a website which will make use of a calender, with events on it stored in a MySQL database. Now, i wondered how to efficiently show this data from the database in the calender. I mean, not in a way that

Re: [Zope] Calender Tag SQL caching

2000-07-31 Thread Kapil Thangavelu
Arjan Scherpenisse wrote: Hi everybody, This is my first posting to this list. I have a website which will make use of a calender, with events on it stored in a MySQL database. Now, i wondered how to efficiently show this data from the database in the calender. I mean, not in a way that

[Zope] getslice Error?

2000-07-31 Thread Marko MARKOVIC
Hi all, with this little code : dtml-in "showNSDetails(nsref=old_nsref)" start=query_start dtml-call "REQUEST.set('sdate','%s.%s.%s' % (ns_entrydate[8:],ns_entrydate[5:7],ns_entrydate[:4]))" input type="text" name="new_nsentrydate" value="dtml-var sdate" size="10" /dtml-in ns_entrydate is a

[Zope] RE: What is the best method to enter more attributes about DTL Document?

2000-07-31 Thread Frederic QUIN
Hi Marcin, you can write a new HTML page which add a new document. This page must contains a form which post the datas to the method "AddDTMLDocument", responsible for the creation of this object. But, if you need for example, to associate new properties to the new Document, you have to rewrite

[Zope] FSSession - don't call FSSession twice!

2000-07-31 Thread icottee
I've been using the excellent FSSession product (many thanks Mr Christoforou) to hold some information on the language a user wishes to display a page in. I kept having weird errors however - every now and again I'd change some code somewhere completely unrelated (even just adding a user) and

[Zope] Log Out

2000-07-31 Thread Kapil Thangavelu
Is there a way to log out of Zope without presenting a netscape dialog or killing the browser? i'd prefer that users have a link 'logout' that takes them back to the /root/index_html as anonymous ___ Zope maillist - [EMAIL PROTECTED]

[Zope] zodbc and mssql

2000-07-31 Thread shortie
hello zopers, i have swithed to windows 2000 from redhat linux 6.2, and now zope can response to my request.there comes another problem. the situation is i can add a z odbc database connection to mssql and i can add a sql method using this database connection. but when i try to

[Zope] what products to use?

2000-07-31 Thread Owen Smith
Hi all I am trying to implement a site which needs the following- A forum/discussion a database of members (400+) who can access certain parts of the site not available to anonymous users the ability for members to change their details online the ability for new members to sign up online

[Zope] using sister folder methods ?

2000-07-31 Thread Gijs Reulen
Hi I have a root level folder with a DTML Document. From within this document I want to use a DTML Method that is located in a sister folder; another folder from the root. I tried the full path but that does not seem to work. What else ? Gijs Reulen

RE: [Zope] Re: Unique id product

2000-07-31 Thread Gijs Reulen
A different approach: For each entry I just use the current date/time including a call: time.sleep(0.001) This way I am sure each entry will have a unique id. It is only slightly slower (0.001 second for each calc). However, it requires serial processing of entries and a stable time (only

[Zope] Fw: zodbc and mssql

2000-07-31 Thread shortie
answer to my own question: anyone who have exact problem can find your answer at http://www.egroups.com/message/zope/36394 i will search the archive before asking any question next time. sorry for the inconvinence. --'Life is like boxes of chocolate, Forrest. You never know what you're

Re: [Zope] PTK question ..

2000-07-31 Thread Chris Withers
Jean Jordaan wrote: ZopePTK-0.7.1.tar.gz Erk :( Theres' a much newer snapshot available at: http://www.zope.org/Members/taz/PTK cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross

Re: [Zope] How can I proxy from apache to zope and keep source host info?

2000-07-31 Thread Marcin Kasperski
Phil Harris wrote: There is a patch to Apache that you could apply that passes the client IP along in a different HTTP header, if that helps. It's at http://modules.apache.org/search?id=124. Does anyone has this module compiled for apache 1.3 handy (I mean mod_add_proxy.so file)? I use

[Zope] Can't create ZClass under 2.2.0

2000-07-31 Thread Tony McDonald
Hi all, I've got the Beehive tutorial on Zclasses and thought I'd try it out on a 2.2.0 system we have here. I have 'create constructor types' and 'nclude standard Zope persistent object base classes? ' set. I've tried selecting various Base Classes (and no base classes), but get the

Re: [Zope] zope.org down

2000-07-31 Thread Diny van Gool
Hi, After downloading the InterBase 6.0 check the version of IBConsole because the 309 version is corrupt. When you try to connect to a database you'll get the following message: "error connecting to database" ... "DPB Constant (0) is unknown" Download the 308 version of OBConsole at:

[Zope] Problem displaying Informix INTERVALs using DTML

2000-07-31 Thread Raymond Kelly
Hi, I am using Zope on a PC running on NT and using ODBC to connect to a Informix database. I am running a query that returns a column of INTERVAL type, calculated by subtracting to DATE types. The query, when tested using the test tab, displays the results as I expected. However, when I try to

[Zope] Sorting XML nodes?

2000-07-31 Thread Jean Jordaan
Hi Zopers (and Lex), From the (excellent) 'How-To: XMLDocument Example' (Created by eukreign. Last modified on 2000/06/06) I get the following to display all the nodes of an XML document: dtml-in "contacts[0].getElementsByTagName('contact')" tr td dtml-var

[Zope] ZCatalog updating

2000-07-31 Thread Aaron Williamson
I am convinced this is a stupid question that has been answered a hundred times already, but after scouring zope.org and the archives, I still don't know the answer, so... How can I automatically update my ZCatalog when items have been added/modified/changed? Thanks for any help, Aaron

Re: [Zope] ZCatalog updating

2000-07-31 Thread Chris Withers
Aaron Williamson wrote: How can I automatically update my ZCatalog when items have been added/modified/changed? CatalogAware Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML

[Zope] Passing 'document_title' to 'standard_html_header' from a method?

2000-07-31 Thread Jonathan
Hi all, I can't seem to get the 'document_title' from a method into a standard header (when using 'dtml-var document_title' in the header file the generated page uses the title of the header file itself. Using 'title_or_id' in the header file for a method uses the title or id from the folder

Re: [Zope] what products to use?

2000-07-31 Thread Kapil Thangavelu
Owen Smith wrote: Hi all I am trying to implement a site which needs the following- A forum/discussion a database of members (400+) who can access certain parts of the site not available to anonymous users the ability for members to change their details online the ability for new

[Zope] ZOracle LOB Questions

2000-07-31 Thread Alexander Schad
Hello! i have Oracle 8.1.6 ZOracleDA 2.2 installed with Zope 2.1.6 on a red hat linux machine. i have an oracle table with one column containing blobs. Now i have the following problems: 1. How can i retrieve data from that table in zope or in python (syntax) ? 2. How can i insert data to

Re: [Zope] Passing 'document_title' to 'standard_html_header' from a method?

2000-07-31 Thread Peter Bengtsson
http://www.zope.org/Members/michel/HowTos/DTMLMethodsandDocsHowTo "They [methods] do not act like most other Zope objects because they are methods of the folder that contains them. " Very important reading. I've forgotten most of it, but what I remember is important. - Original Message

[Zope] dynamic -- statically pages

2000-07-31 Thread Matthias Füsting
Hi! We have two server, a development-server and a "official-server" where the website are stored. On the development-server is ZOPE installed and on the "official-server" not. Is there any possibility, to produce the dynamic website statically. So that, I can transfer the website as normal

[Zope] ANN: ZUBB (Zope Ultimate Bulletin Board) 0.5.0 Release

2000-07-31 Thread J. Atwood
I have uploaded the update to ZUBB. Both the changes and readme are linked below. There are a few major presentation and feature changes but It still does not work with Zope 2.2. I will work on that when I have a chance (if anyone would like to help that would be great).

[Zope] Info SendMail + doctype

2000-07-31 Thread Vincent
OK, Following my previous Mail about HTML in the body of emails... I tryed several of your answers, but it doesn't work. My Oultook just displays evrything (included the br, body, etc...), eventhough I often receive mail with an HTML content (so my client is well configured). If you

Re: [Zope] Limiting folder space

2000-07-31 Thread Kapil Thangavelu
Brendon Grunewald wrote: I want to use Zope to offer registered visitors to my site a little free webspace on the site. Since I use hosting service that restricts and charges me for space, I would like to restrict the size that their zope folders can consume. Hence: Is there any simple

Re: [Zope] Starting Zope

2000-07-31 Thread Cary O'Brien
Bill wrote... Of course, it is entirely possible the user meant something other than s/he wrote. ;) But that last one doesn't seem to indicate that. To put it succinctly: If you want Zope to bind to port 80 on *nix you have few options: o Change Zope to run SID ** Bad Idea o

Re: [Zope] Starting Zope

2000-07-31 Thread Cary O'Brien
Interesting argument. However, consider this: if you completely trust your 'firewalled' box, then why not run the web server as root? One response, Protection of the system from simple mistakes by trusted users? Also root can do a lot more, such as putting interfaces into promiscious mode.

Re: [Zope] FSSession - don't call FSSession twice!

2000-07-31 Thread Pavlos Christoforou
On Tue, 1 Aug 2000 [EMAIL PROTECTED] wrote: Zope has encountered an error while publishing this resource. Error Type: OSError Error Value: [Errno 2] No such file or directory from the title) that I called FSSession twice. Line 193 appears to rename a .tmp file and I'd guess that by

[Zope] boolean property bug

2000-07-31 Thread Aleksander Salwa
Probably I found a bug in handling boolean properties in Zope 2.2.0. I can only set them "on", and then can't turn "off". I can have default value "off" (in ZClass definition), but after first switch to "true", it can't be changed. It only refers to handling properties via Zope's management

Re: [Zope] Log Out

2000-07-31 Thread Aleksander Salwa
On Sun, 30 Jul 2000, Kapil Thangavelu wrote: Is there a way to log out of Zope without presenting a netscape dialog or killing the browser? i'd prefer that users have a link 'logout' that takes them back to the /root/index_html as anonymous You can do it with one of the replacements

Re: [Zope] Starting Zope

2000-07-31 Thread Costagliola Giovanni
Hello I'm the man who generate this jungly mailing Simply, I use thesescripts: ---/usr/local/scripts/zstart- #!/bin/bash $ZOPE_BASE/start -u $ZOPE_USER -w 80 1/dev/null 21 --- the previous is

Re: [Zope] Starting Zope

2000-07-31 Thread Otto Hammersmith
I've done it this way: http://www.zope.org/Members/otto/portfw It's also relatively easy to convince a hosting provider to add this, as long as you have a dedicated IP address. Perhaps I should have done a news item when I created this... seems a lot of people have hacked around the issue is

[Zope] ANN: ZUBB 0.5.0 Release (Now works with Zope 2.2)

2000-07-31 Thread J. Atwood
After further testing I have a work around for 2.2 users. See the install doc for more information. I have uploaded the update to ZUBB. Both the changes and readme are linked below. There are a few major presentation and feature changes. http://www.zope.org/Members/BwanaZulia/ZUBB/

Re: [Zope] Limiting folder space

2000-07-31 Thread Otto Hammersmith
One thing I considered doing was using 2.2's mountable databases for something like this. Give each user their own database (possibly without undo information) and use a cron job to check file sizes. If you have root on the box, you could create users id's for each user and use quota on the

[Zope] Zope and large files strategies?

2000-07-31 Thread Marcin Kasperski
Are there any limitations for placing large (say 15 MB) files inside zope databases? What people running zope services and having to serve such a files usually do - place them in zope or serve them with apache (placing links inside zope web)? -- www.mk.maxi.pl | As a slow-witted human being I

Re: [Zope] Does 'favicon.ico' sound familiar to anyone?

2000-07-31 Thread Phil Harris
favicon.ico is the name of the icon file that MS IE uses to customize favorite listings. Your site must be being added to a few peoples favorites lists. You have two basic options: 1. live with it 2. use it, stick a file called favicon.ico in the root of your site. Do a search on the MS site

[Zope] Zpatterns makefile problem

2000-07-31 Thread Owen Smith
Hello Having a problem doing the Make file bit for ZPatterns zope@phonix:/usr/local/dc/zope/lib/python/Products/ZPatterns$ make -f Makefile.pre.in boot rm -f *.o *~ rm -f *.a tags TAGS config.c Makefile.pre python sedscript rm -f *.so *.sl so_locations VERSION=`python -c "import sys; print

Re: [Zope] Does 'favicon.ico' sound familiar to anyone?

2000-07-31 Thread Owen Smith
hi Its the file IE looks for when you bookmark a page Owen Marcin Kasperski wrote: Recently i started using Zope and so far I have Apache running on port 80 and shielding it (I employ ProxyPass and SiteAccess). Quickly after starting this configuration I notified a lot of File does not

[Zope] Trouble installing on Solaris

2000-07-31 Thread Paul Smith
Hi After playing with Zope on NT for a while, I decided it was time to try it on Solaris. I have duly downloaded the file, followed the installation instructions for the precompiled binary version, but when I run ./install I get get the following error:

RE: [Zope] Re: [Zope-dev] ZOracle LOB Questions

2000-07-31 Thread Chris McDonough
Please do not cross post to the zope and zope-dev mailing lists. -Original Message- From: Alexander Schad [mailto:[EMAIL PROTECTED]] Sent: Monday, July 31, 2000 11:38 AM To: Matthew T. Kromer Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: [Zope] Re: [Zope-dev] ZOracle LOB

[Zope] newbie question: user login

2000-07-31 Thread Peter Schneider-Kamp
I hope this is the right place to ask. Sorry, if it is not. I can login into zope as superuser without any problems, but I cannot login as the user "me" I created (with password "meme"). I have given owner and manager rights to "me". What else do I have to do? Python raises an "Unauthorized"

Re: [Zope] FSSession - don't call FSSession twice!

2000-07-31 Thread icottee
You are very welcome. By the way, just to confirm I don't have the problems I had before with the new 0.4 version of FSSession so I have no need now to try and call FSSession twice. Thanks once again Ian ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] Info SendMail + doctype

2000-07-31 Thread Aleksander Salwa
On Mon, 31 Jul 2000, Vincent wrote: Following my previous Mail about HTML in the body of emails... I tryed several of your answers, but it doesn't work. My Oultook just displays evrything (included the br, body, etc...), eventhough I often receive mail with an HTML content (so my client is

Re: [Zope] getslice Error?

2000-07-31 Thread R. David Murray
On Mon, 31 Jul 2000, Marko MARKOVIC wrote: dtml-in "showNSDetails(nsref=old_nsref)" start=query_start dtml-call "REQUEST.set('sdate','%s.%s.%s' % (ns_entrydate[8:],ns_entrydate[5:7],ns_entrydate[:4]))" input type="text" name="new_nsentrydate" value="dtml-var sdate" size="10" /dtml-in

[Zope] restarting zope.org

2000-07-31 Thread ethan mindlace fremen
back in a second -- ethan mindlace fremen Zopatista Community Liason Abnegate I! ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -

Re: [Zope] How to start developing in zope

2000-07-31 Thread Nico Grubert
Date: Thu, 27 Jul 2000 06:42:39 -0400 (EDT) From: Firestar [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [Zope] How to start developing in zope Hi, I have read through(and tried out) the tutorials and Guides at Zope.org, and now eager to port my company's website over to Zope. (The website

Re: [Zope] 2.2.0, LoginManager and ZPatterns

2000-07-31 Thread ethan mindlace fremen
Bill Anderson wrote: Where I can find this 'Membership' product ? (I've tried www.zope-treasures.com and 'Search' on www.zope.org). http://www.zope.org/Members/Bill/Products/Membership well, it may be alpha, but I catalogued it anyway (so that people can find it) -- ethan mindlace

[Zope] How do I control iteration over XML elements?

2000-07-31 Thread Jean Jordaan
Hi all If I have (in an XML Document): teams team nameName of team/name descWhite papers, brochures, case studies./desc member class="leader"Tracey/member memberEduan/member memberJacqui/member /team /teams Then: dtml-in "teams[0].getElementsByTagName('team')" dtml-var

[Zope] Old Zope

2000-07-31 Thread Luis Cortes
Does anybody know where I might still be able to download Zope 2.1.6? Thank ahead of time for any help, Luis.

Re: [Zope] ZCatalog updating

2000-07-31 Thread R. David Murray
On Mon, 31 Jul 2000, Aaron Williamson wrote: I am convinced this is a stupid question that has been answered a hundred times already, but after scouring zope.org and the archives, I still don't know the answer, so... How can I automatically update my ZCatalog when items have been

[Zope] HTML in Mail - It is working

2000-07-31 Thread Vincent
All good, it is working : dtml-var standard_html_header dtml-sendmail mailhost="MailHost" From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: hejka5 MIME-Version: 1.0 dtml-mime type=text/html encode=quoted-printable Hello !br Here we have some bHTML/b tags.brbr /dtml-mime /dtml-sendmail

Re: [Zope] Full path var on Zope.org login link (Ethan!)?

2000-07-31 Thread Nick Garcia
ethan mindlace fremen wrote: "J. Atwood" wrote: What DTML-VAR do they use on Zope.org to populate the came_from variable for the 'login' link? http://www.zope.org/standard_html_header/view_source dtml-URL0; Note that if you have any variables in your URL, this won't work. You

Re: [Zope] Zope and large files strategies?

2000-07-31 Thread R. David Murray
On Mon, 31 Jul 2000, Marcin Kasperski wrote: Are there any limitations for placing large (say 15 MB) files inside zope databases? What people running zope services and having to serve such a files usually do - place them in zope or serve them with apache (placing links inside zope web)? No

Re: [Zope] Zpatterns makefile problem

2000-07-31 Thread R. David Murray
On Mon, 31 Jul 2000, Owen Smith wrote: make[1]: *** No rule to make target `/usr/lib/python1.5/config/Makefile', needed by `sedscript'. Stop. make[1]: Leaving directory `/usr/local/dc/zope/lib/python/Products/ZPatterns' make: *** [boot] Error 2 Where am I going wrong? I know

Re: [Zope] Old Zope

2000-07-31 Thread R. David Murray
On Mon, 31 Jul 2000, Luis Cortes wrote: Does anybody know where I might still be able to download Zope 2.1.6? Thank ahead of time for any help, If you look at the URL you would access to download 2.2.0, and replace the version number with 2.1.6, I think you'll find you can still download

Re: [Zope] Does 'favicon.ico' sound familiar to anyone?

2000-07-31 Thread Marcin Kasperski
Phil Harris wrote: favicon.ico is the name of the icon file that MS IE uses to customize favorite listings. Your site must be being added to a few peoples favorites lists. (...) Thank you very very much. I was doing desparate searches including zope and apache sources grep, mirroring my

[Zope] Permissions question.

2000-07-31 Thread Jeff K. Hoffman
Hello, I am having a permissions problem, and am hoping someone on the list will see the error in my ways. I have a ZClass, called a FooManager, that inherits from ObjectManager. It is responsible for creating (and managing) Foo objects. In the FooManager ZClass, I created a DTMLMethod called

Re: [Zope] boolean property bug

2000-07-31 Thread Aleksander Salwa
On Mon, 31 Jul 2000, I wrote: Probably I found a bug in handling boolean properties in Zope 2.2.0. I can only set them "on", and then can't turn "off". I can have default value "off" (in ZClass definition), but after first switch to "true", it can't be changed. It only refers to handling

Re: [Zope] boolean property bug

2000-07-31 Thread Jonothan Farr
You should submit this to the collector, preferable with a patch! ;) Otherwise it's likely to get lost in the chaos of the list. http://classic.zope.org:8080/Collector --jfarr "Perl is worse than Python because people wanted it worse." Larry Wall, 14 Oct 1998 - Original Message -

[Zope] 2.2 and ZLDAPConnection - editAttributes fails.

2000-07-31 Thread Corey Zimmet
Has anyone succeeded in getting ZLDAPConnections to work with Zope 2.2? When I try to perform an edit on an Entry object, the edit appears to work. However, the transaction is never committed to the LDAP server. Also, when doing the examples from the Howto, I have to explicitly call the Entry

[Zope] LoginManager / Membership: WTFM (Where's the...)

2000-07-31 Thread Danny William Adair
Hi all! I've successfully installed current releases of ZPatterns, LoginManager and "Membership". This Membership product comes up with some nice high level methods / forms for the common procedures, but still doesn't help me with my basic LoginManager question: How do I add users? I can see

[Zope] newbie question: how do I adjust field width?

2000-07-31 Thread Joe Hewitt
Hi, I'm making an input form. When I try to change the form's input field width, it automagically displays 30 char for each field. Is there any way to adjust the width? Different question: where can I find some good examples of how to validate input? Thanks. -- Joe Hewitt

Re: [Zope] getslice Error?

2000-07-31 Thread Dieter Maurer
Marko MARKOVIC writes: dtml-in "showNSDetails(nsref=old_nsref)" start=query_start dtml-call "REQUEST.set('sdate','%s.%s.%s' % (ns_entrydate[8:],ns_entrydate[5:7],ns_entrydate[:4]))" input type="text" name="new_nsentrydate" value="dtml-var sdate" size="10" /dtml-in ns_entrydate is

Re: [Zope] using sister folder methods ?

2000-07-31 Thread Dieter Maurer
Gijs Reulen writes: I have a root level folder with a DTML Document. From within this document I want to use a DTML Method that is located in a sister folder; another folder from the root. I tried the full path but that does not seem to work. What else ? dtml-with other_folder

Re: [Zope] Python/Zope API

2000-07-31 Thread Kapil Thangavelu
"Alexandre A. Rodioukov" wrote: Kapil Thangavelu [EMAIL PROTECTED] writes: 2. Are there ways to improve it? For example I would love to know how you can check if you can actually render an object. (For example you can not render Control_Panel). To render your python

[Zope] server dies

2000-07-31 Thread Leichtman, David J
I was wondering if anyone else had experienced this problem: Ever since we installed the ZPoPy database adapter, the server has been occasionally crashing, and it gets worse and worse over time. Has anyone else experienced this problem? We're running Zope through Apache, on a Solaris box, with

[Zope] ZUBB / ZDiscussions Users or Examples

2000-07-31 Thread J. Atwood
I have started a page (http://www.zope.org/Members/BwanaZulia/ZUBB/EXAMPLES) to list sites that are building / using ZUBB or ZDiscussions. I would love if you are using it to send me a link and you permission to add you to the list. I will also add you to a mailing list to let you know what the

[Zope] From a Folder to a Product

2000-07-31 Thread Cesar A. K. Grossmann
Hi! I'm pretty satisfied with a group of reports I have done in Zope, and want to put a copy of it in every customer's folder I have in the Zope Server. Are there a document/tutorial I can use as a guide or tutorial to do this? If someone wants to point some general guidelines, the folder

Re: [Zope] PTK question ..

2000-07-31 Thread ethan mindlace fremen
Chris Withers wrote: Jean Jordaan wrote: ZopePTK-0.7.1.tar.gz Erk :( Theres' a much newer snapshot available at: http://www.zope.org/Members/taz/PTK This is catalogued now. -- ethan mindlace fremen Zopatista Community Liason Abnegate I!

Re: [Zope] Passing 'document_title' to 'standard_html_header' from a method?

2000-07-31 Thread Dieter Maurer
I can't seem to get the 'document_title' from a method into a standard header (when using 'dtml-var document_title' in the header file the generated page uses the title of the header file itself. I just read in "zope-ptk" that a namespace has an (undocumented) "this" attribute pointing to

Re: [Zope] Starting Zope

2000-07-31 Thread Cary O'Brien
I've done it this way: http://www.zope.org/Members/otto/portfw It's also relatively easy to convince a hosting provider to add this, as long as you have a dedicated IP address. Perhaps I should have done a news item when I created this... seems a lot of people have hacked around the

RE: [Zope] using sister folder methods ?

2000-07-31 Thread Gijs Reulen
Thanks everybody for the tons of hints ! Works great now and I really start to understand some things. Gijs Reulen wrote: Hi I have a root level folder with a DTML Document. From within this document I want to use a DTML Method that is located in a sister folder; another folder

Re: [Zope] How do I control iteration over XML elements?

2000-07-31 Thread Curtis Maloney
On Tue, 01 Aug 2000, Jean Jordaan wrote: Hi all If I have (in an XML Document): teams team nameName of team/name descWhite papers, brochures, case studies./desc member class="leader"Tracey/member memberEduan/member memberJacqui/member /team /teams Then: dtml-in

Re: [Zope] From a Folder to a Product

2000-07-31 Thread R. David Murray
On Mon, 31 Jul 2000, Cesar A. K. Grossmann wrote: If someone wants to point some general guidelines, the folder contains only the dtml docs/methods and SQL connection/SQL Queries used to do the report, and the only thing that changes from one to another customer is the SQL connection (every

Re: [Zope] dtml-tree question

2000-07-31 Thread Jonothan Farr
Jonothan Farr wrote: Is it because the document is at the top of the namespace stack instead of the request object in the dtml document case, but not in the dtml method case? Hurm, thinking for the right words and I think(?) namespace is the right one. Anyway, DTML documents have one

[Zope] OT: Unix Permissions (was Re: [Zope] Starting Zope)

2000-07-31 Thread Bill Anderson
Cary O'Brien wrote: [...] in your case is the fact that you mention your trust on users(humans are the most easy to compromise, however that argument is a bit OT). However, do you trust all of your webserver code? Do you trust your cgi-bin scripts and applications? And by trust I not

Re: [Zope] LoginManager / Membership: WTFM (Where's the...)

2000-07-31 Thread Bill Anderson
Danny William Adair wrote: Hi all! I've successfully installed current releases of ZPatterns, LoginManager and "Membership". This Membership product comes up with some nice high level methods / forms for the common procedures, but still doesn't help me with my basic LoginManager

Re: [Zope] newbie question: how do I adjust field width?

2000-07-31 Thread Bill Anderson
Joe Hewitt wrote: Hi, I'm making an input form. When I try to change the form's input field width, it automagically displays 30 char for each field. Is there any way to adjust the width? Basic HTML Question. Please read HTML docs. Different question: where can I find some good

Re: [Zope] 2.2.0, LoginManager and ZPatterns

2000-07-31 Thread Bill Anderson
ethan mindlace fremen wrote: Bill Anderson wrote: Where I can find this 'Membership' product ? (I've tried www.zope-treasures.com and 'Search' on www.zope.org). http://www.zope.org/Members/Bill/Products/Membership well, it may be alpha, but I catalogued it anyway (so that people

Re: [Zope] ZUBB / ZDiscussions Users or Examples

2000-07-31 Thread Bill Anderson
"J. Atwood" wrote: I have started a page (http://www.zope.org/Members/BwanaZulia/ZUBB/EXAMPLES) to list sites that are building / using ZUBB or ZDiscussions. I would love if you are using it to send me a link and you permission to add you to the list. I will also add you to a mailing

[Zope] The Western Web Newsletter

2000-07-31 Thread The Western Web
THE WESTERN WEB WEEKLY NEWS LETTER Week of July 24, 2000 Serving Over 75000 Recipients With your assistance "The Western Web" continues to improve and your input is helpful.Our goal is to make "The Western Web" THE one place stop for all your Horse, Livestock and Western Life

[Zope] Re: [Zope-dev] ZOracle LOB Questions

2000-07-31 Thread Matthew T. Kromer
Alexander Schad wrote: Hello! i have Oracle 8.1.6 ZOracleDA 2.2 installed with Zope 2.1.6 on a red hat linux machine. i have an oracle table with one column containing blobs. Now i have the following problems: 1. How can i retrieve data from that table in zope or in python (syntax)

[Zope] Re: [Zope-dev] ZOracle LOB Questions

2000-07-31 Thread Alexander Schad
Alex, Oracle 8i broke DCOracle's support for LOBs; DCOracle primarily uses OCI 7 (Oracle 7) calls, and Oracle 8i enforces a restriction that OCI 8 objects cannot be used in the context of an OCI 7 statement. You can use Oracle 8.0 for this, the restriction isn't enforced until Oracle 8.1.

Re: [Zope-dev] ZPatterns design question

2000-07-31 Thread Steve Alexander
"Phillip J. Eby" wrote: At 11:09 PM 7/30/00 +0100, Steve Alexander wrote: Let's say I have an AddressBook specialist. Why? :) Seriously, what is the function of "address book" in your application? Is it to find people in general? Or...? As in your example later, the Addresses

Re: [Zope-dev] Ids starting with _

2000-07-31 Thread Toby Dickenson
On Sun, 30 Jul 2000 10:38:44 +0100, Chris Withers [EMAIL PROTECTED] wrote: Dieter Maurer wrote: I wonder why starting folders with _ is so bad in Zope? In the time, when everything was allowed what was not explicitely forbidden, an easy way was necessary to forbid access. Jim (and,

[Zope-dev] RE: Additional Quoting; Exposing Auxiliary Tag Functions via _

2000-07-31 Thread Casey Duncan
Dieter Maurer writes: The existing "quote features" name the context for which quoting is needed. The context determines what needs to be quoted and how quoting has to be done. Your proposal does not state the context but only the how. Otherwise, I would think such an extension would be

[Zope-dev] Acquisition Confusion :S

2000-07-31 Thread Chris Withers
Hi Jim, (or any zope-dev'ers who can explain this ;-) I've just been reading: http://www.zope.org/Members/jim/Info/IPC8/AcquisitionAlgebra ...and I've got confused on the 'Getting the containment wrapper' section. In anser to 'What is A.B.C.D?' I can't see how you can get: ((D o (C o A)) o (B

Re: [Zope-dev] ZOracle LOB Questions

2000-07-31 Thread Matthew T. Kromer
Alexander Schad wrote: Alex, Oracle 8i broke DCOracle's support for LOBs; DCOracle primarily uses OCI 7 (Oracle 7) calls, and Oracle 8i enforces a restriction that OCI 8 objects cannot be used in the context of an OCI 7 statement. You can use Oracle 8.0 for this, the restriction isn't

[Zope-dev] Are full pathnames in error messages a security bug?

2000-07-31 Thread R. David Murray
I don't know if this has been raised before, but the following excerpt from the most recent SANS security alert concensus made me think: -- Forwarded message -- [...] -- {00.31.014} Apache TomCat leaks system information Apache's TomCat server has been found to provide various

Re: [Zope-dev] MethodGeddon

2000-07-31 Thread Shane Hathaway
Chris Withers wrote: http://www.zope.org/Wikis/zope-dev/MethodGeddon Just been reading about this and I was wondering how is coming along... After more pondering I decided to throw out the idea for typed arguments. I was trying to solve a difficult problem with a roundabout, and in the

Re: [Zope-dev] Re: ZScheduler and SSL

2000-07-31 Thread R. David Murray
On Mon, 31 Jul 2000, Loren Stafford wrote: If there is a generally available solution to this SSL client problem, I wouldn't mind building it into ZScheduler as an option. At the very least, I could encapsulate the client interface in a separate module. Then you could conveniently replace

Re: [Zope-dev] Ids starting with _

2000-07-31 Thread Chris Withers
Toby Dickenson wrote: Almost all zope-manageable classes (and certainly Folders, that Dieter mentioned) use the old rule. This happens because they derive from SimpleItem.Item, which has __allow_access_to_unprotected_subobjects__=1 1) Why does SimpleItem still have this?! Since so much, IIRC,

[Zope-dev] Re: Collector #1457: DateTime strftime() -- still broken

2000-07-31 Thread Steve Alexander
[EMAIL PROTECTED] wrote: Steve Alexander reported: This is a patch to address collector item 1455. Here's a working patch to make formatting of a DateTime instance work as generally expected, when you use dtml-var "_.DateTime()" fmt="%d %H %z" or whatever. It could be

Re: [Zope-dev] Acquisition Confusion :S

2000-07-31 Thread Chris Withers
I still don't get this :( Here's the situation: A has attributes B and C, C has attribute D my old working: A.B.C.D = (B o A) : .C.D now, since C is found in A: = ((C o A) o (B o A)) : .D again since D is found in C: = ((D o C) o ((C o A) o (B o

Re: [Zope-dev] ZOracle LOB Questions

2000-07-31 Thread Matthew T. Kromer
Alexander Schad wrote: Hello! i have Oracle 8.1.6 ZOracleDA 2.2 installed with Zope 2.1.6 on a red hat linux machine. i have an oracle table with one column containing blobs. Now i have the following problems: 1. How can i retrieve data from that table in zope or in python (syntax)