[Zope] ZopeDud was: HELP! Double outputs!

Randall F. Kern randy@spoke.net
Mon, 14 May 2001 08:37:29 -0700


> From: Paul Zwarts [mailto:paz@oratrix.com]
>=20
> What remains to be said. Even IF there are two alike rows,=20
> then shouldnt:
>=20
> <dtml-in "something(pk=3D1)" size=3D1>
>    dtml-var pk>
> </dtml-in>
>=20
> Output the record only once?
>=20

No, because of the "orphan" feature of dtml-in.  If you use:

<dtml-in "somthing(pk=3D1)" size=3D1 orphan=3D0>
  <dtml-var pk>
</dtml-in>

Then you should get the expected behavior.
-Randy