[Zope] FYI: Epoz 0.5.2 released
Maik Jablonski
maik.jablonski at uni-bielefeld.de
Fri Oct 10 02:48:21 EDT 2003
Fernando Martins wrote:
> Can you explain this DTML line from the edit Method?
>
> <dtml-if html><dtml-call "manage_edit(_.str(html),title)"></dtml-if>
Yes...
<dtml-if html>
# Just test, that the html-paramter is submitted in the request...
<dtml-call ...>
# Replace the old content with the new content from parameter html.
Maybe _.str(html) isn't really needed, but I've encountered some
problems with Zope marshalling the html to a wrong type, so it is just a
safety-belt...
</dtml-if>
# That's it
Cheers, Maik
More information about the Zope
mailing list