A number of times the subject of slow startup times has been raised,
because it's particularly annoying while developing python products.
I've always found it very snappy (restart in less than 4 seconds), but
yesterday I found a machine where it was much slower (20 seconds).
With the patch
I have woes calling a long-running external class method. The external method must be
called after
the
class instance is constructed, because the method modifies class properties.
Modifications are
done in the external method using python's urllib pointing to the object's manage_edit
DTML
OK, time for another Zen fix :-)
It looks like I've almost got PTK working with the latest
LoginManager. The remaining problem is that the login form doesn't
work. I've finally figured out why.
PTKBase.MemberFolder.MemberFolderBase.validate is much hairier than
go to
http://www.zope.org
and click on the 'dtml source' link at the bottom of every page
cb
-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED] [EMAIL PROTECTED]
Aan: [EMAIL PROTECTED] [EMAIL PROTECTED]
Datum: vrijdag 19 mei 2000 11:55
Onderwerp: [Zope] Some examples of DTML scripts ?
Hi,
Chien-pin Wang writes:
Dear All:
Quick question about Zope admin.
Can zope automatically rotate its access log? Thanks.
I use logrotate on Linux for this. Unfortunately I have to use the
before and after config options to stop zserver before and restart it
after -- otherwise
Let's see:
network lookups would fail, sometimes, strangely,
signals would be delivered to _all_ children (not just the one
that had installed a signal handler) -- so if you had an external
method that popen'd another program, when the SIGCHLD came in, it
would kill the mainloop.
The signals
Peter,
A step-by-step guide to installing Zope is available at
http://www.zope.org/Members/mcdonc/HowTos/zopeinstall/ZOPE-INSTALL-HOWTO
Peter Halliday wrote:
I am developer who really loves python, and want to start using it to
develop my web applications. I run Apache 1.3 on a Red Hat 6.2
i have some strange problmes by using the
"REQUEST.resolve_url('http://mydomain/...')" in DTML if SiteAccess is
active. I have also some Sites in use without SiteAccess and no problems
with the above method.
Tell me more about the problem, please. SiteAccess replaces
REQUEST.traverse, which
Good and bad news.. There is no real "product" to do this.. but it is not at
all hard to do with Zope tools..
For example:
-Displaying an order on the web with the order header (consisting of the
client name, address, ZIP, etc.) and the order lines with the products to
purchase.
This is a
Beginner Question
I'm trying to add a database connection to a site (my first one). I tried
adding a SQL Method and am told I need to add a Zope Database Connection. I
can't find that in the list of available objects. Can someone direct me to
a resource that explains how? It's not
On Fri, 19 May 2000, Tom Scheidt wrote:
Do you know if I can limit the id to the last
3 letters, rather than the first? My images have
_xl, _l etc. on the end.
[...]
ul
dtml-in "tester.fileValues()"
dtml-if "type=='image/jpeg'"
dtml-if "id[0:3]=='tn_'"
img
- Original Message -
From: Martin Grönemeyer [EMAIL PROTECTED]
dtml-with "REQUEST.resolve_url('http://mydomain/home/index_html')"
dtml-var title
/dtml-with
throws
Error Type: ValueError
Error Value: Different namespace.
REQUEST.resolve_url requires that the URL you pass to it
I'm just getting started, but managed to use
the following to display only JPG's, and then
only ones starting with "tn_" (my thumbnails):
There's an easier way. =)
ul
dtml-in "tester.fileIds(spec='tn_*.jpg')"
img src="tester/dtml-var sequence-item"
/dtml-in
/ul
--jfarr
"Perl is
13 matches
Mail list logo