templates.view-advanced-mapping-editor.ftl Maven / Gradle / Ivy
Category mapping editor
Map ${sourceAttribute.label?html} values to ${targetAttribute.label?html} values.
Select the correct category that you want to map the source attribute to from the target attribute
dropdown.
<#assign showDefault = numberOfSourceAttributes gt 10>
<#if showDefault>
#if>
<#if showDefault>
#if>
${source?html} attribute value
Number of rows
${target?html} attribute value
<#assign count = 0 />
<#list sourceAttributeEntities as sourceEntity>
<#assign id = sourceEntity.getIdValue()?string>
${sourceEntity.get(sourceAttributeLabelAttribute)?html}
<#if aggregates??>${aggregates[count]!'0'}<#else>NA#if>
<#assign count = count + 1 />
#list>
<#if sourceAttribute.nillable>
None
<#if aggregates??>${aggregates[count]!'0'}<#else>NA#if>
#if>
<#--Hidden inputs for the javascript post-->