[Zope] [Zope]: manage_edit with DTML method
Dieter Maurer
dieter@handshake.de
Tue, 26 Jun 2001 23:43:46 +0200 (CEST)
Arno Gross writes:
> I have two DTML methods and I want to do sth like this:
>
> <dtml-call "manage_edit(data=result_of_other_DMLTmethod, title='myTitle')">
>
> But how can I force that the rendered result is inserted and not the document
> source.
An FAQ...
Rendering a DTML object means calling it.
The easiest way:
<dtml-let result=result_of_method <!-- renders -->
<dtml-call "manage_edit(data=result, title='myTitle')">
</dtml-let>
a more complex alternative:
<dtm-call "manage_edit(data=result_of_method(_.None,_), title='myTitle')">
More info
URL:http://www.dieter.handshake.de/pyprojects/zope/book/chap3.html
Dieter