[Zope] Problems with adding tutorial

2000-12-13 Thread Bob Sidebotham
(I submitted this as a bug report, and then I later discovered this list. So perhaps it's overkill to send this here, too. Normally I would have sent it here first, then filed a bug report if it was obvious that it was a new bug. So I apologize for the redundancy). When I click "ADD" to add a zop

[Zope] multiple selects are not allowed

2000-12-13 Thread Diny van Gool
Hi, I want to execute multiple SQL statements in one SQL-Method. In the mailinglist archives i found the answer but when i try it i get an error: Error, exceptions.ValueError: multiple selects are not allowed I used a simple Z SQL Method query (Zope 2.2.2) just to try: select * from GENEESM_DI

[Zope] Problem on running the ZOPE by using ZmySQLDA

2000-12-13 Thread Angietel
Finally my ZOPE is connected to MySQL succesfully, i can insert, delete the record,but i can not search and view my record in ZOPE. When i go to MySQL it can shows all my database records after my modification in ZOPE. Every time when i want to search or view my records it will promt out the

Re: [Zope] HTTPServer.py patch

2000-12-13 Thread Oleg Broytmann
On Tue, 12 Dec 2000, Evan Simpson wrote: > >With the recent patch I have problems connecting directly to ZServer > > (port 8080) - Zope reported error 500 and restarted itself. > > Is this the patch from the Collector, or the replacement HTTPServer.py I > recently mailed out? If it's the repl

[Zope] Changing a Zclass meta type doesn't work

2000-12-13 Thread Ivan Cornell
Hi all, I've finally tracked down the bug that was preventing me from using copy/paste/rename with my ZClasses (_verifyObjectPaste exceptions). It's caused by the fact that I changed their meta type names after creation to allow them to be stored easily in a tokens attribute (I removed the spaces

Re: [Zope] Python Scripts and Versioning

2000-12-13 Thread Chris Withers
Michel Pelletier wrote: > > See, people used to post helpful little things like this in DTML. What a > nightmare. Python Scripts rock! We're gonna be seein' alot more of them > fly by on the list once people get over the initial shock that they can do > 90% of what they've been doing in Python

Re: [Zope] SiteAccess, SSL + SiteRootBASE

2000-12-13 Thread Chris Withers
emf wrote: > > I do this in the access rule. > > > > Shouldn't that access rule be a Python Script: if condition: REQUEST.set('SiteRootBASE','some-value') *grinz* Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailm

Re: [Zope] ANNOUNCE: Zope 2.3.0 alpha 1 released...

2000-12-13 Thread Chris Withers
Michel Pelletier wrote: > > On Tue, 12 Dec 2000, Chris Withers wrote: > > That being said, perhaps you can be the first person to get it to work > using the various free ports of gcc to windows. There a how-to on compiling with gcc anywhere? cheers, Chris

[Zope] Dreamweaver and WebDav

2000-12-13 Thread Hans de Wit
Is anybody using the combination Dreamweaver 4 WebDAV Zope already? A connection was easy to make. At the moment i want to put or get something "access to the desired resource is denied by the server". I checked my password, i have the correct rights, and it is working more or less fine on ftp.

[Zope] Gopher from Zope

2000-12-13 Thread Dario Lopez-Kästen
I wanna serve gopher:// from Zope :-) Is it possible? Don't need answers like "but gopher is old, ugly, etc", "we will loose all fomatting, etc", etc. Thanks, /dario :)) read all about it: gopher://gopher.heatdeath.org/00/the%20gopher%20manifesto.txt - ---

Re: [Zope] Gopher from Zope

2000-12-13 Thread Oleg Broytmann
On Wed, 13 Dec 2000, Dario Lopez-Kästen wrote: > I wanna serve gopher:// from Zope :-) > > Is it possible? It is possible, but no so simple. How would you map gopher menues to Zope objects? On the positive side - thanks Zope for your component-based architecture. You just need to write Gop

Re: [Zope] multiple selects are not allowed

2000-12-13 Thread Jose Soares
from ZSQL Methods User's Guide, last row on pag. 22: "Note that no more than one SQL select statement may be used in a single SQL Database Method." Diny van Gool wrote: > Hi, > > I want to execute multiple SQL statements in one SQL-Method. In the > mailinglist archives i found the answer but

Re: [Zope] multiple selects are not allowed

2000-12-13 Thread Dario Lopez-Kästen
- Original Message - From: "Jose Soares" <[EMAIL PROTECTED]> Subject: Re: [Zope] multiple selects are not allowed > from ZSQL Methods User's Guide, last row on pag. 22: > > "Note that no more than one SQL select statement may be used in a single SQL > Database Method." > > Diny van Gool

[Zope] Advanced Transactions:

2000-12-13 Thread Paolo Quaglia
Hi All, I'm building a high transaction traffic db application using Zope. I used for this tests two DB: MSAccess 97 and SQL Server 7.0 with the ZODBCDA product   I have made some tests and I have found this:   The test is: I have two DTML document called Test1 and Test2 I have 2 ZSQL Qu

[Zope] default values in forms

2000-12-13 Thread Olaf Zanger
hi there, i'd like to send default values for an data update with the link to the form like c unfortunately name may contain spaces. i found out that spaces may be replaced by "+" in the link, but how do i get the "+" into the statement? thanks for help olaf -- soli-con Engineering Zang

Re: [Zope] Problems with adding tutorial

2000-12-13 Thread Aleksander Salwa
On Tue, 12 Dec 2000, Bob Sidebotham wrote: > I did see the messages regarding creating a non-admin user and > authenticating as that user (by first terminating the zope process). I > did all that. Terminating BROWSER, not Zope. > Please note that I'm using the latest zope tarball: > > Linux

[Zope] Lost with navigation using objectValues

2000-12-13 Thread Stephane Bortzmeyer
I just try to automatically get a list of subfolders, following the example in the ZopeBook . Here is my code, in a DTML method in the root folder: If I call it from /index_html, it works fine. If I call

[Zope] More on DB Transactions

2000-12-13 Thread Paolo Quaglia
Reading the [EMAIL PROTECTED] archive I found one message with an interesting sentence:   [Message] > I am currently considering and evaluating Zope as one of the options we have> to build a really large, completely databasedriven "enterprise scale"> web-platform. I am a bit worried about th

Re: [Zope] HTTPServer.py patch

2000-12-13 Thread Evan Simpson
From: Oleg Broytmann <[EMAIL PROTECTED]> >I've got the patch from the mailing list. I saw only one replacement > HTTPServer.py here - 13979 bytes in size. Looks like you've got the one that only works with Zope 2.0 - 2.1.6. If you're using Zope 2.2.0 or above, you need the other one. See ht

Re: [Zope] HTTPServer.py patch

2000-12-13 Thread Oleg Broytmann
On Wed, 13 Dec 2000, Evan Simpson wrote: > Looks like you've got the one that only works with Zope 2.0 - 2.1.6. If > you're using Zope 2.2.0 or above, you need the other one. See > http://www.zope.org/Members/4am/postbugfix Got it. Now it works. Thank you. Oleg. Oleg Broytmann

RE: [Zope] HTML formatting from a text field

2000-12-13 Thread Lee Hunter
Hi Ausum, Do you mean a text field that shows a row of formatting buttons at the top for 'bold', 'italic' 'add link' etc. There is an ActiveX control that is built in to IE Explorer 5.x - you just have to call it from your page. Here's the information from Microsoft: http://msdn.microsoft.com/

Re: [Zope] More on DB Transactions

2000-12-13 Thread Rik Hoekstra
> Paolo Quaglia wrote: > > Reading the [EMAIL PROTECTED] archive I found one message with an > interesting sentence: > > [Message] > > I am currently considering and evaluating Zope as one of the options > we have > > to build a really large, completely databasedriven "enterprise > scale" > >

Re: [Zope] HTML formatting from a text field

2000-12-13 Thread Rik Hoekstra
Lee Hunter wrote: > > Hi Ausum, > > Do you mean a text field that shows a row of formatting buttons at the top > for 'bold', 'italic' 'add link' etc. > > There is an ActiveX control that is built in to IE Explorer 5.x - you just > have to call it from your page. > > Here's the information fr

Re: [Zope] ZWiki hierarchy seems to be broken

2000-12-13 Thread Simon Michael
do you see more than one page name in your url path - eg FrontPage/FrontPage ? are you acquiring a different standard_wiki_header from somewhere ? are you failing to acquire it ? (does page source include "" ?) are permissions ok ? ___ Zope maillist

[Zope] HTML formatting from a text field

2000-12-13 Thread David Spencer
Ausum, I would suggest going to the website for Lotus Quickplace (www.quickplace.com or www.lotus.com) and signing up for a demo account. They've got a very simple word processor (bold, italics, a couple of fonts, etc.) integrated into their project sites that, I think, does what you're describin

Re: [Zope] Last day of Month

2000-12-13 Thread Jose Soares
Use an External Method like this one. # Perché non usare un metodo esterno? from DateTime import Date def lastDay(year,month): try: last = Date(year,month+1,1)-1 return last.day except: return 31 José Eric Walstad wrote: > Hi Paolo, > I have a Python Metho... e

[Zope] turning off inheritance

2000-12-13 Thread Kyler B. Laird
I am working on generating a directory from Zope objects. There is a folder full of units (other folders). These units contain people (more folders). Units and people both have contact information stored in their properties. How do I detect if a person has, for example, 'contact_email' set?

Re: [Zope] turning off inheritance

2000-12-13 Thread Oleg Broytmann
On Wed, 13 Dec 2000, Kyler B. Laird wrote: > Units and people both have contact information > stored in their properties. How do I detect if a > person has, for example, 'contact_email' set? > > I've tried > Something like (untested, but I use this in External Methods) Oleg.

Re: [Zope] default values in forms

2000-12-13 Thread Andy McKay
An ugly solution is &f_name=">c Be careful that other none url compliant characters dont slip into your variables. -- Andy McKay, Developer. ActiveState. - Original Message - From: "Olaf Zanger" <[EMAIL PROTECTED]> To: "Zope Mailinglist" <[EMAIL PROTECTED]> Sent: Wednesday, December

Re: [Zope] turning off inheritance

2000-12-13 Thread Kyler B. Laird
On Wed, 13 Dec 2000 19:39:43 +0300 (MSK) you wrote: >On Wed, 13 Dec 2000, Kyler B. Laird wrote: >> Units and people both have contact information >> stored in their properties. How do I detect if a >> person has, for example, 'contact_email' set? >> >> I've tried >> > > Something like >

RE: [Zope] Problem on running the ZOPE by using ZmySQLDA

2000-12-13 Thread Eric Walstad
Hi Angie. First off, I think there are some users in the list that are unable to read HTML formatted email. I've seen a lot of requests for folks to send only plain text messages to the list. Well, I don't run Zope on a Windows machine, so maybe I'm wrong here, but the output you've shown below

Re: [Zope] turning off inheritance

2000-12-13 Thread Oleg Broytmann
On Wed, 13 Dec 2000, Kyler B. Laird wrote: > > > > (untested, but I use this in External Methods) > > Consider it tested. It works great from DTML. > > Now that I know what to seek, I found a couple of > old messages that reference this. I'm still > honing my ability to get Zope clues. I g

Re: [Zope] turning off inheritance

2000-12-13 Thread Rik Hoekstra
"Kyler B. Laird" wrote: > > I am working on generating a directory from Zope > objects. There is a folder full of units (other > folders). These units contain people (more > folders). > > Units and people both have contact information > stored in their properties. How do I detect if a > per

[Zope] Response.redirect problem **sometimes** on netscape

2000-12-13 Thread Didier Georgieff
Hello, I'm doing a form for deleting objects within our site design (no manage interface). All goes well, with a FORM . [ we create the ids:list here] myDelete method does also the redirect on the calling page. In IE5 works fine, but NO REDIRECT on Netscape 4.51 (blank page and

Re: [Zope] default values in forms

2000-12-13 Thread Stefan H. Holek
On Wed, 13 Dec 2000, Olaf Zanger wrote: > i found out that spaces may be replaced by "+" in the link, > but how do i get the "+" into the statement? what you want is see the DTML guide: http://www.zope.org/Documentation/Guides/DTML-HTML/DTML.5.html HTH Stefan _

[Zope] Strange Win2000 Service behaviour

2000-12-13 Thread peter bengtson
I restarted the Zope server from the Control Panel inside Zope and it took a long time untill it was back up again. About 20 seconds. During these 20 seconds, I started to suspect that the service wasn't working, so I manually pressed the "Start" on the Zope Server inside the Control panel in wind

Re: [Zope] default values in forms

2000-12-13 Thread Andy McKay
Oops forgot about that. Yep use that. That's it I'll stop answering questions until at least 3 cups of tea in the morning. -- Andy McKay, Developer. ActiveState. - Original Message - From: "Stefan H. Holek" <[EMAIL PROTECTED]> To: "Olaf Zanger" <[EMAIL PROTECTED]> Cc: "Zope Mailingli

[Zope] Squishdot with access restrictions

2000-12-13 Thread Ragnar Beer
Howdy Zopistas! Has anyone installed a Squishdot site with access restrictions? I've got the problem that as soon as I take away the "view" and "access contents information" permission from the anonymous user in my Squishdot site I cannot use the search interface anymore but only get KeyError

Re: [Zope] Lost with navigation using objectValues

2000-12-13 Thread Tim Cook
Stephane Bortzmeyer wrote: > my code, in a DTML method in the root folder: Are you sure you put it in a DTML Method and not a DTML Document? The code looks fine. > If I call it from /index_html, it works fine. If I call it from any > other document anywhere, I just get (so I'm sure the met

[Zope] XEmacs DTML Mode

2000-12-13 Thread Alastair Burt
I have made many changes to my DTML Mode Howto and the associated files, which can be found here: http://www.zope.org/Members/alburt/dtml_mode.html The Howto explains how to get the benefits of Lennart Staflin's PSGML mode when editing DTML code. PSGML is a wonderful package for structure-bas

[Zope] feedback on ZCatalog section of Zope Book

2000-12-13 Thread Josh Zeidner
I tried out the example in the Zope book and found that the ZCatalog aware example only works if you create the "default" catalog as explained elsewhere( must be named "Catalog" ). Am I doing something wrong or is this an error in the book? -keep up the good work! Josh Zeidner

Re: [Zope] Important Fix for Zope 2.2.x

2000-12-13 Thread The Doctor What
* Evan Simpson ([EMAIL PROTECTED]) [001210 10:27]: > Thanks to Jeff Ragsdale, we've finally been able to kill a > longstanding bug that allows POST requests to interfere with > each other. Symptoms include corrupted or aborted File and > Image uploads, and stupid-log messages about > "AttributeEr

[Zope] SiteAccess and Roles

2000-12-13 Thread The Doctor What
I have site access running, but I apparently don't fully grok roles. I have a directory layout like so: /ZopeRoot /site1 /site2 /site3 /user_acl(2) /user_acl(1) My site access rule is at: http://linuxasm.gerf.org:9673/siteid/view_source All the site[123] directories are SiteRooted

[Zope] Can't RENAME using ftp (was Re: [Zope] Dreamweaver and WebDav)

2000-12-13 Thread Paul Browning
On Wed, 13 Dec 2000 12:38:36 MET Hans de Wit <[EMAIL PROTECTED]> wrote: > Is anybody using the combination Dreamweaver 4 WebDAV Zope already? I'm waiting for the evaluation version to become available . > A connection was easy to make. At the moment i want to put or get something > "acces

[Zope] SOAP support in Zope?

2000-12-13 Thread Brad Clements
I'm thinking of using the MS WebServices IE behaviour with Zope. But when searching the zope site for info on soap, I find only a news announcement saying it will be supported in 2000. I've grepped the source, can't find a mention of soap. I thought someone had posted a patch to enable soap in

Re: [Zope] Lost with navigation using objectValues

2000-12-13 Thread Stephane Bortzmeyer
On Wed, Dec 13, 2000 at 11:31:34AM -0600, Tim Cook wrote: > Are you sure you put it in a DTML Method and not a DTML Document? Well, viewing the object through the management interface says so. To be sure, I created a new object from scratch and changed the standard_html_header to use it. Same pr

Re: [Zope] default values in forms

2000-12-13 Thread Ivan Cornell
Olaf Zanger wrote: > hi there, > > i'd like to send default values for an data update with the link to the > form > > like > c > > unfortunately name may contain spaces. > > i found out that spaces may be replaced by "+" in the link, > but how do i get the "+" into the statement? > Try c Ivan

Re: [Zope] feedback on ZCatalog section of Zope Book

2000-12-13 Thread Andy McKay
That is true of CatalogAware objects, there must be a catalog called "Catalog"... the book is right. -- Andy McKay, Developer. ActiveState. - Original Message - From: "Josh Zeidner" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, December 13, 2000 9:36 AM Subject: [Zope]

[Zope] What version of Python Methods - no - Scripts for 2.2.4?

2000-12-13 Thread Ronald L. Roeber
Quesrion(s): Is the recommended install of Python Scripts for Zope 2.24 this? http://www.zope.org/Members/4am/PythonMethod even though it appears to be exactly one year old today (13-Dec)? This is also the date in the CHANGES.txt file in 2.3_a1 PythonScripts directory. Can I just copy the Pyt

Re: [Zope] Strange Win2000 Service behaviour

2000-12-13 Thread Andy McKay
Have you tried refreshing the Control Panel? If not just kick it (restart) from the Control Panel. I have found that the Control Panel is normally in sync with the service. Actually I got a little more nasty and wrote some Perl scripts to restart/reboot Zope servers/machines... -- Andy McKay, De

[Zope] dtml decimals

2000-12-13 Thread Andy McKay
instead of getting 1.50 as I was expecting I get 1.00, I never seem to be getting decimals. Whats the obivous thing Im missing here? Cheers. -- Andy McKay, Developer. ActiveState. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mai

Re: [Zope] default values in forms

2000-12-13 Thread peter bengtson
> i found out that spaces may be replaced by "+" in the link, > but how do i get the "+" into the statement? > Can't honestly remember where the word "plus" is supposed to be, but search the DTML Reference documentation. > thanks for help > > olaf > > > -- > soli-con Engineering Zanger > Dip

[Zope] DA Adapter for transactional DB

2000-12-13 Thread Paolo Quaglia
What is the most reliable DA Adapter for the supported transactional DB: I mean for Postgres, MS SQL Server, for Interbase etc ...   Are there some DA that work in multithreaded manner under WinNT? Thanks a lot Paolo QuagliaInformation Technology CoordinatorSitek S.p.A.[EMAIL PROTECTED]  

RE: [Zope] HTML formatting from a text field

2000-12-13 Thread sean . upton
I remember reading somewhere about messaging between Java applets and JavaScript code in the browser, allowing JavaScript code from a web form to manipulate the applet output; the example was typing something into a text box, clicking a button in a form, and having that rendered in some obscure fo

Re: [Zope] dtml decimals

2000-12-13 Thread Andy McKay
Well for one thing that example should be -- Andy McKay, Developer. ActiveState. - Original Message - From: "Andy McKay" <[EMAIL PROTECTED]> To: "zope-misc" <[EMAIL PROTECTED]> Sent: Wednesday, December 13, 2000 10:03 AM Subject: [Zope] dtml decimals > instead of getting 1.50 as I

Re: [Zope] Lost with navigation using objectValues

2000-12-13 Thread Tim Cook
Stephane Bortzmeyer wrote: > Could it be an error in the calling code? I just say: > > > If the calling code is within a DTML Document, then yes. The DTML Method is within the calling namespace. You would need to set up the correct namespace first using dtml-with or PARENTS[x] where x is the

Re: [Zope] What version of Python Methods - no - Scripts for 2.2.4?

2000-12-13 Thread Evan Simpson
From: Ronald L. Roeber <[EMAIL PROTECTED]> > Is the recommended install of Python Scripts for Zope 2.24 this? > > http://www.zope.org/Members/4am/PythonMethod > > even though it appears to be exactly one year old today (13-Dec)? Wow, I didn't realize today was its anniversary :-) No, this isn't

Re: [Zope] DA Adapter for transactional DB

2000-12-13 Thread Andy McKay
ZODBC: http://www.zope.org/SiteIndex/search?text_content=ZODBC -- Andy McKay, Developer. ActiveState. - Original Message - From: "Paolo Quaglia" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, December 13, 2000 10:08 AM Subject: [Zope] DA Adapter for transactional DB

Re: [Zope] Important Fix for Zope 2.2.x

2000-12-13 Thread Evan Simpson
From: The Doctor What <[EMAIL PROTECTED]> > Will these be released as Hotfixes? Or just new versions? Or is > this it? Hotfixes are pretty much reserved for critical security holes. Zope 2.3 (and possibly an interim 2.2.5 release) and above will have the fix. Fortunately, HTTPServer has had *ve

Re: [Zope] SiteAccess and Roles

2000-12-13 Thread Evan Simpson
From: The Doctor What <[EMAIL PROTECTED]> > I tried both Owner and Manager roles in user_acl(2) but it doesn't > work! Didn't work in what sense? They couldn't log in, or didn't get the access you expected? More access or less, or just weird? Cheers, Evan @ digicool & 4-am _

RE: [Zope] Dreamweaver and WebDav

2000-12-13 Thread Todd Coram
> Is anybody using the combination Dreamweaver 4 WebDAV Zope already? > A connection was easy to make. At the moment i want to put or get > something "access to > the desired resource is denied by the server". I checked my > password, i have the correct > rights, and it is working more or less fin

Re: [Zope] SiteAccess and Roles

2000-12-13 Thread Evan Simpson
From: The Doctor What <[EMAIL PROTECTED]> > I tried both Owner and Manager roles in user_acl(2) but it doesn't > work! Didn't work in what sense? They couldn't log in, or didn't get the access you expected? More access or less, or just weird? Cheers, Evan @ digicool & 4-am _

[Zope] apache/mod_rewrite and user-logging (semi-OT)

2000-12-13 Thread Oliver Bleutgen
This is not directly a zope-question, but maybe someone has figured out how to solve this. I'm using apache with mod_rewrite to redirect requests for a certain directory from apache to zope (with option [p]). Now for the first time I can't get apache to do want I want it to, that is logging the

Re: [Zope] Lost with navigation using objectValues

2000-12-13 Thread Stephane Bortzmeyer
On Wed, Dec 13, 2000 at 11:31:34AM -0600, Tim Cook wrote: > Are you sure you put it in a DTML Method and not a DTML Document? OK, I get you: my code is in a DTML method but it was ultimately called by DTML documents, which produced the wrong result. If I create a DTML method, it works. After rea

Re: [Zope] SOAP support in Zope?

2000-12-13 Thread Petru Paler
On Wed, Dec 13, 2000 at 12:43:33PM -0500, Brad Clements wrote: > I'm thinking of using the MS WebServices IE behaviour with Zope. But > when searching the zope site for info on soap, I find only a news > announcement saying it will be supported in 2000. > > I've grepped the source, can't find a

RE: [Zope] Important Fix for Zope 2.2.x

2000-12-13 Thread Brian Lloyd
> > The attached HTTPServer.py is valid for all Zope 2.2.x > > versions. I am posting the patched file for earlier Zope > > versions separately. > > Will these be released as Hotfixes? Or just new versions? Or is > this it? I'll be building a 2.2.5 (hopefully by the end of the week) that will

[Zope] Broken LoginManager - Can't get it to install

2000-12-13 Thread Mohan Baro
I can seem to figure out what wrong here. I have ZPatterns installed already 0.4.3b2 This is the latest LoginManager 0.8.8b1 LoginManager Import Traceback Traceback (innermost last): File "/usr/share/zope/lib/python/OFS/Application.py", line 397, in import_products product=__import__(pnam

Re: [Zope] What version of Python Methods - no - Scripts for 2.2.4?

2000-12-13 Thread Evan Simpson
From: Evan Simpson <[EMAIL PROTECTED]> > I haven't tried installing PythonScripts in a pre-2.3 Zope, but I have no > reason to expect that it would fail, except in one feature: Since pre-2.3 > Zopes don't support the __render_with_namespace__ protocol, you would always > have to pass parameters e

[Zope] Zope with BBedit: a successful experiment

2000-12-13 Thread Stephane Bortzmeyer
http://www.zope.org/Members/runyaga/ZopeFAQs/ZopeCompatibleTools says that BBedit have not been tested as a DTML editor for Zope but it works fine and is a good solution for MacOS users. A few tricks which may be included on www.zope.org if you think so: BBedit

Re: [Zope] Lost with navigation using objectValues

2000-12-13 Thread Stephane Bortzmeyer
On Wed, Dec 13, 2000 at 12:20:34PM -0600, Tim Cook wrote: > If the calling code is within a DTML Document, then yes. The DTML > Method is within the calling namespace. OK, I understand, now, the ZopeBook was far from clear on this example. > You would need to set up the correct namespace first

Re: [Zope] Lost with navigation using objectValues

2000-12-13 Thread Tim Cook
Stephane Bortzmeyer wrote: > Does it mean I have to turn all my DTML documents into DTML methods if > I want them to call DTML methods, even if they are only content? > DTML Rule of Thumb (according to Tim): "Only use DTML Documents when you want an object to have persistent properties. All DTM

Re: [Zope] HTML formatting from a text field

2000-12-13 Thread Stephane Bortzmeyer
On Tue, Dec 12, 2000 at 04:47:13AM -0500, Ausum wrote: > I'm needing a tool that could let a normal user to update a web page, > HTML-formatted from a text field within a Zope's form, just like the > Compose page at Hotmail, when selecting "Rich Text Format". As far as free software is concerned,

[Zope] What happened to worldpilot

2000-12-13 Thread Steve Drees
I can't seem to find worldpilot on zope.org anymore. Has it been killed? -- Steve Drees SysAdmin/Software Developer/Web Geek/Chief Bottle Washer "A problem well-stated is a problem half-solved." http://www.christianmp3zone.com/savanna ___ Zope maill

Re: [Zope] What version of Python Methods - no - Scripts for 2.2.4?

2000-12-13 Thread Evan Simpson
From: Evan Simpson <[EMAIL PROTECTED]> > After a little experimentation, I was able to get it to run with Zope 2.0.0. > It required small changes to __init__.py and Guarded.py, which are available > through cvs.zope.org. P.P.S. That's "2.2.0", not "2.0.0", and as of three hours ago you would als

Re: [Zope] dtml decimals

2000-12-13 Thread Andy McKay
Well there you go: Its a python thing, it sees 3 and casts it as an int, same with 2 and dividing ints results in an int. You learn something new every day. -- Andy McKay, Developer. ActiveState. - Original Message - From: "Andy McKay" <[EMAIL PROTECTED]> To: "zope-misc" <[EMAIL P

Re: [Zope] What happened to worldpilot

2000-12-13 Thread Aleksander Salwa
On Wed, 13 Dec 2000, Steve Drees wrote: > I can't seem to find worldpilot on zope.org anymore. > Has it been killed? www.worldpilot.com or something... [EMAIL PROTECTED] /--\ | `long long long' is too long for GCC | \--/

Re: [Zope] dtml decimals

2000-12-13 Thread Aleksander Salwa
On Wed, 13 Dec 2000, Andy McKay wrote: > instead of getting 1.50 as I was expecting I get > 1.00, I never seem to be getting decimals. Whats the obivous thing Im > missing here? Python Reference Manual, chapter 5.6: The / (division) operator yields the quotient of its arguments. The numeric ar

Re: [Zope] dtml decimals

2000-12-13 Thread Dyon Balding
or even simpler: the decimal point implies a floating point rather than an int. -d On Wed, Dec 13, 2000 at 12:23:19PM -0800, Andy McKay wrote: > Well there you go: > > > > Its a python thing, it sees 3 and casts it as an int, same with 2 and > dividing ints results in an int. You learn som

[Zope] charset from forms input

2000-12-13 Thread Matt
Hi, I seem to have come across the depressing fact that most browsers will not return a charset parameter in the http header when a form is submitted. For example, the following from Netscape ... (it happens with both IE and Netscape on many platforms I have tried ... Mac, all Windows, and Linux)

Re: [Zope] dtml decimals

2000-12-13 Thread Andy McKay
Yup, the implication there is that I am doing a 3/2, im not, that was an example. Im using variables and hence its easiest to cast one of them as a float is easier than adding .0 on to the end... Cheers. -- Andy McKay, Developer. ActiveState. - Original Message - From: "Dyon Balding"

Re: [Zope] SiteAccess and Roles

2000-12-13 Thread The Doctor What
* Evan Simpson ([EMAIL PROTECTED]) [001213 12:28]: > From: The Doctor What <[EMAIL PROTECTED]> > > I tried both Owner and Manager roles in user_acl(2) but it doesn't > > work! > > Didn't work in what sense? They couldn't log in, or didn't get the access > you expected? More access or less, or j

Re: [Zope] ZWiki hierarchy seems to be broken

2000-12-13 Thread Frank McGeough
I lose my hierarchy all the time as well. I haven't been able to figure out a cause for it. Or figure out a way to debug it. The "entire wiki contents" shows only Singletons. The in the standard_wiki_header doesn't seem to do anything anymore. - Original Message - From: "Simon Michael" <

Re: [Zope] ZWiki hierarchy seems to be broken

2000-12-13 Thread Timothy Grant
On Wed, Dec 13, 2000 at 08:20:14AM -0800, Simon Michael wrote: > do you see more than one page name in your url path - eg FrontPage/FrontPage ? On the very first page, yes, as the folder and the WikiPage have the same name. However, the header appears on this page. > are you acquiring a differe

[Zope] rss

2000-12-13 Thread Andy McKay
Ok, ive seen lots of products and ways of creating RSS files, but I havent been able to spot one that reads other peoples (eg ZNN, Slashdot). Is there such a product? -- Andy McKay, Developer. ActiveState. ___ Zope maillist - [EMAIL PROTECTED] ht

Re: [Zope] dtml decimals

2000-12-13 Thread Dieter Maurer
Andy McKay writes: > instead of getting 1.50 as I was expecting I get > 1.00, I never seem to be getting decimals. Whats the obivous thing Im > missing here? This is a Python feature: If both arguments are integers, the division is performed as an integer division. Use "3.0/2" or "3/2.

Re: [Zope] Response.redirect problem **sometimes** on netscape

2000-12-13 Thread Dieter Maurer
Didier Georgieff writes: > > > > In IE5 works fine, but NO REDIRECT on Netscape 4.51 (blank page and > the post data still there), while the RESPONSE.redirect **works** on other > occasions with N4.51. I use Shane's "tcpwatch" (--> zope.org) to analyse such problems. Dieter

[Zope] Re: PIL Problem

2000-12-13 Thread Max M
--- Luc Tonin <[EMAIL PROTECTED]> wrote: > well > i m still trying to insert some text in a gif image > using PIL > but what should i do??? using da PSDraw class?? > does anybody have an id ?? > thx by advance Here is an example I got working under Windows. PIL has very limited font/text support

Re: [Zope] Problems with adding tutorial

2000-12-13 Thread Bob Sidebotham
After much playing around I determined that the problem was Python 2.0. I downgraded zope to 2.2.4 and still had the identical problem with python 2.0. Then when I downgraded python to 1.5.2 the problem finally went away. Bob --- Aleksander Salwa <[EMAIL PROTECTED]> wrote: > Keep in mind that t

Re: [Zope] rss

2000-12-13 Thread J. Atwood
SiteSummary will actually grab headlines. Just not timed. Cheers, J At 2:06 PM -0800 12/13/2000, Andy McKay wrote: >Ok, ive seen lots of products and ways of creating RSS files, but I havent >been able to spot one that reads other peoples (eg ZNN, Slashdot). Is there >such a product? >-- > And

Re: [Zope] rss

2000-12-13 Thread Kevin Teague
I'm setting up some rss feeds, and I've just used the Site Summary product from here: http://www.zope.org/Members/edmundd/SiteSummary With Site Summary you can use the importRSS method to pull in a channel. I use a modified version of this script running on a cron job to update the rss channels

Re: [Zope] rss

2000-12-13 Thread Andy McKay
So it does, thanks! I throught I read through Site Access and managed to skip that. Yep a simple cron job and it will be updating nightly. Cheers. -- Andy McKay, Developer. ActiveState. - Original Message - From: "Kevin Teague" <[EMAIL PROTECTED]> To: "Andy McKay" <[EMAIL PROTECTED]

Re: [Zope] Broken LoginManager - Can't get it to install

2000-12-13 Thread Bill Welch
The source for DynPersist is in a sub-directory of ZPatterns. You have to go in and compile it. On Wed, 13 Dec 2000, Mohan Baro wrote: > I can seem to figure out what wrong here. > > I have ZPatterns installed already 0.4.3b2 > > This is the latest LoginManager 0.8.8b1 > > LoginManager Import

[Zope] Object adding strangeness

2000-12-13 Thread Geoffrey L. Wright
So I've created a simple little product to dynamically manage CSS. It consists of three ZClasses and the arrangement looks something like this: STYLEn_containerClass \ \--> STYLEn_styleClass \ \--> STYLE

[Zope] stupid file upload question

2000-12-13 Thread Joh Johannsen
OK, there is a How-To on that, which is helpful, by benno But it says: "In you python external method you can now reference REQUEST.form['attached_file'] as a normal file. You can perform things such as read() on the object. " Now in my Python external method, I can referen

[Zope] *Problem on running the ZOPE by using ZmySQLDA

2000-12-13 Thread Angietel
Files\WebSite\z2.py" -D--2000-12-13T08:34:28 PROBLEM(100) ZServer Computing default hostname--2000-12-13T08:34:31 INFO(0) ZServer Medusa (V1.16.4.2) started at Wed Dec 1316:34:31 2000    Hostname: ANGIE    Port:8080--2000-12-13T08:34:31 INFO(0) ZServer FTP server start

Re: [Zope] PIL problem

2000-12-13 Thread Jason Byron
--- Luc Tonin <[EMAIL PROTECTED]> wrote: > thx for your help > but i don t find the font files ( courR14.pil and > courR14.bpm) > !!! Sorry for the late reply, I don't check this list until after work. If you have X windows and you have fonts in the bdf or pcf format you can use the script

RE: [Zope] What version of Python Methods - no - Scripts for 2.2.4?

2000-12-13 Thread Ron Bickers
I got PythonScripts running on 2.2.4 after doing the following: 1) Install PythonScripts from CVS just like any other Product. 2) Add these lines to lib/python/AccessControl/__init__.py: from SecurityInfo import ClassSecurityInfo, ModuleSecurityInfo from SecurityInfo import ACCESS_PRIVATE from

Re: [Zope] SiteAccess and Roles

2000-12-13 Thread Michael Bernstein
The Doctor What wrote: > > I have site access running, but I apparently don't fully grok roles. > > I have a directory layout like so: > > /ZopeRoot > /site1 > /site2 > /site3 > /user_acl(2) > /user_acl(1) > > My site access rule is at: > http://linuxasm.gerf.org:9673/siteid/view_