You need to add your portlet.properties under resource folder.
portlet.properties
custom.liferay.base.url = "https://www.liferay.com/"To read it in your java class
You need to import
| <div> | |
| <pre> | |
| <#list portletPreferences?keys as preference> | |
| <#if portletPreferences[preference] ??> | |
| <#assign mapValues = portletPreferences[preference] /> | |
| <#list mapValues as value > | |
| ${preference} = ${value}<br /> | |
| </#list> | |
| </#if> | |
| </#list> |
You need to add your portlet.properties under resource folder.
portlet.properties
custom.liferay.base.url = "https://www.liferay.com/"To read it in your java class
You need to import
| var ua = navigator.userAgent, | |
| clickEvent = (ua.match(/iPad/i) || ua.match(/iPhone/i)) ? "touchstart" : "click"; | |
| //28-11-2018 Aggiunta controllo posizione aiutaci a migliorare la pagina | |
| // ### | |
| var HM_nuovoHeader = false; | |
| $(document).ready(function () { | |
| if (window.location !== window.parent.location) { | |
| $("#header-navbar").addClass("hidden"); |
| ## using ProxyPass, when p_p_id=com_liferay_login_web_portlet_LoginPortlet , then remove p_p_state=maximized | |
| RewriteEngine On | |
| RewriteCond %{QUERY_STRING} ^(.*)&?p_p_id=com_liferay_login_web_portlet_LoginPortlet&?(.*)$ | |
| RewriteCond %{QUERY_STRING} ^(.*)&?p_p_state=[^&]+&?(.*)$ | |
| RewriteRule ^/?(.*)$ /$1?%1%2 [L,PT] |