"Mayers, Philip J" wrote:
Try this:

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>

And add another DTML method in root as follows:

  <TD><dtml-var ip missing></TD>

so you have:
   get_machine_hosts (SQL method)
   get_host_aliases (SQL method)
   show (dtml method)
   show_row (dtml method)

Does that solve your problem?
(I know it doesn't sovle any concerns you have about dtml-with and SQL
method, but your posting wasn't exactly to reproduce, and so even if
submitted to the collector, isn't likely to get followed up)

> While I'm at it, is <dtml-with foldername><dtml-var dtmlmethod></dtml-with>
> really the best way to call a DTML method of a folder?

Mostly, yes...

BTW, checkout http://www.zope.org/Members/michel/ZB/ and have a good
read :-)



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

Reply via email to