Commit 62c6f3e3 authored by Carsten  Rose's avatar Carsten Rose
Browse files

Minor changes

parent e7d38f92
Pipeline #4973 passed with stages
in 3 minutes and 52 seconds
......@@ -252,7 +252,7 @@ Store: *VARS* - V
-----------------
* Sanitized: *no*
* The store contains automatically filled *QFQ values* and optional *custom* defined values.
* The store contains automatically filled *QFQ values* and optional *custom values*.
QFQ values
^^^^^^^^^^
......@@ -283,20 +283,22 @@ QFQ values
| mimeType | FE *upload* | Mime type of the uploaded file. |
+-------------------+-------------+--------------------------------------------------------------------------------------------------------------------------------------------+
Custom: fillStoreVar
^^^^^^^^^^^^^^^^^^^^
Custom values (via fillStoreVar)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The directive *Form.parameter.fillStoreVar* and *FormElement.parameter.fillStoreVar* will fill the STORE_VARS with
custom values.::
The directive *fillStoreVar* fills STORE_VARS with custom values::
# The values can be retrieved via `{{name:V}}` and `{{email:V}}`
fillStoreVar = {{! SELECT p.name, p.email FROM Person AS p WHERE p.id={{pId:S}} }}
* After filling the store, the values can be retrieved via `{{name:V}}` and `{{email:V}}`.
* Be careful by specifying general purpose variables like `id`, `r`, `pageId` and so on. This might conflict with existing variables.
* `fillStoreVar` can be used in :ref:`form-parameter` and :ref:`fe-parameter-attributes`
* Already existing variables with different names will be merged.
* Already existing variables with same names will be overwritten.
* `fillStoreVar` can be used in :ref:`Form.parameter<form-parameter>` and :ref:`FormElement.parameter<fe-parameter-attributes>`.
* If *fillStoreVar* is defined in Form and/or multiple FormElements:
* Already existing variables with different names will be merged.
* Already existing variables with same names will be overwritten by the latest definition.
* Be careful ;; by specifying general purpose variables like `id`, `r`, `pageId` and so on. This might conflict with
existing variables.
.. _STORE_LDAP:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment