All Downloads are FREE. Search and download functionalities are using the official Maven repository.

templates.view-standalone-report-default.ftl Maven / Gradle / Ivy

Dataset: ${entityType.getLabel()?html}

<#assign counter = 0 /> <#list entity.getEntityType().getAtomicAttributes() as atomicAttribute> <#assign key = atomicAttribute.getName()> <#if counter == 3> <#assign counter = 0> <#if entity.get(key)??> <#assign type = atomicAttribute.getDataType()> <#else> <#assign counter = counter + 1> <#-- fill last row with empty data --> <#assign counter = 3 - counter> <#list 1..counter as i>
${key?html}<#if type == "CATEGORICAL_MREF" || type == "MREF" || type == "ONE_TO_MANY"><#list entity.getEntities(key) as entity>${entity.getLabelValue()!?html}<#sep> , <#elseif type == "CATEGORICAL" || type == "FILE" || type == "XREF"><#if entity.getEntity(key)??>${entity.getEntity(key).getLabelValue()!?html} <#elseif type == "BOOL">${entity.getBoolean(key)?c} <#elseif type == "DATE">${entity.get(key).format("MMM d, yyyy")} <#elseif type == "DATE_TIME">${entity.get(key).format("MMM d, yyyy hh:mm:ss a")} <#else>${entity.get(key)!?html}     




© 2015 - 2024 Weber Informatics LLC | Privacy Policy