Daryl Tester writes:
 > Dieter Maurer wrote:
 > 
 > > The __call__ function of DTML methods gets the following
 > > arguments: client=None, mapping=None, **kw.
 > > 
 > > You therefore may call it: "self.standard_html_header(self,REQUEST)"
 > > or "self.standard_html_header(None,REQUEST)".
 > 
 > And what's the difference between passing in self or None?  What
 > does the client parameter actually do?
When you pass 'None', the DTML method can only use the content
of REQUEST. If you pass "self", it can additionally use the direct
and acquired attributes of "self".



Dieter

_______________________________________________
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