[Zope] Adding a ZClass Instance to a Specific Folder

2000-12-21 Thread Leichtman, David J
The default constructor when a ZClass is created calls: dtml-with "ZClass_name.createObjectInFolder(REQUEST['id'],REQUEST)" /dtml-with And when you programmatically add a ZClass instance, it's like this: dtml-with "manage_addProducts('Your_product')" dtml-call

[Zope] LocalFS question

2000-12-11 Thread Leichtman, David J
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 dtml-var "object.subobject.bobobase_modification_time". However, if you try to do the same thing with a LocalFS object, i.e. dtml-var

[Zope] image resize

2000-12-08 Thread Leichtman, David J
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.

[Zope] String to Object

2000-11-08 Thread Leichtman, David J
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 dtml-var object.subobject.subobject. I think this is a simple, straightforward

[Zope] Zope stalls indefinitely

2000-10-03 Thread Leichtman, David J
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

[Zope] PyGreSQLDA

2000-09-26 Thread Leichtman, David J
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

[Zope] strange zope problems of the crashing kind

2000-08-23 Thread Leichtman, David J
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

[Zope] server dies

2000-07-31 Thread Leichtman, David J
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

[Zope] working with datetime

2000-07-27 Thread Leichtman, David J
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

[Zope] while

2000-07-26 Thread Leichtman, David J
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 -

[Zope] (no subject)

2000-07-13 Thread Leichtman, David J
I've previously been a Perl programmer. I did a lot of stuff where I would have multiple links with different options. Ex. a href="/path/script.pl/1234"1234/abr a href="/path/script.pl/2345"2345/abr Then, in script.pl, I would pick up the extra info on the other side from $PATH_INFO. The