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

2000-10-15 Thread Kapil Thangavelu
ola, the below will should work fine, although the _string.atoi is unesc since you can just use 0, or 1 by itself inside "" and have it treated as an int and its a bit inefficient to use objectValues over objectIds (list of objects vs. list of strings) although it saves you from having to do a d

Re: [Zope] List from another list in DTML?

2000-10-15 Thread Kapil Thangavelu
Alexander Chelnokov wrote: > > 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

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

2000-10-15 Thread jensebaer
Hi, it is not tested but may it works = newid"> Your new id is: may you have to use _.string.atoi(id) instead _.int(id) Viel Glück Jens - Original Message - From: "Patrick Koetter" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, October 16, 2000 2:59 AM Subj

[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 ;-). so far so good ... Then I want to control the IDs simply by a

[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 : To: Feedback Recipient <[EMAIL PROTECTED]> From: Zope Feedback Form <[EMAIL PROTECTED]> Subject: Feedback from the web Feedback from : Matt "paris" is the ID of an image I uploaded

[Zope] ZClass derrived from Image does not call "view" from within

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 and it will get expanded into HTML (with formatting, tag, caption, etc.) This may be long and complicated, but I thought that #4 below was

[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] 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 pos