ec
11/09/2022, 2:29 PMFor "#list" list source: Expected a sequence or collection, but this has evaluated to a hash+string (wrapper: com.netledger.templates.model.StringModel):
David B
11/09/2022, 8:25 PMDavid B
11/09/2022, 8:27 PM<#list record as key, value>
https://freemarker.apache.org/docs/ref_directive_list.html#ref.directive.list:~:text=and%20to%20list%2[…]pairs%20of%20a%20hash%20(since%202.3.25)%3Aec
11/09/2022, 11:07 PMmichoel
11/09/2022, 11:27 PMec
11/10/2022, 10:51 PMrecord
object.
And I cannot call record?keys
because of the following error:
For "?keys" left-hand operand: Expected an extended hash, but this has evaluated to a hash+string (wrapper: com.netledger.templates.model.StringModel):
==> record [in template "template" at line 145, column 25]
ec
11/10/2022, 10:54 PMFor "#list" list source: Expected an extended hash, but this has evaluated to a hash+string (wrapper: com.netledger.templates.model.StringModel):
==> record [in template "template" at line 175, column 16]
for `<#list record as key>`:
For "#list" list source: Expected a sequence or collection, but this has evaluated to a hash+string (wrapper: com.netledger.templates.model.StringModel):
==> record [in template "template" at line 175, column 16]