<input type="hidden" name="teachers:list:default" value="">
<dtml-call "REQUEST.set('teacherList', getAllTeachers())"> <dtml-in teacherList sort=title> <input type="checkbox" name="teachers:list" value="<dtml-var path>"<dtml-if selected> checked</dtml-if>>
<a href="<dtml-var path>/manage_main">&dtml-title;</a><br> </dtml-in>
I have tracked the problem to the default value always being added to the "teachers" list.
meaning that my action method:
def addTeacher(self, teachers): print teachers
>> ['some/path', '']
Where I would expect:
>> ['some/path']
Isn't that a new behaviour? And isn't it a bug?
regards Max M
_______________________________________________
Zope-Dev maillist - [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )