187 map: subparam additional properties
This commit is contained in:
@@ -148,7 +148,7 @@
|
||||
</cfif>
|
||||
|
||||
|
||||
<cfif data_type EQ "map"><!--- *** частичное дублирование с instance_operation_cfs_param.processMap --->
|
||||
<cfif data_type EQ "map" OR data_type EQ "map-fixed"><!--- *** частичное дублирование с instance_operation_cfs_param.processMap --->
|
||||
<!--- без полей инстанса, только шаблон --->
|
||||
<cfquery name="local.qSubparam">
|
||||
select
|
||||
@@ -177,7 +177,16 @@
|
||||
<cfloop query="local.qSubparam">
|
||||
<cfset structInsert(mapDescriptor, local.qSubparam.svc_operation_cfs_subparam,
|
||||
{
|
||||
"svcOperationCfsSubparamId":"#local.qSubparam.svc_operation_cfs_subparam_id#",
|
||||
"svcOperationCfsSubparam":"#local.qSubparam.svc_operation_cfs_subparam#",
|
||||
"label":"#local.qSubparam.label#",
|
||||
"dataType":"#local.qSubparam.data_type#",
|
||||
"valueList":"#local.qSubparam.value_list#",
|
||||
"minlength":"#local.qSubparam.minlength#",
|
||||
"maxlength":"#local.qSubparam.maxlength#",
|
||||
"regex":"#local.qSubparam.regex#",
|
||||
"man":"#local.qSubparam.man#",
|
||||
"isRequired":#request.castToBool(local.qSubparam.is_required)#,
|
||||
"isSensitive":#request.castToBool(local.qSubparam.is_sensitive)#,
|
||||
"isModifiableDefinition":false
|
||||
}, true
|
||||
|
||||
Reference in New Issue
Block a user