File tree Expand file tree Collapse file tree 2 files changed +18
-2
lines changed
Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,10 @@ Features:
2222
2323- add image/svg-xml as valid mime type to serve. Was being served as
2424 octet-stream. (John Rouillard)
25+ - improve customizing.txt documentation on use of Special Form
26+ Variables. Added example html inputs to illustrate the doc.
27+ Fix position of designator in doc example. It occurs before
28+ @link@ or other edit command.
2529
26302021-06-19 2.1.0b1
2731
Original file line number Diff line number Diff line change @@ -2445,6 +2445,11 @@ Two special form values are supported for backwards compatibility:
24452445 @link@messages=msg-1
24462446 msg-1@content=value
24472447
2448+ which is equivalent to the html::
2449+
2450+ <textarea name="msg-1@content"></textarea>
2451+ <input type="hidden" name="@link@messages" value="msg-1">
2452+
24482453 except that in addition, the "author" and "date" properties of
24492454 "msg-1" are set to the userid of the submitter, and the current
24502455 time, respectively.
@@ -2455,15 +2460,22 @@ Two special form values are supported for backwards compatibility:
24552460 @link@files=file-1
24562461 file-1@content=value
24572462
2463+ by adding the HTML::
2464+
2465+ <input type="file" name="file-1@content">
2466+ <input type="hidden" name="@link@files" value="file-1">
2467+
24582468 The String content value is handled as described above for file
24592469 uploads.
24602470
24612471If both the "@note" and "@file" form variables are
24622472specified, the action::
24632473
2464- @link@msg-1@files=file-1
2474+ msg-1@link@files=file-1
2475+
2476+ is also performed. This would be expressed in HTML with::
24652477
2466- is also performed.
2478+ <input type="hidden" name="msg-1@link@files" value="file-1">
24672479
24682480We also check that FileClass items have a "content" property with
24692481actual content, otherwise we remove them from all_props before
You can’t perform that action at this time.
0 commit comments