Re: [Zope-dev] Calling DTML methods from Python

2000-05-30 Thread Rik Hoekstra
Andrew Wilcox wrote: > > >OK, I'll set up a DTML Quick Reference on the ZDP site right now! It's link > >is > > > >http://zdp.zope.org/portals/beginners/DQR > > > >We should be able to get this in place. Contributions sought! > > Do you want me to include my text? Where would it go? Yes. Hm,

Re: [Zope-dev] Calling DTML methods from Python

2000-05-29 Thread Rik Hoekstra
>>Is it just me or is there a lot of confusion between the terms >>namespace, self, client, and the REQUEST object (which, unlike it's name >>implies, seems to contain a lot more than stuff relating to the HTTP >>request, like the RESPONSE object, for example ;-) >> >>Perhaps this could be shaken

Re: [Zope-dev] Calling DTML methods from Python

2000-05-29 Thread Andrew Wilcox
>Is it just me or is there a lot of confusion between the terms >namespace, self, client, and the REQUEST object (which, unlike it's name >implies, seems to contain a lot more than stuff relating to the HTTP >request, like the RESPONSE object, for example ;-) > >Perhaps this could be shaken down a

Re: [Zope-dev] Calling DTML methods from Python

2000-05-29 Thread Chris Withers
Kevin Dangoor wrote: > I believe this is in the Collector... My guess is that no one has yet > figured out a good way to make the client and namespace be passed in > automatically. This may not be desirable anyhow, because there may be times > when you want to change the client... I've actually do

Re: [Zope-dev] Calling DTML methods from Python

2000-05-29 Thread Kevin Dangoor
lt;[EMAIL PROTECTED]> Sent: Monday, May 29, 2000 12:32 PM Subject: Re: [Zope-dev] Calling DTML methods from Python > On more of a ranting rather than a genuine question note, > > Why does this _horrible_ syntax for calling methods with parameters >

Re: [Zope-dev] Calling DTML methods from Python

2000-05-29 Thread Chris Withers
On more of a ranting rather than a genuine question note, Why does this _horrible_ syntax for calling methods with parameters still have to be used? *blech* Chris ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zo

[Zope-dev] Calling DTML methods from Python

2000-05-29 Thread Chris Withers
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