[Zope] Re: Parameters for external methods and page templates

Andreas Tille tillea@rki.de
Wed, 18 Sep 2002 10:13:05 +0200 (CEST)


On Tue, 17 Sep 2002, Paul Winkler wrote:

> On Tue, Sep 17, 2002 at 11:33:49AM +0200, Andreas Tille wrote:
> > As I said if the External Method "method" is called like
> >
> >      <img src="method" ...>
> >
> > the image is displayed as expected.
>
> OK, I see. You're not calling the method in your DTML, you're
> just using it as a src target.
> so why can't you do that in a page template?
> Can you give an example of what you did in a template?
> If you do something like <img tal:replace="here/method">...
> then of course you'll get binary gunk inline. That calls
> the method and inserts the result as a string. So
> don't do that. :)
It took some time to make it clear in my mind.  Sorry for bothering
you with my slow understanding of simple facts ...

Thanks for your help

          Andreas.