[Zope] Re: Parameters for external methods and page templates
Paul Winkler
pw_lists@slinkp.com
Tue, 17 Sep 2002 07:22:49 -0700
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. :)
--
Paul Winkler
"Welcome to Muppet Labs, where the future is made - today!"