Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
56 views

With the upgrade of Keycloak from version 25.0.0 to 26.0.0 (26.4.2), the login theme doesn't work and produces the following error: FTL stack trace ("~" means nesting-related): Failed at: #...
McSim's user avatar
  • 1
0 votes
1 answer
64 views

When we click on 'Forgot Password', an email gets delivered with a reset link. This Reset link redirects to login-update-password.ftl. The same FTL is called from the account management page when the ...
Saurabh's user avatar
  • 15
0 votes
0 answers
30 views

Is there any support, either built-in or via an external resource, that gives Apache Freemarker templates the ability to fetch resources from the network, much like the Javascript Fetch API? My ...
JunktionFET's user avatar
2 votes
1 answer
58 views

In Netsuite, on the invoice PDF, I'm trying to group Items by values in a custom transaction column field which is a Customer pick list where that Invoice Line can be left blank (associating it to the ...
user avatar
0 votes
1 answer
64 views

On a page when using springMacroRequestContext.getMessage text for en-us and it pulls from my messages-en-us.properties file, however in some cases I'd like to for a particular string to pull the text ...
mche's user avatar
  • 694
0 votes
0 answers
105 views

In my Liferay fragment I have created an editable tag via Fragment Specific Tags and Freemarker code to make it editable to the page editor. The code looks like this: <a href="#placeholder&...
bkremser's user avatar
0 votes
2 answers
73 views

I have a Freemarker sequence that looks like this: {values:"Joe","Sally","Sue"} I am trying to turn this into a Javascript array on the HTML page with the following code: ...
Walker Farrow's user avatar
0 votes
0 answers
53 views

I have an Advanced PDF Template in NetSuite where we are trying to display a serial number list at the bottom of the document. We have successfully filtered and displayed only serial-numbered items, ...
Nicole Ainger's user avatar
0 votes
0 answers
60 views

I'm using FreeMarker templates (.ftl) to generate configuration files. I have a line like this: error-no-telegram-id = \n\n❌ Error: Could not retrieve your Telegram ID. However, the \n\n is ...
Djjf Fjfj's user avatar
0 votes
1 answer
39 views

I need to replicate the ENTIRE Item Fulfillment Packing Slip appended at the bottom of the Purchase Order, when the createdfrom.type = Drop Ship. We should be able to source all the customer related ...
Amit Kadlag's user avatar
0 votes
0 answers
270 views

I'm using sturts 7.0.0 custom Anchor class, I got following FreeMarker template error. The following has evaluated to null or missing: ==> attributes [in template "template/simple/a-close.ftl&...
Yasuoz's user avatar
  • 11
-1 votes
1 answer
127 views

I have a problem creating templates with freemarker in spring. I am running over a list of entries in parallel: reports.parallelStream().forEach { creationProcess.startCreationProcess(it) } Inside ...
ochs.tobi's user avatar
  • 3,472
0 votes
1 answer
29 views

I do not succeed in creating one if clause with 2 checks. To illustrate my problem, here is the code that works: <#if _responses["getLinks"]["body"].locations??> true <#...
Mick Herber's user avatar
0 votes
1 answer
79 views

I am sending a personalised HTML email for a customer on a ClickDimenions Microsoft Dynamics database and looking to omit special characters from a First Name field, for example if someone had a name ...
Alex's user avatar
  • 1
2 votes
2 answers
132 views

We have a list of "items" coming into a Freemarker PDF template. That list has multiple values for each "item". That list is sorted by a default value, but we want to sort by "...
Peter's user avatar
  • 453
1 vote
1 answer
62 views

There is such ftlh file with registration form: <!DOCTYPE html> <html lang="en"> <head> <title>Rental Property</title> </head> <body> <h2>...
Пабло Эскобар's user avatar
0 votes
1 answer
166 views

I am working on a Suitelet that shows a check PDF in a new Window. Everything is working as expected except I've now hit a problem with rendering the PDF itself. const renderPdfTemplate = (...
Derek Ellsworth's user avatar
0 votes
1 answer
88 views

