BeansWrapper.getDefaultInstance() is deprecated now, how to get java.lang.Math in freemarker? Looking for something like ${X / (Math.pow(10, n))} in ...
BeansWrapper.getDefaultInstance() is deprecated now, how to get java.lang.Math in freemarker? Looking for something like ${X / (Math.pow(10, n))} in ...
I have the following pom.xml file. <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http ...
He all I'm trying to print some values in print with 2 decimal places. If value is string ("1200.00") then it printing fine. But value is Double 100.0 ...
So, I'am trying to make simple condition: and I'm getting mistake like: So I tried almost everything 1) ...
I am a python developer who knows itsy-bitsy Java. Now I am given some input data, in XML format, and a piece of template.ftl code. How can I "render" ...
I'm building a web app with Ktor in Kotlin and just added the authentication with form-auth and session-auth. Now the check if the user is logged in o ...
I've been looking for the solution to why the image doesn't show up using base64 encoded string in the pdf file. I have java class to generate pdf rep ...
I would like to split a small/long string in size of 34 in freemarker template. How could this be done with freemarker instruments? Example: String ...
How do I format text in Apache FreeMarker? I would like to add a new formatter that would format the value (taken from json). For example, the text A ...
I would like to split a long string in size of 34 in freemarker template. How could this be done with freemarker instruments? Example: String - "123 ...
I am very new to this and have to migrate an existing web app (that I do not know much about) to Weblogic (12.2.1.4). I had to upgrade the version of ...
I have a json template as below I want to use a user-defined directive which is basically a Java code to check if accNo is greater than 0. If not, ...
I have a json template as below: When fname is null, I want to have the value as null instead of a string null ("null"). Hence, I'm expecting the f ...
We have several Liferay 6.2 portlets in different Maven projects. Some of these are imported as dependencies by others. While this allows me to access ...
I'm trying to convert a HTML table to plain text. To have the "columns" aligned correctly I'd like to insert as many whitespaces to every cell content ...
I have a SpringBootProject and I'm using the above Freemarker code template file(*.ftl). I tried to display some input field with the values(binded) ...
I am new to freemarker and trying to extract list of value defined within bracket. Example below.. alternative-id provider="group" level="episode" de ...
hey there I want to use loop in ftl and and print the html n time inside loop for(int i=0; i<=3;i++){ print(html) } ...
We have the problem that by default single quotes in i18n are not escaped in the magnolia freemarker renderer. That leads to the problem that our i18n ...
I'm new to Freemarker templates. I want to convert a string to a number without rounding any decimal values and then get the absolute value of that. ...