"Mayers, Philip J" wrote:
> 
> Sorry - I'm being unclear: the result is exactly the same either way i.e.
> the variables "name" and "domain" seem to be reset to the values from
> outside the dtml-in block when entering the dtml-with block.

> > > Change your show method in root to be as follows:
> > >
> > > <dtml-in get_machine_hosts>
> > >  <dtml-var show_row>
> > >  <dtml-in get_host_aliases>
> > >   <dtml-var show_row>
> > >  </dtml-in>
> > > </dtml-in>
> > >
> > > And add another DTML method in root as follows:
> > >
> > > show_row:
> > > <TR>
> > >   <TD><dtml-var ip missing></TD>
> > >   <TD>&dtml-name;</TD>
> > >   <TD>&dtml-domain;</TD>
> > > </TR>

Now I could grep the above to be sure, but I'm prety certain there
aren't any dtml-with's in there...
Perhaps the above might be worth trying out? ;-)

cheers,

Chris

_______________________________________________
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