Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何获取已登录 Liferay 用户的电子邮件 ID(从 portlet 中)?
我提到了这个链接,但无济于事。
您可以在 JSP 中使用以下代码:
<%@ taglib uri="http://liferay.com/tld/theme" 前缀="liferay-theme" %>
<%= user.getDisplayEmailAddress() %>