mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
- Another round of updates to Forms UI including integration of forms runtime
- REST API now removes ":" from JSON property name git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13128 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -90,11 +90,11 @@ function main()
|
||||
|
||||
if (value instanceof java.util.Date)
|
||||
{
|
||||
formModel.data.formData[k] = utils.toISO8601(value);
|
||||
formModel.data.formData[k.replace(/:/g, "_")] = utils.toISO8601(value);
|
||||
}
|
||||
else
|
||||
{
|
||||
formModel.data.formData[k] = value;
|
||||
formModel.data.formData[k.replace(/:/g, "_")] = value;
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -4,7 +4,7 @@
|
||||
</head>
|
||||
<body>
|
||||
<h2>${message}</h2>
|
||||
<#if data.fields?exists>
|
||||
<#if data?exists && data.fields?exists>
|
||||
<ul>
|
||||
<#list data.fields as field>
|
||||
<li>${field.name} = ${field.value}</li>
|
||||
|
Reference in New Issue
Block a user