[Zope-CMF] CMF Plone missing edit scripts

seb bacon seb@jamkit.com
08 Mar 2002 13:19:59 +0000


Ot,  this is an html-mail-hostile list, please post in plain text...


> ..tal:define="text python:request.get('text', here.EditableBody)"


> Any help in this matter would be appreciated.

Really, you have a lot more reading to do before you will understand
what is going on.  You should read the whole Zope Book before you
continue or you will get stuck.

http://www.zope.org/Members/michel/ZB/

To answer your question:

"request" is the request object from the Zope machinery.  'get' is the
method which gets values from a mapping.  'text' is the value it's
trying to get from the mapping.  'here.EditableBody' is the default
value to return if 'test' is not available.  EditableBody isn't a python
script, it's a method of CMF Document objects, which returns the raw
text, rather than cooked structured text.

seb