10 Oct
2003
10 Oct
'03
6:48 a.m.
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