[Zope] logic problem
technology
technology@mylinuxisp.com
Sun, 20 Feb 2000 11:31:01 -0600
This is a multi-part message in MIME format.
------=_NextPart_000_0007_01BF7B95.F7332150
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
oh by the way you guys have been helping in an excellent way this week. =
thanks so much.
When I use this dtml; if bid, bpurchaseyear, and bdescription are all =
true. the string ends up being set to
'id,description'
It is skipping the bpurchaseyear or taking 'puchaseyear' it out of the =
string. I am not sure what is happening.
<dtml-if bid>
<dtml-call "manage_changeProperties(qstring =3D 'id')">
</dtml-if>
<dtml-if bpurchaseyear>
<dtml-call "manage_changeProperties(testvalue =3D qstring)">
<dtml-if bid>
<dtml-call "manage_changeProperties(qstring =3D testvalue + ',' + =
'puchaseyear')">
<dtml-else>
<dtml-call "manage_changeProperties(qstring =3D 'purchaseyear')">
</dtml-if>
</dtml-if>
<dtml-call "manage_changeProperties(testvalue =3D qstring)">
<dtml-if bdescription>
<dtml-if "bid or bpurchaseyear">
<dtml-call "manage_changeProperties(qstring =3D testvalue + ',' + =
'description')">
<dtml-else>
<dtml-call "manage_changeProperties(qstring =3D testvalue + =
'description')">
</dtml-if>
</dtml-if>
------=_NextPart_000_0007_01BF7B95.F7332150
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2314.1000" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>oh by the way you guys have been =
helping in an=20
excellent way this week. thanks so much.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>When I use this dtml; if bid, =
bpurchaseyear, and=20
bdescription are all true. the string ends up being set to</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>'id,description'</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>It is skipping the bpurchaseyear or =
taking=20
'puchaseyear' it out of the string. I am not sure what is=20
happening.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><dtml-if bid><BR><dtml-call=20
"manage_changeProperties(qstring =3D =
'id')"><BR></dtml-if></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2><dtml-if =
bpurchaseyear><BR><dtml-call=20
"manage_changeProperties(testvalue =3D =
qstring)"><BR> =20
<dtml-if bid><BR> <dtml-call=20
"manage_changeProperties(qstring =3D testvalue + ',' +=20
'puchaseyear')"><BR> =20
<dtml-else><BR> <dtml-call=20
"manage_changeProperties(qstring =3D=20
'purchaseyear')"><BR> =20
</dtml-if><BR></dtml-if><BR><dtml-call=20
"manage_changeProperties(testvalue =3D qstring)"><BR><dtml-if=20
bdescription><BR> <dtml-if "bid or=20
bpurchaseyear"><BR> <dtml-call=20
"manage_changeProperties(qstring =3D testvalue + ',' +=20
'description')"><BR> =20
<dtml-else><BR> <dtml-call=20
"manage_changeProperties(qstring =3D testvalue +=20
'description')"><BR> =20
</dtml-if><BR></dtml-if><BR></FONT></DIV></BODY></HTML>
------=_NextPart_000_0007_01BF7B95.F7332150--