In Liferay, I want to do a portlet displaying a greeting with the user name. This message could be in different language.
how can I put a parameter from jsp expression language to language property String?
I tried to write something like this in language.properties
portlet.body.line1=Hello ${name},
and use it in my view.jsp
<liferay-ui:message key="portlet.body.line1" />
But it doesn't work.
How can I do this?