----- Original Message -----
From: calvin33 <[EMAIL PROTECTED]>


> <dtml-in "my_catalog">
>    <dtml-if "my_condition">
>       <dtml-var "getobject(data_record_id_)">
>       <dtml-break>
>  . . .
>
> But  i  have  get  nothing ! Why ?
> I  am  sure  that  "my_condition"  is  right  because  it will  show  some
object  without  "dtml-break" .

Are you using some patch or Product which adds the "dtml-break" tag?  It
doesn't exist in standard Zope, though a similar capability has been
proposed.  As a workaround, you may want to try (untested):

<dtml-try>
  <dtml-in ...>
    <dtml-if ...>
        ...
       <dtml-raise type="Break"></dtml-raise>
    </dtml-if>
    ...
  </dtml-in>
<dtml-except Break>
</dtml-try>

Cheers,

Evan @ digicool & 4-am


_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to