[Zope] XMLDocument manage_edit from DTML

2000-09-19 Thread Eric Walstad
Hi, I am trying to create a new XMLDocument object and then stuff some data into it - all from DTML. I can create a new default XMLDocument with: After I create the new XMLDocument, I would like to do something like: The stumper is, this call doesn't throw any errors, but it also doesn'

[Zope] HELP! Permissions problem, ZClass

2000-10-16 Thread Eric Walstad
Help, pls! I have a ZClass that is functioning beautifully if I am logged in, but the anonymous user keeps getting prompted for a password. The problem occurs when my DTML method trys to create a new instance of the ZClass. I tried giving that DTML method a Proxy of "Manager" but that isn't hel

RE: [Zope] (no subject)

2000-10-17 Thread Eric Walstad
Hi Rob, I'm a newbie, but I just finished doing what you are trying to do. Here's how I did it: Product name: NewsItem ZClass: CNewsItem Property Sheet: NewsProperties In the BuildNews dtml method: Hope it helps. Eric. // I want to create a large number of pr

RE: [Zope] dtml-if problem

2000-10-19 Thread Eric Walstad
Hi Terry - Disclaimer: I'm a Zope Newbie... Here's what I'd try: Length of the value of Area is: Length of the 'strip'ped value of Area is: If you see somethinkg like: Length of the value of Area is: 4 (or more) Length of the 'strip'ped value of Area is: 3 when you view the DTML method, you ha

RE: [Zope] Installation on Linux

2000-11-01 Thread Eric Walstad
Hi Lee, In the Zope book beta version there is a section on installing Zope on Unix/Linux systems: http://www.zope.org/Members/michel/ZB/UsingZope.html - Or - There are also a few good howtos on the Zope.org site, here's one to get you started: http://www.zope.org/Members/mcdonc/HowTos/zopeinstall

[Zope] OT Zope book images -> PDF

