Changes for page test

Last modified by Jip-jan Alunkel on March 13, 19:02

From version 113.61
edited by Jip-jan Alunkel
on March 13, 14:10
Change comment: Updated class property
To version 114.3
edited by Jip-jan Alunkel
on March 13, 14:16
Change comment: Updated class property

Summary

Details

Page properties
Content
... ... @@ -1,8 +1,28 @@
1 +
1 1  {{velocity}}
2 -{{html wiki="true"}}
3 +{{html}}
3 3  ## afwijkende attributen
4 4  ## "help-block": '',
5 5  ## "data-decimals": ''
7 +#set($elementDataObj = {
8 + "id" : "main_complaint",
9 + "type" : "text",
10 + "required" : "true",
11 + "label" : "Main complaint",
12 + "aria-label" : "Enter the main complaint",
13 + "placeholder" : "$services.localization.render('cases.wordgroup.main_complaint.placeholder')",
14 + "data-pattern" : "^[a-zA-ZÀ-ÖÙ-öù-ÿĀ-žḀ-ỿ]+[a-zA-ZÀ-ÖÙ-öù-ÿĀ-žḀ-ỿ0-9- ]*$",
15 + "data-error-response-type" : "use_label_definite_1",
16 + "data-auto-first-capital" : "true",
17 + "data-query-type" : "XWQL",
18 + "data-query-reference" : "assets.pagemaker.XWQL.matchTitle",
19 + "data-query-scope" : "cases",
20 + "data-query-list-type" : "suggest-negate",
21 + "data-query-list-header" : "$services.localization.render('pagemaker.line.suggest_negate_list')",
22 + "data-query-list-contents" : "value",
23 + "data-create-page" : "true",
24 + "help-block" : 'This will be used as the title of your case. The first character must be a letter. For example:<br />- "Otitis Media in 13 year old boy" or<br />- "Cataract in 72 year old paraplegic woman"'
25 +})
6 6   #set($attrMap = {
7 7   "aria-label": '',
8 8   "date-min": '',
... ... @@ -37,12 +37,13 @@
37 37   #foreach($attr in $attrMap.keySet())
38 38   #if($elementDataObj.containsKey("$!attr"))
39 39   $attrMap[$attr] = '$attr = "$elementDataObj[$attr]"'
60 + $attrMap[$attr]<br />
40 40   #end
41 41   #end
63 +##$attrMap
42 42  
43 43  
44 44  
45 -
46 46  ##set($drDoc = $xwiki.getDocument("cases.back.Asdfasdf asdff"))
47 47  #*
48 48  #foreach($item in [0..200])
... ... @@ -139,5 +139,4 @@
139 139  $hasAdmin
140 140  *#
141 141  {{/html}}
142 -{{/html}}
143 143  {{/velocity}}