I have a Spring Boot application in which I need to use Freemarker to display HTML pages in a browser. I am new to Freemarker and I am struggling to display even a simple HTML page, and I do not know ...
ZGDVeljo's user avatar
1 vote
0 answers
87 views

I'm currently using Liferay 7.3 to develop a multi-level navigation menu. My navigation structure includes a mega menu and a dropdown menu. However, I'm encountering an issue where the dropdown menu ...
Amal's user avatar
  • 31
0 votes
1 answer
33 views

I need some help to get all values from a attribute (in a body field) and transform in a list at freemarker to compare each value with possible values in another list. Below you have the example of ...
Marco Ferraz Vitara's user avatar
0 votes
1 answer
75 views

Apache Camel+Springboot+Email integration. I am trying to render a ftl template as a reply to an email query send to my backend chatbot. However, my .ftl file fails to render with an error as below. I ...
raikumardipak's user avatar
0 votes
2 answers
93 views

I am using Free Marker for an Netsuite custom form. I am attempting to iterate through each item in the record object and create a row for the respective entry. I have separated the entries out by ...
Joel Porter's user avatar
0 votes
1 answer
108 views

I'm working on a Spring Boot project where I use Freemarker for templating. I have configured multiple TemplateLoaders in Freemarker's configuration to load templates from two different CDN URLs: a ...
Singhai's user avatar
0 votes
1 answer
79 views

I inform you that the version of Liferay I am working on is: liferay-ce-portal-7.4.3.112-ga112. The problem is that I cannot select the ADT template because it is not shown in the Asset Categories ...
Dimas Travieso's user avatar
0 votes
1 answer
40 views

.locale in freemarker template is returning old ISO 639 code for Hebrew language i.e."iw_IL" . But I require the latest code "he_IL". can we convert the old ISO to the latest one. ...
Ashish Durgam's user avatar
0 votes
1 answer
201 views

I am developing a command line app with freemarker. I want to build the app as a graalvm native image using the native-maven-plugin. When I start the app on the command line (zsh on MacOS), I get the ...
Dominik's user avatar
  • 1,441
0 votes
1 answer
63 views

I am trying to generate document using freemarker in springboot. Template has: <tr> <td style="width: 100%" align='center'> <div class="logo-...
Mandroid's user avatar
  • 7,818
0 votes
1 answer
36 views

I am trying to parse the xml and reading a big number value from the xml . I want to treat the number value as String in parsing but some reason i am getting a different number after parsing the xml . ...
VKP's user avatar
  • 668
0 votes
1 answer
47 views

This is a POC code on freemarker recursive function call. The actual code is a bit complex. Here when I call the above template, the function recursively calls itself. I initialize the temp variable ...
Rahul verma's user avatar
0 votes
2 answers
112 views

I need to sort a list of records and render them in a table, but they have to be sorted by a "From Date" column, and then by "To Date" at a second level. I checked the ...
Edgardo's user avatar
  • 95
0 votes
1 answer
118 views

I have an action sequence in Topdesk. The first step is delivering a body (or not) ... the second step should only be executed if I have response in the previous step. That's my response body from the ...
Holger Homann's user avatar
0 votes
1 answer
149 views

