[Zope] tree and dtml-with only not working for me

Thomas Weiner weiner@tu-harburg.de
Thu, 02 Mar 2000 19:08:13 +0100


Thomas Weiner schrieb:
> 
> Andy Heath schrieb:
> >
> > Phil,
> >
> 
> > This code finds "rubbish" at higher acquisition levels.  I know it
> > shouldn't but it does.  Anyone throw any light on it?
> 
> No light, no solution, only a bad workaround:

apologies, ignore my pervious posting, try instead:

<dtml-let newid=id>
  <dtml-with "_[newid]" only>
  <dtml-if rubbish>
   <dtml-var rubbish>
  </dtml-if>
 </dtml-with>
 </dtml-let>

in your tree code. This gives me the expected results.

Regards,
Thomas