[Zope] Instance of ZClass

Walter Hupfeld whupfeld@swhamm.de
Wed, 15 Aug 2001 18:11:27 +0200


I want to build an instance of ZClass like

<dtml-call "REQUEST.set('id',REQUEST.form['id_neu'])">
<dtml-with "manage_addProduct['Tauschboerse']">
    <dtml-call "SkizzeClass_add(_.None,_, NoRedir=1)">
</dtml-with>
<dtml-call "REQUEST.set('meine_skizze',_[REQUEST.form['id_neu']])">

<dtml-call 
   "_['meine_skizze'].propertysheets.Beschreibung.manage_changeProperties({
       'Name':REQUEST.form['Name'],
       'Email':REQUEST.form['Email'],
       'Sprache':REQUEST.form['Sprache'],
.....

where 'Sprache' is the name of a CHECKBOX. It works fine, if all checkboxes 
are checked. But if not all checkboxes are  checked, I will get an keyerror.

What can I do?

-- 
----------- --------------------
Walter Hupfeld  
--------------------------------