#if ($themeDisplay.getURLCurrent()) not working on liferay7.2 for nested

thumbnail
Kiran Yalavali, modified 6 Years ago. Regular Member Posts: 175 Join Date: 10/15/14 Recent Posts
Hi Team,I have created a custom layout and config the nested portlet these layout using these attributes #if ( $themeDisplay.getURLCurrent() )  #end  but not working on a nested portlet on Liferay 7.2  version.I attached a screen shot of the error,I want to use #if ( $themeDisplay.getURLCurrent() )  #end these attributes on custom layout and I can configuration custom layout on the nested portlet it will work properly,How can do this?
Thanks,Kiran.