Unfortunatelly, it not the solution. It returns: AttributeError: document_src Does anyone know, if I perhaps have to use the document_src function like this: URL/mydocument/document_src() I'm not sure. The Zope Book API doesn't say it right.
-----Ursprüngliche Nachricht----- Von: Maik Jablonski [SMTP:maik.jablonski@uni-bielefeld.de] Gesendet am: Dienstag, 12. März 2002 09:36 An: Breitenreicher, Marc Cc: zope@zope.org Betreff: Re: [Zope] Create my own edit form
hi,
maybe you can try:
<dtml-var "mydocument.document_src()" html_quote>
greetings, maik.
On Tue, 12 Mar 2002 08:57:01 +0100 "Breitenreicher, Marc" <Marc.Breitenreicher@friatec.de> wrote:
Therefore I need to get the unrendered data of a document to print out in a textarea-box.
I tried something like <textarea name="data:string" cols="50" rows="10"> <dtml-var "_[mydocument]"> </textarea>
The variable 'mydocument' is the document I want to edit. But this returns the rendered dtml-code, only html-tag stay as they were.