The default constructor when a ZClass is created calls:
And when you programmatically add a ZClass instance, it's like this:
This creates the instance in the directory of the method from which the
call was made.
The Question:
How do you go about adding an instance to a specific folder? I
How do you access an individual object in a LocalFS? By that, I mean:
If I wanted the last_mod time of any Zope object, I could say .
However, if you try to do the same thing with a LocalFS object, i.e.
,
you get the error NameError: localfs_subobject
This leads me to believe that LocalFS subobj
Is there a way to do a dynamic image resize in Zope? I know PHP has that
ability, and I was hoping that Zope had something similar.
And I'm not talking about height and width atributes in the img tag. I mean
actually creating, on-the-fly, a new duplicate of the image that's a
different size.
___
Does anyone now how I might take a string and turn it into an object
reference in DTML?
By that, I mean, I want to take a string like: 'object.subobject.subobject'
from a database,
and I want to reference it as .
I think this is a simple, straightforward thing, but I've been wracking my
brain ov
Thought we had a problem of ours fixed, but here it is once again, a month
later.
Zope, every once in a while, will just stall indefinitely. The Zope process
doesn't die, it just hangs.
Everything was fine for a month or so, and now the problem's started again,
about every hour.
We're running 2.
Has anyone had significant speed issues using the PyGreSQLDA? It seems like
I'm only getting one DB connection at a time. Is this an issue with the DA,
with Zope, or am I doing something wrong? I have a pgsql db running just
fine, and in Zope I have a connection instantiated at the top level that
Alright Zopers, I'm looking for a hint, a suggestion, just about anything
would help since I can't, for the life of me, figure out what's wrong.
Here's the run-down.
We are running Zope 2.2.0 on Solaris, and we're running it through Apache +
SSL. We're using a PostgreSQL DB with the ZPoPyDA. We
I was wondering if anyone else had experienced this problem: Ever since we
installed the ZPoPy database adapter, the server has been occasionally
crashing, and it gets worse and worse over time. Has anyone else experienced
this problem? We're running Zope through Apache, on a Solaris box, with
Po
Is there an easy way to increment the month or year of the DateTime object?
Adding a numeric value increments the day. Incrementing the year is easily
doable, but incrementing the month is significantly more difficult. So I'm
just curious if there's a function that will actualy modify the parts
But that's more like a for loop. No test condition.
Basically, I want to keep redoing a method until a condition is met.
-Original Message-
From: Daniel Rusch [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 26, 2000 3:19 PM
To: Leichtman, David J
Cc: '[EMAIL PROTECTED]
Is there an easy way to simulate the functionality of a while loop in DTML?
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/l
I've previously been a Perl programmer. I did a lot of stuff where I would
have multiple links with different options.
Ex.
1234
2345
Then, in script.pl, I would pick up the extra info on the other side from
$PATH_INFO.
The problem in Zope is that there is no "end" to the address. Serving from
A
I'm probably missing something really key here, but I'm having
difficulty
doing multiple sessions in FSSession.
I have a session and then, say, take some form data and push it to the
session. If I'm on a different machine (different cookie / different
SessionUID), and I get different form data an
13 matches
Mail list logo