Category "freemarker"

hasAnyRole() not working with Spring Security 5.4.6

I have changed my spring framework version from 4.1.4.RELEASE to 5.3.6 and spring security version from 3.2.5.RELEASE to 5.4.6. I'm facing problem when using &l

Keycloak CSS is not updating in browser

I am upgrading Keycloak from 9.x to 12.x in a development environment. I initially copied some custom themes forward, and found that the styling was badly broke

Keycloak CSS is not updating in browser

I am upgrading Keycloak from 9.x to 12.x in a development environment. I initially copied some custom themes forward, and found that the styling was badly broke

Configuring Asset Publisher via FreeMarker in WebContent Template

I am able to add an asset publisher portlet in the web content template by <@liferay_portlet["runtime"] defaultPreferences="${freeMarkerPortletPreferences}

how to use a variable from another .ftl in freemarker

I'm trying to use a defined variable in a second template to have the same output in the current one. template 1: [#if definition.name=="configMINIMAL_STA

How to create a paginated screen in the Freemarker language

I have a page where the news is displayed and I have below 2 buttons next and previous. The problem is: on click of next button news gets loaded as a continuous

How to split string in chars and get code of each char in freemarker?

I think that I can split using this: <#list str as c> ... </#list> But then I need to convert this char to byte and add it to another number.

migrate template from velocity to freemarker

I need to migrate some templates from velocity in liferay 6.2 to freemarker for liferay 7.4 dxp, I tried to use the USCavalry tool, but the result is not comple