diff -r 523a7f098066 -r 8e04ab5582d9 doc/book/en/devweb/edition/dissection.rst --- a/doc/book/en/devweb/edition/dissection.rst Fri Jul 25 17:10:05 2014 +0200 +++ b/doc/book/en/devweb/edition/dissection.rst Wed May 20 16:13:07 2015 +0200 @@ -60,7 +60,7 @@
+ class="entityForm" target="eformframe">
validating...
@@ -73,6 +73,7 @@ value="concerns-subject,done_in-subject,priority-subject,type-subject,title-subject,description-subject,__type,_cw_generic_field" /> ...
+
@@ -259,36 +260,13 @@ The form validation process --------------------------- -Preparation -~~~~~~~~~~~ - -After the (html) document is loaded, the ``setFormsTarget`` javascript -function dynamically transforms the DOM as follows. For all forms of -the DOM, it: - -* sets the ``target`` attribute where there is a ``cubicweb:target`` - attribute (with the same value) - -* appends an empty `IFRAME` element at the end - -Let us have a look again at the form element. We have omitted some -irrelevant attributes. - -.. sourcecode::html - -
- ... -
- Validation loop ~~~~~~~~~~~~~~~ On form submission, the form.action is invoked. Basically, the ``validateform`` controller is called and its output lands in the -specified ``target``, the iframe that was previously prepared. +specified ``target``, an invisible ``