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'
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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]
_
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
// 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
// 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
26 matches
Mail list logo