Hi,

As part of ongoing Squishdot work I wanted to make things like
standard_html_header available to the showMessage DTML method, which is
called from a python method in Squishdot.py.

Why do I have to include self as follows?

return self.showMessage(self, REQUEST=REQUEST [stuff])   

I thought self was automatically passed by python.

Why is it not in this case?

is this the same reasons why you need the following (horrible) DTML:

<dtml-call "someFunc(_,REQUEST,[stuff])">

rather than <dtml-call "someFunc([stuff])"> which would be much nicer
;-)

cheers,

Chris

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

Reply via email to