[Zope] Problem with Zclass Property Sheet

D2 borelan@wanadoo.fr
Thu, 30 Jan 2003 16:03:02 -0400


pieter claassen a =E9crit:
> Hello,
>=20
> =20
>=20
> I have developed a product with ZClasses called Newster. The newsclass=20
> contains a subclass called message that contains the messages.
>=20
> =20
>=20
> Everything works really swell (you can see the frontpage at=20
> www.openauth.co.uk <http://www.openauth.co.uk/> ) but I have the=20
> following problems:
>=20
>    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=
=2E
>       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?
>

Through the ZMI, go to ControlPanel / Products / <yourproduct> /=20
<yourzclass> and click the Basic Tab, and fill in the icon path field.

> =20
>=20
> All help appreciated,
>=20
> Thanks,
>=20
> Pieter
>=20


--=20
Andre
PZP Enthusiast