This is untested, but it's a pretty familiar idiom to me at the moment.
dtml-in selectmoduleinfoMethod prefix=dbmodlevel
dtml-call REQUEST.set('dbmodlevel', dbmodlevel_item)
dtml-in range(1, 8) prefix=modlevel
optiondtml-if expr=modlevel_item == dbmodlevel
Is there a difference in the efficiency of a function as a Script
(Python) Zope object versus an External Method? The use case is
that I need to run a fairly simple function (an implementation of the
Levenshtein distance algorithm) over a result set in the range of
30-40k records. Are
that members is a
DTML Method and not a Python script or ZSQL Method.
Thanks in advance for any insights!
Andrew Hedges, [EMAIL PROTECTED]
Zope maillist - Zope@zope.org
That definitely looks promising. I've tried a couple of ways, but I
can't make it so this applies to all DTML Methods. Any ideas?
On Jun 7, 2006, at 6/7/2006 4:10 PMMDT, Peter Bengtsson wrote:
I much prefer to use __before_publishing_traverse__.
THANK YOU! This worked (with a slight change to the dtml-return):
I *thought* I had seen redirect work as I had had it before, but
maybe I misunderstood what was happening. In any case, many thanks!
:02 PMMDT, Jo Meder wrote:
Am 24.05.2006, 00:57 Uhr
schriebte Andrew Hedges [EMAIL PROTECTED]:
Are you sure you're seeing the redirect there and not just the login
page rendered for the address you were originally
Here's my traceback:
2006-05-11 16:08:46 ERROR Zope Couldn't install MVP
Traceback (most recent call last):
File /usr/local/zope/lib/python/OFS/Application.py, line 762, in
global_dict, global_dict, silly)
File /usr/local/zopedev/Products/MVP/__init__.py, line 18, in ?
%define INSTANCE /usr/local/zopedev
%define ZOPE /usr/local/zopedev
TIA for any help,
On May 11, 2006, at 5/11/2006 5:56 PMMDT, Tres Seaver wrote:
-BEGIN PGP SIGNED MESSAGE-
Andrew Hedges wrote:
Here's my traceback:
This kind of construct *seems* perfectly reasonable, yet it doesn't
work. Any suggestions? Other possible ways of doing the same thing?
a feeling I'm building a hash table for something I may
be able to access directly, but it's working, so I don't want to take
up more space in peoples' inboxes. Thanks again for the quick help!
On Feb 27, 2006, at 10:15 AM, Andreas Pakulat wrote:
On 27.02.06 09:56:49, Andrew Hedges
Mail list logo