Changes for page test

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

From version 114.9
edited by Jip-jan Alunkel
on March 13, 14:19
Change comment: Updated class property
To version 113.62
edited by Jip-jan Alunkel
on March 13, 14:11
Change comment: Updated class property

Summary

Details

Page properties
Content
... ... @@ -1,28 +1,9 @@
1 1  
2 2  {{velocity}}
3 -{{html}}
3 +{{html wiki="true"}}
4 4  ## afwijkende attributen
5 5  ## "help-block": '',
6 6  ## "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 -})
26 26   #set($attrMap = {
27 27   "aria-label": '',
28 28   "date-min": '',
... ... @@ -56,15 +56,13 @@
56 56   })
57 57   #foreach($attr in $attrMap.keySet())
58 58   #if($elementDataObj.containsKey("$!attr"))
59 - $!attr
60 - #set($attrMap["$!attr"] = "${attr} = \"$elementDataObj[$attr]\"")
61 - $attrMap[$attr]<br />
40 + $attrMap[$attr] = '$attr = "$elementDataObj[$attr]"'
62 62   #end
63 63   #end
64 -##$attrMap
65 65  
66 66  
67 67  
46 +
68 68  ##set($drDoc = $xwiki.getDocument("cases.back.Asdfasdf asdff"))
69 69  #*
70 70  #foreach($item in [0..200])