AW: [Zope] Create my own edit form

Breitenreicher, Marc Marc.Breitenreicher@friatec.de
Tue, 12 Mar 2002 09:52:28 +0100


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=FCngliche Nachricht-----
> Von:	Maik Jablonski [SMTP:maik.jablonski@uni-bielefeld.de]
> Gesendet am:	Dienstag, 12. M=E4rz 2002 09:36
> An:	Breitenreicher, Marc
> Cc:	zope@zope.org
> Betreff:	Re: [Zope] Create my own edit form
>=20
> hi,
>=20
> maybe you can try:
>=20
> <dtml-var "mydocument.document_src()" html_quote>
>=20
> greetings, maik.
>=20
> On Tue, 12 Mar 2002 08:57:01 +0100
> "Breitenreicher, Marc" <Marc.Breitenreicher@friatec.de> wrote:
>=20
> > Therefore I need to get the unrendered data of a document to print =
out
> in a
> > textarea-box.
> >=20
> > I tried something like
> >   <textarea name=3D"data:string" cols=3D"50" rows=3D"10">
> >    <dtml-var "_[mydocument]">
> >    </textarea>
> >=20
> > The variable 'mydocument' is the document I want to edit.
> > But this returns the rendered dtml-code, only html-tag stay as they
> were.