File: README.ScriptableFields.txt

package info (click to toggle)
zope-scriptablefields 1.0-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 212 kB
  • ctags: 160
  • sloc: python: 600; makefile: 109; sh: 2
file content (19 lines) | stat: -rw-r--r-- 679 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
ScriptableFields is a collection of fields  dealing with logic 
instead of content. This is kind of evil and if you use those 
fields be sure you really want it this way!

The bundle contains:

TALESField -- a StringField like field you store a TALES expression
              in. It gets evaluated on 'get' and the result is
              returned.

PythonField -- a TextArea like field where you can store a
              whole Script (Python) in. On 'get' its evaluated  and
              the result is returned.

DTMLField and ZPTField -- both fields working like PythonScriptField
              but the given text is evaluated as DTML or Zope Page-
              Template.