[Zope] Problem with Zclass Property Sheet

pieter claassen pieter@pieterclaassen.co.uk
Thu, 30 Jan 2003 17:33:13 -0000


This is a multi-part message in MIME format.

------=_NextPart_000_0001_01C2C885.AC6C9D00
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

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 <http://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


------=_NextPart_000_0001_01C2C885.AC6C9D00
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html>

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">


<meta name=3DGenerator content=3D"Microsoft Word 10 (filtered)">

<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{font-family:Arial;
	color:windowtext;}
@page Section1
	{size:612.0pt 792.0pt;
	margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
	{page:Section1;}
 /* List Definitions */
 ol
	{margin-bottom:0cm;}
ul
	{margin-bottom:0cm;}
-->
</style>

</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;font-family:Arial'>Hello,</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;font-family:Arial'>I have developed a product with ZClasses =
called Newster.
The newsclass contains a subclass called message that contains the =
messages.</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;font-family:Arial'>Everything works really swell (you can see the =
frontpage
at <a href=3D"http://www.openauth.co.uk/">www.openauth.co.uk</a> ) but I =
have the
following problems:</span></font></p>

<ol start=3D1 type=3D1>
 <li class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
     10.0pt;font-family:Arial'>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&#8217;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?</span></font></li>
 <li class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
     10.0pt;font-family:Arial'>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?</span></font></li>
</ol>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;font-family:Arial'>All help appreciated,</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;font-family:Arial'>Thanks,</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;font-family:Arial'>Pieter</span></font></p>

</div>

</body>

</html>

------=_NextPart_000_0001_01C2C885.AC6C9D00--