The string is this one: 2024-05-08T09:55:57Z And with this: content?matches('[0-9]{4}-[01][0-9]-[0-3][0-9]T[0-2][0-9]:[0-5][0-9]:[0-5][0-9]([+-][0-2][0-9]:[0-5][0-9]d|Z)') content?datetime?string['...
user1182625's user avatar
1 vote
0 answers
333 views

I am working with liferay 7.4, I have created a navigation menu that contains Submenu, I need to group pages without having links. I have created an ADT template to show that menu, the problem I have ...
Syrcom's user avatar
  • 11
0 votes
1 answer
800 views

I have a requirement to build a spring boot based webhook service which can consume request bodies in either JSON or XML in any format. For eg: we onboard a customer who already has a fixed JSON ...
Jacob's user avatar
  • 464
0 votes
2 answers
89 views

my earlier question answered here How to separate XML tags in freemarker in body function But my xml is coming with namespace, But when i am trying to add the namespace in template its not parsing my ...
VKP's user avatar
  • 668
0 votes
1 answer
1k views

I'm trying to migrate a custom template from pre-Quarkus to Keycloak Quarkus (24.0.1). It is located at <KEYCLOAK_HOME>/themes/base/login/consent-required-action.ftl. The template looks as ...
niklassc's user avatar
  • 550
0 votes
1 answer
92 views

In oracle NetSuite advanced pdf I've being trying to put an asterisk next to a date. With the current free marker I have, the calculation for daysoverdue gt 0 does not work. If I were to take out the ...
kevin magallon's user avatar
0 votes
2 answers
64 views

<#function kafkaCacheBackupLoaderProfiles> <#assign profiles = []> <#if featureEnabled.createCacheLoader??> <#assign profiles = profiles + ["kafka-cache-loader"]&...
Rahul verma's user avatar
1 vote
1 answer
115 views

I am trying to write a freemarker function to parse xml but i want to avoid the specific XPATH set from the xml. The below freemarker is working if the xml does not have DOCUMENT_SETS . But my xml ...
VKP's user avatar
  • 668
0 votes
1 answer
270 views

In my Suitelet script I add custom data source to renderer. In Freemarker Template I am able to access the data. I am also able to list all the arrays of custom data source. Problem is, I cannot seem ...
jjoht's user avatar
  • 1
0 votes
2 answers
57 views

I want to escape the output of a variable, that used the capture syntax of a <#assign> in Example 2. Example 1: <#assign test1='{"json": "more"}' /> <div data-test1=&...
pitgrap's user avatar
  • 331
2 votes
1 answer
11k views

Struts 2.5.34 to Struts 6.3 Migration We've our application currently in struts 2.5.3 version. As Apache announced EOL for this, we are upgrading to Struts 6 (6.3 to be exact) using official ...
Suleman Tanveer's user avatar
1 vote
1 answer
496 views

If I have a Struts 2 tag as below <s:optiontransferselect leftTitle="<strong>All system groups</strong>"> </s:optiontransferselect> The resulted outcome should ...
priya Jain's user avatar
0 votes
1 answer
673 views

Simon G posted this answer to display lines from an invoice showing paid amounts on the customer statement and posted this code below, but when I try to insert it into the customer template at the ...
J Gold's user avatar
  • 1
0 votes
0 answers
347 views

I'm trying to create a microservice in nextjs and react so I can use it in a Hippo-CMS application based on Java and Freemarker. Is this possible? I have created a react only project (I have not ...
ebema's user avatar
  • 1
0 votes
2 answers
811 views

i am trying to templatise my java class using freemarker. My config bean is : @Bean public FreeMarkerConfigurer freeMarkerConfigurer() { FreeMarkerConfigurer configurer = new ...
Rahul verma's user avatar
0 votes
2 answers
245 views

Is there an option to disable the ParseException? I would have a HTML String which has an issue in the Syntax? The HTML String is created from my user, therefore there might be cases that the syntax ...
vished2000's user avatar
0 votes
1 answer
268 views

<#assign loanInformation = '{"8":{"loanId":"8","employeeId":"7","loanType":"1","totalAmount":"100000","...
AbdulRehman Younas's user avatar
1 vote
1 answer
208 views

In my custom registration object i have this code: @Override public void buildPage(FormContext context, LoginFormsProvider form) { logger.info("Starting custom form..."); ...
Diego Portillo's user avatar
0 votes
1 answer
39 views

If I have a sequence like: <#assign seq = ['a', 'b', 'c', 'd', 'e']> I'd need to obtain some new sequences that are filtered versions of the original one. For example: <#assign seq1 = ['a', '...
Luca Detomi's user avatar
  • 5,766

1
2 3 4 5
62