--- a/doc/book/en/B1030-form-management.en.txt Fri Jan 23 19:21:29 2009 +0100
+++ b/doc/book/en/B1030-form-management.en.txt Mon Jan 26 07:55:35 2009 +0100
@@ -13,7 +13,7 @@
The form generated by default does not fit your needs? You are not
required to re-do all by hands! :)
-* rtags primary, secondary, generated, generic,
+* rtags primary, secondary, generated, generic,
`Entity.relation_category(rtype, x='subject')`
* inline_view (now a rtag?)
* widget specification
@@ -36,8 +36,8 @@
starting by `eid:` and also having a parameter `__type` associated
(also *qualified* by eid)
-2. For all the attributes and the relations of an entity to edit:
-
+2. For all the attributes and the relations of an entity to edit:
+
1. search for a parameter `edits-<relation name>` or `edito-<relation name>`
qualified in the case of a relation where the entity is object
2. if found, the value returned is considered as the initial value
@@ -50,24 +50,24 @@
1. if a qualified parameter `__linkto` is specified, its value has to be
a string (or a list of string) such as: ::
-
+
<relation type>:<eids>:<target>
-
+
where <target> is either `subject` or `object` and each eid could be
separated from the others by a `_`. Target specifies if the *edited entity*
is subject or object of the relation and each relation specified will
be inserted.
2. if a qualified parameter `__clone_eid` is specified for an entity, the
- relations of the specified entity passed as value of this parameter are
+ relations of the specified entity passed as value of this parameter are
copied on the edited entity.
3. if a qualified parameter `__delete` is specified, its value must be
a string or a list of string such as follows: ::
-
+
<ssubjects eids>:<relation type>:<objects eids>
- where each eid subject or object can be seperated from the other
+ where each eid subject or object can be seperated from the other
by `_`. Each relation specified will be deleted.
4. if a qualified parameter `__insert` is specified, its value should
@@ -84,14 +84,14 @@
.. note::
-
+
* If the parameter `__action_delete` is found, all the entities specified
as to be edited will be deleted.
-
+
* If the parameter`__action_cancel` is found, no action is completed.
- * If the parameter `__action_apply` is found, the editing is applied
- normally but the redirection is done on the form
+ * If the parameter `__action_apply` is found, the editing is applied
+ normally but the redirection is done on the form
(see :ref:`RedirectionControl`).
* The parameter `__method` is also supported as for the main template
@@ -120,7 +120,7 @@
* `__redirectparams`: forms parameters to add to the path
-* `__redirectrql`: redirection RQL request
+* `__redirectrql`: redirection RQL request
* `__redirectvid`: redirection view identifier
@@ -132,6 +132,6 @@
* `__form_id`: initial view form identifier, used if `__action_apply` is
found
-In general we use either `__redirectpath` and `__redirectparams` or
+In general we use either `__redirectpath` and `__redirectparams` or
`__redirectrql` and `__redirectvid`.