"Mayers, Philip J" wrote:
> 
> > 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>
> > 
> > so you have:
> >  /root
> >    get_machine_hosts (SQL method)
> >    get_host_aliases (SQL method)
> >    show (dtml method)
> >    show_row (dtml method)
 
> That was how I had the code originally. Didn't help. 

What happens when you try that? Errors? Unexpected values?

> I've already read the
> Zope 'book' 

Yes, it is frustrating how long it's taking for that to get printed, I
wonder what's holding it up?

> (if I were using 2.3 (which I can't, because LoginManager
> doesn't work OOTB),

I remember seeing the posts relating to that, did you ever find out why
it wasn't working? 

> I'd be using Python methods to do most of this instead.
> I'm not, I'm using 2.2.5)

Wise choice, but you mean python scripts in 2.3 ;-)
You can actually download Python _Methods_ right now and use them in
2.2.5:
http://www.zope.org/Members/4am/PythonMethod

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