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

interactive_reports.definitions.html Maven / Gradle / Ivy

The newest version!
<#function getDict dictName>
	<#return dictionariesFacade.getAllDictionaryItems(dictName, messageSource.getLocale())>


<#function getDictVal itemKey dictName>
	<#return dictionaryDao.fetchDictionary(dictName).lookup(itemKey).getValueForCurrentDate().getValue(messageSource.getLocale())>


<#function getDictValByDate itemKey dictName date>
	<#return dictionaryDao.fetchDictionary(dictName).lookup(itemKey).getValueForDate(date).getValue(messageSource.getLocale())>


<#macro paramText name description style="" class="">
	
style="${style}" />
<#macro paramDate name description style="" class="" initialValue = "" format="dd-MM-yyyy" jqueryFormat="dd-mm-yyyy">
style="${style}" <#if initialValue?is_string> <#if initialValue != "">value="${initialValue}" <#else> value="${initialValue?string(format)}" />
<#macro paramDictSelect name dictName description selectText="ir.selectTemplate" style="" class=""> <#assign dictItems = getDict(dictName)/>

<#macro generateReportButton style="">
<#macro exportReportButton buttonText desiredFormat style="">
<#macro caseLink caseId description> <#assign casePortletUrl = settingsProvider.getSetting("case.portlet.url")!""/> <#assign caseUrl = casePortletUrl + "?caseId=" + caseId?c/> ${description?html} <#macro fileLink fileId>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy