doc/book/en/development/devweb/form.rst
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 12 Nov 2009 09:27:01 +0100
branchstable
changeset 3820 52cd7432030d
parent 2172 cf8f9180e63e
child 4443 83ff2bb898a5
permissions -rw-r--r--
c-c create stopped asking if anonymous access should be activated introduced by 2654:6512522860aa, close #469418 Generic behaviour of WebCreateHandler should be kept for twisted and all-in-one configurations.

Form construction
------------------

Forms
~~~~~
XXX feed me
:Vocabulary control on relations:

  * `vocabulary(rtype, x='subject', limit=None)`, called by the
    editing views, it returns a list of couples (label, eid) of entities
    that could be related to the entity by the relation `rtype`
  * `subject_relation_vocabulary(rtype, limit=None)`, called internally
    by  `vocabulary` in the case of a subject relation
  * `object_relation_vocabulary(rtype, limit=None)`, called internally
    by  `vocabulary` in the case of an object relation
  * `relation_vocabulary(rtype, targettype, x, limit=None)`, called
    internally by `subject_relation_vocabulary` and `object_relation_vocabulary`

Fields
~~~~~~
XXX feed me

Widgets
~~~~~~~
XXX feed me

Renderers
~~~~~~~~~
XXX feed me