2000-11-01 Thread Eric Walstad
In light of all the hubbub about the Zope book, I thought I would try and make my own copy of it in PDF format (just for me, of course). I'm finding that Acrobat doesn't know how to convert the PNG image file type used in the Zope Book. (or rather, I don't know how to get it to work !) Anyone k

RE: [Zope] ZServer serving CGI by itself

2000-11-03 Thread Eric Walstad
Hi Fred, // I haven't seen any documentation on how to add CGI capability to Zope. // // Before I spend my time writing a product or external method that allows // me to call CGI programs from inside Zope, has anyone else already done // this? I have a C++ program I run from Zope and then return t

RE: [Zope] ZServer serving CGI by itself

2000-11-03 Thread Eric Walstad
Oops, replace "gashtg" with "interestingValue" below. Sorry I missed t. -E ... "ws.calc.results.gashtg"> should be ... "ws.calc.results.interestingValue"> ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cro

[Zope] CGI product ( was ZServer serving CGI by itself )

2000-11-05 Thread Eric Walstad
Hi Fred, Wow, you've left me in the dust. I've not needed to try what you are attempting and I don't know how Zope would handle passing the RESPONSE buck to another application. I hope someone with more "Zen" can answer the particulars for you! Best of luck. Eric. // However, I have a couple of

RE: [Zope] Cookies & Expiration

2000-11-07 Thread Eric Walstad
Oops, forgot to send this one to the list... -Original Message- From: Eric Walstad [mailto:[EMAIL PROTECTED]] Sent: Friday, November 03, 2000 3:40 PM To: Steve Drees Subject: RE: [Zope] Cookies & Expiration Hi Steve, Your solution is very cool! I'm going to use

RE: [Zope] Your thoughts about Zope-based database apps

2000-11-07 Thread Eric Walstad
Hi Alonso, FYI, some of the list members have great difficulty in reading HTML formatted messages. It's best if you set your format to "Plain Text" before submitting to the list. I haven't yet implemented what you are considering, but I am interested in doing so soon. So, I am very interested

RE: [Zope] Generating text/csv from DTML method, Mime Type?

2000-11-10 Thread Eric Walstad
Here's some DTML I use to generate a CSV file on the fly using data returned from a query of a MySQL database: FirstName,MiddleName,LastName,Address,City,State,Zip,Phone,Fax,Email,URL,Bir thday ,,, Notice that formatting is kinda ugly. That's so that I don't get any unwanted carriag

RE: [Zope] MySQL Connection String

2000-11-17 Thread Eric Walstad
I use the following format: users@frankenstein privileged_user ThePassWord - or in general terms - TableName[@HostNameOfMachineMySQLIsRunningOn] MySQLUserName ThePassWord I guess the "@HostNameOfMachineMySQLIsRunningOn" part is optional, but I needed to put it in there for my setup. The "privile

RE: [Zope] Date

2000-11-21 Thread Eric Walstad
eTime, Months Function: days = self.daysPerMonth(ZopeDateTime) - ZopeDateTime.day() + 1 i = 2 while i < Months: nextDate = ZopeDateTime + days days = days + self.daysPerMonth(nextDate) i = i + 1 days = days + ZopeDateTime.day() - 1 return ZopeDateTime + days -8<-8<-8

RE: [Zope] Help!!

2000-11-28 Thread Eric Walstad
Hi Ot, Try closing down all instances of your browser, then open up your browser and login as your admin user. You will be "logged out" when you close all instances of your browser. HTH, Eric. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Ot Ratsaphon

RE: [Zope] Rookie Question - Syntax

2000-11-29 Thread Eric Walstad
Hi Walter, There's a good tutorial on how to design forms at: http://www.zope.org/Members/jules/smarterforms_html I like to let javascript handle the validation, it lightens the load a little on the server. I use Regular Expressions to check the validity of each field. There's a tutorial at: ht

RE: [Zope] MySQL

2000-11-30 Thread Eric Walstad
http://www.zope.org/Members/alanpog/zmysqlda_steps -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of K H Subrahmanyan Sent: Thursday, November 30, 2000 4:08 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: [Zope] MySQL hi, I want to add MySQL to

RE: [Zope] Problem on connect to MySQL

2000-12-11 Thread Eric Walstad
Hello Angie, Are you able to create a "Z MySQL Database Connection" inside Zope? I'm not sure exactly when you are receiving your error message. Is it when you Click the "Change" button while in the "Z MySQL Database Connection?" Your connection string looks like it is missing a user name. It

RE: [Zope] Last day of Month

2000-12-12 Thread Eric Walstad
Hi Paolo, I have a Python Metho... er Python Script that I use that tells me the days in each month. You pass in a Zope DateTime object as a parameter and it returns the days in that month: Parameters: ZopeDateTime Code: -8<-- Start Snip --8<- if ZopeDateTime.isLeapYear(): intDaysIn

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] I SOLVED!!

2000-12-15 Thread Eric Walstad
Hi Paolo, you should post your solution to the mailing list so that if others run into your same problem they can find your solution by searching ht emailing list archives. Just a thought. Eric. // -Original Message- // From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Paol

[Zope] PoPy Installation. Where's the BEEF?

2001-01-10 Thread Eric Walstad
Hello all, After installing the ZPoPyDA product, restarting Zope and browsing to the Products interface, I see: ZPoPyDA Import Traceback Traceback (innermost last): File "/usr/local/Zope/lib/python/OFS/Application.py", line 397, in import_products product=__import__(pname, global_dict, glob

RE: [Zope] PoPy Installation. Where's the BEEF?

2001-01-10 Thread Eric Walstad
g wrong paths. I searched the ZPoPyDA python source for hard coded paths but didn't find any. Is there an environment variable that sets this? Thanks for any help... Eric. Eric Walstad [EMAIL PROTECTED] _

RE: [Zope] MySQL

2001-01-11 Thread Eric Walstad
http://www.zope.org/Members/alanpog/zmysqlda_steps Should get you started... Eric. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of vishnu prasad Sent: Tuesday, January 09, 2001 3:17 PM To: [EMAIL PROTECTED] Subject: [Zope] MySQL can anyone update me with

RE: [Zope] with a variable

2001-01-13 Thread Eric Walstad
// I want to get some properties for a zclass instance after being // passed its // id in a variable. In these tests I have been defining the varible in the // code, in the final case it will be passed through the url. // // Using the id directly as above works fine, it writes the // attribu

RE: [Zope] "Picture of the day" product

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