Hi, as to 1) I guess you used a checkbox to represent yor boolean property?? If so, those beasts are a little nasty to handle. If you uncheck a checkbox in a HTML from, it means that the value will not be posted to the recieving action at all! So you need to check if the variable is posted at all, if not, you need to set the boolean property to 0 by yourself. There are ways around this in your form, but this might be the solution... Cheers Jochen Am Donnerstag, 30.01.03, um 18:33 Uhr (Europe/Berlin) schrieb pieter claassen:
Hello,
I have developed a product with ZClasses called Newster. The newsclass contains a subclass called message that contains the messages.
Everything works really swell (you can see the frontpage at www.openauth.co.uk ) but I have the following problems:
1. I tried to create a Boolean property in the message class basic property sheet to tick to expire messages. However, when I create a propert_sheet_interface, the template code is generated fine except that for some reason the Boolean property doesn’t work properly. I cannot unselect it once it is selected and no matter how much I scratch around in the code, I cannot resolve this issue. In the end I replaced the Boolean property with a string object and just set it from 0 to 1 when I want to expire messaged. Is this a known issue and is there a Boolean based workaround? 2. Also, how do I give my Zope product an icon in the free view? I guess I have to set this somewhere in the Zclass, but how?
All help appreciated,
Thanks,
Pieter