Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
devel:documentation:application_configuration:dev:dynamic-forms [2019/02/01 11:30] tomiskar |
devel:documentation:application_configuration:dev:dynamic-forms [2019/02/14 12:19] tomiskar [Attachments] |
||
---|---|---|---|
Line 40: | Line 40: | ||
* '' | * '' | ||
* '' | * '' | ||
- | * '' | + | * '' |
+ | |||
+ | |||
+ | <note info> | ||
with properties: | with properties: | ||
Line 113: | Line 116: | ||
===== Validation ===== | ===== Validation ===== | ||
+ | {{tag> | ||
- | For form attribute values is possible to configure prepared validations. Validation are evaluated, when form with extended attributes is saved and sent to backend. Simple validations as '' | + | For form attribute values is possible to configure prepared validations. Validation are evaluated |
=== Required === | === Required === | ||
Line 134: | Line 138: | ||
==== Regex ==== | ==== Regex ==== | ||
- | Value has to match given regular expression. | + | Value has to match given regular expression |
<note info> | <note info> | ||
Line 140: | Line 144: | ||
<note info> | <note info> | ||
Use single back slash for configure regex on GUI => use double back slash in java. | Use single back slash for configure regex on GUI => use double back slash in java. | ||
- | Example regex for the ip address: | + | Example regex for the ip v4 address: |
* GUI: '' | * GUI: '' | ||
* java: '' | * java: '' | ||
</ | </ | ||
+ | |||
+ | {{ : | ||
==== Validation message ==== | ==== Validation message ==== | ||
Line 169: | Line 175: | ||
<note tip>Only identity extended attribute values support authorization policies. Support for other entities can be added in future.</ | <note tip>Only identity extended attribute values support authorization policies. Support for other entities can be added in future.</ | ||
+ | |||
+ | ===== Attachments ===== | ||
+ | |||
+ | Attachments can be uploaded for the attributes with persistent type '' | ||
+ | |||
+ | Attachment can be downloaded from frontend (implemented for Identity and Role agenda). If attachment is picture (~ attachment mime type starts with '' | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Read more about [[..: | ||
+ | |||
+ | |||
+ | |||
===== Future development ===== | ===== Future development ===== | ||
* Form value data migration, when persistent type is changed. | * Form value data migration, when persistent type is changed. | ||
- | * [[https:// | + | * Attachment renderer: support multiple files, validation support (now is validation on input) |