0

Liferay 7.4, I have web content which has one field to select a web content in it. I am creating the freeMarkerPortletPreferences something like below line in web content's template (parent).

<#assign freeMarkerPortletPreferences =  freeMarkerPortletPreferences.getPreferences({
            "view": "HomeCarousel",
            "mainTitleColor": "${mainTitleColor.getData()}"
        })/>

now in the nested web content's template, freeMarkerPortletPreferences are coming Empty in liferay 7.4. (In liferay 7.0, freeMarkerPortletPreferences was available in the scope of nested template, was able to retrieve it directly )

Can anyone help with how to pass freeMarkerPortletPreferences and get the same in nested template?

vimuth
  • 5,064
  • 33
  • 79
  • 116

0 Answers0