refactoring of browser/form.py - prepare for using cybertools.composer.schema instead of zope.formlib
git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@1995 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
parent
c793032aab
commit
a049b73f0e
1 changed files with 6 additions and 6 deletions
12
README.txt
12
README.txt
|
@ -709,12 +709,12 @@ that in turns calls formlibs ``setUpWidgets()``.
|
|||
The new technique uses the ``fields`` and ``data`` attributes...
|
||||
|
||||
>>> for f in view.fields:
|
||||
... print f.name, f.fieldType, f.required, f.voc
|
||||
title text True
|
||||
description textarea False
|
||||
data textarea False
|
||||
contentType dropdown True
|
||||
linkUrl text False
|
||||
... print f.name, f.fieldType, f.required, f.vocabulary
|
||||
title text True None
|
||||
description textarea False None
|
||||
data textarea False None
|
||||
contentType dropdown True <...SimpleVocabulary object...>
|
||||
linkUrl text False None
|
||||
|
||||
The object is changed via a FormController adapter created for
|
||||
a NodeView.
|
||||
|
|
Loading…
Add table
Reference in a new issue