[Zope] List from another list in DTML?

2000-10-15 Thread Alexander Chelnokov
Hello All, A form contains data items ['firstname','secondname','dofb' etc] and some "service" fields ['submit','sid','form','nform']. With REQUEST.form.items() all these fields are included in a single list. How can another list be created from the list which contains only data fields? Is it

[Zope] Re: Zope digest, Vol 1 #1017 - 17 msgs (I will be out of theoffice Monday, October 16th)office Monday, October 16th)

2000-10-15 Thread Darin Lee
I will be out of the office on Monday, October 16. If you require assistance, please contact the DEQ helpdesk at 241-7495. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding!

[Zope] ZClass derrived from Image does not call view from within dtml-var

2000-10-15 Thread Noah
Hi, I'm a Zope beginner. I'm trying to create an ImageTemplate ZClass. This will work similar to an Image, but the user can insert it directly in DTML using dtml-var MyImage and it will get expanded into HTML (with formatting, img tag, caption, etc.) This may be long and complicated, but I

[Zope] image attachments in dtml-sendmail and dtml-mime

2000-10-15 Thread Matt
I have benn having a problem with attaching images to a dtml-sendmail. The following is my dtml code : dtml-sendmail mailhost="MailHost" To: Feedback Recipient [EMAIL PROTECTED] From: Zope Feedback Form [EMAIL PROTECTED] Subject: Feedback from the web Feedback from : Matt dtml-mime

[Zope] NEWBIE: assign next free ID automatically

2000-10-15 Thread Patrick Koetter
Hi, I've been through the Guides, How-Tos and also some of the list-archives. Though I am not a programmer I finally decided to ask that question to all of you... I want to give Users the possibility to add documents in a folder things_to_do ;-). so far so good ... Then I want to control the

Re: [Zope] NEWBIE: assign next free ID automatically

2000-10-15 Thread jensebaer
Hi, it is not tested but may it works dtml-call "REQUEST.set('newid', _.string.atoi('0'))" dtml-in "objectValues('DTML Document')" dtml-if "_.int(id) = newid" dtml-call "REQUEST.set('newid', _.int(id) + _.string.atoi('1'))" /dtml-if /dtml-in Your new id is: dtml-var newid may you

[Zope-dev] Re: Re: Refresh and debugging product creation issues.....

2000-10-15 Thread Stephen Simmons
Shane and Zope-Dev users of Refresh, Have you noticed any differences refreshing objects that are in the root folder versus higher in the Zope tree? Last week, I was debugging a class using Refresh. I had two class instances, E1 in the root directory and E2 which lived inside E1 (my class is

RE: [Zope-dev] (no subject)

2000-10-15 Thread Gregor Heine
I recently asked how to read in and render the contents of an external file, which doesn't work anymore using Zope 2.2.2 an LocalFS' xxx.read(), and You responded that The quickest solution for you would be an external method that gets the file, performs the "read" and returns the

[Zope-dev] Adding a new UserSource

2000-10-15 Thread Harry Henry Gebel
I am trying to add a new UserSource for LoginManager. I placed a directory SampleUserSource in /usr/lib/zope/lib/python/Products , in this directory I placed two files __init__.py and SampleUserSource.py . Here are the contents of the files: __init__.py: from SampleUserSource import

[Zope-dev] LoginManager and ZPatterns

2000-10-15 Thread Morten W. Petersen
I've been fiddling a bit with the LoginManager; but can't seem to make it work. The product versions are ZPatterns 0.3.0 and LoginManager 0.8.6. (Downgraded the ZPatterns product because the LoginManager couldn't find a class named .. SheetProviderContainer, I think). When adding a

[Zope-dev] Getting all objectIds, recursively (ZODB)

2000-10-15 Thread Morten W. Petersen
Is there a method available that'll return a nested list of ids (or something similar) of the current object? -Morten ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! **

Re: [Zope-dev] Getting all objectIds, recursively (ZODB)

2000-10-15 Thread Morten W. Petersen
[Erik Enge] | On 15 Oct 2000, Morten W. Petersen wrote: | | Is there a method available that'll return a nested list of ids (or | something similar) of the current object? | | "current object"? You probably mean objects? No, the current (containing) object. | Couldn't you do that with

Re: [Zope-dev] Adding a new UserSource

2000-10-15 Thread Phillip J. Eby
At 10:10 AM 10/15/00 -0400, Harry Henry Gebel wrote: I am trying to add a new UserSource for LoginManager. I placed a directory SampleUserSource in /usr/lib/zope/lib/python/Products , in this directory I placed two files __init__.py and SampleUserSource.py . Here are the contents of the files:

Re: [Zope-dev] LoginManager and ZPatterns

2000-10-15 Thread Phillip J. Eby
At 05:11 PM 10/15/00 +0200, Morten W. Petersen wrote: I've been fiddling a bit with the LoginManager; but can't seem to make it work. The product versions are ZPatterns 0.3.0 and LoginManager 0.8.6. (Downgraded the ZPatterns product because the LoginManager couldn't find a class named ..

Re: [Zope-dev] LoginManager and ZPatterns

2000-10-15 Thread Morten W. Petersen
[Phillip J. Eby] | 0.8.6 won't work with 0.3.0 ZPatterns, IIRC. I'm pretty positive it | requires one of the 0.4.x releases, but I'm not positive which one. You | might be better off with the latest (current) releases of both. Okay, I tried different ZPattern versions against the most recent

Re: [Zope-dev] A couple of ZPatterns questions

2000-10-15 Thread Itai Tavor
At 06:15 PM 10/12/00 +1100, Itai Tavor wrote: Hi, .. 2. I want to store a list of products, and give each one an arbitrary number of photos. I can use a Product ZClass, subclassed from ObjectManager and store Image objects inside it. But what will happen to these objects if I use this