Re: [Zope] python: calling DTML-methods without quoting

2005-10-08 Thread Dieter Maurer
Chris wrote at 2005-10-4 17:00 +0200: > ... >If I call a DTML-Method from an other Method (e.g. ), > HTML entities are not converted. This calls (renders) the DTML object >However if I call it from python (e.g. >the entities are html_quoted. this does not call (render) the DTML object but me

Re: [Zope] python: calling DTML-methods without quoting

2005-10-04 Thread Chris Withers
Chris wrote: I hope this is not a FAQ, but I looked for some info to no avail. And my answer to this FAQ, as always, is "use ZPT". If I call a DTML-Method from an other Method (e.g. ), HTML entities are not converted. This is calling and rendering whatever someDTML is... However if I call

Re: [Zope] python: calling DTML-methods without quoting

2005-10-04 Thread Peter Bengtsson
2005/10/4, Chris <[EMAIL PROTECTED]>: > Hi Peter, > > >> > >> > >> > > > > Now I'm very confused. What the heck is "someDTML" and what is "foo". > > I thought "someDTML" was a DTML Method/Document. Then what is foo? > > Sorry, my fault. This should read > > > > > > I could be wrong but it

Re: [Zope] python: calling DTML-methods without quoting

2005-10-04 Thread Chris
Hi Peter, Now I'm very confused. What the heck is "someDTML" and what is "foo". I thought "someDTML" was a DTML Method/Document. Then what is foo? Sorry, my fault. This should read I could be wrong but it seems your DTML usage is flawed. Then yes, you'll have to write some regul

Re: [Zope] python: calling DTML-methods without quoting

2005-10-04 Thread Chris
Hi Peter, sorry, I did not explain this clearly: someDTML looks like this: Hello World Calling returns the html_quoted string representation: Hello World returns Hello World 2005/10/04 17:29:35.199 GMT+2 As far as I remember, the "old" Zope versions did not h

Re: [Zope] python: calling DTML-methods without quoting

2005-10-04 Thread Peter Bengtsson
No. returns a "pointer" to that object called someDTML. Not it's rendered content. does the same as (sort of) There's a big difference between and Either I didn't understand your question or this answers it for you. 2005/10/4, Chris <[EMAIL PROTECTED]>: > Hi, > > I hope this is not a FAQ,