[Zope] List of object's name in a ZClass
Vincent
vinc.del@wanadoo.fr
Mon, 28 Aug 2000 17:14:47 +0100
This is a multi-part message in MIME format.
------=_NextPart_000_0001_01C01113.90BBEE20
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Hi,
In a Zope folder, I have :
- 1 instance of a personnal ZClass A
- 10 or more instances of ZClass B
- a DTML document
I would like to call a DTML method (which is implemented in the ZClass A)
from the DTML document to display a list of all instances names of ZClasse B
If somebody know how to do that...
Thanks for all
------=_NextPart_000_0001_01C01113.90BBEE20
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 HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D200471016-28082000><FONT =
size=3D2>Hi,</FONT></SPAN></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><SPAN class=3D200471016-28082000><FONT size=3D2>In a Zope folder, I =
have=20
:</FONT></SPAN></DIV>
<DIV><SPAN class=3D200471016-28082000><FONT size=3D2> - 1 instance =
of a=20
personnal ZClass A</FONT></SPAN></DIV>
<DIV><SPAN class=3D200471016-28082000><FONT=20
size=3D2> - 10 or more =
instances of=20
ZClass B</FONT></SPAN></DIV>
<DIV><SPAN class=3D200471016-28082000><FONT size=3D2> - a DTML=20
document</FONT></SPAN></DIV>
<DIV><SPAN class=3D200471016-28082000><FONT =
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D200471016-28082000><FONT size=3D2>I would like to =
call a DTML=20
method (which is implemented in the ZClass A) from the DTML document to =
display=20
a list of all instances names of ZClasse B</FONT></SPAN></DIV>
<DIV><SPAN class=3D200471016-28082000><FONT =
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D200471016-28082000><FONT size=3D2>If somebody know =
how to do=20
that...</FONT></SPAN></DIV>
<DIV><SPAN class=3D200471016-28082000><FONT =
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D200471016-28082000><FONT size=3D2>Thanks for=20
all</FONT></SPAN></DIV></BODY></HTML>
------=_NextPart_000_0001_01C01113.90BBEE20--