1

我想用

<%@ taglib uri="http://liferay.com/tld/expando" prefix="liferay-expando" %>
  <liferay-expando:custom-attribute-list
        className="<%= User.class.getName() %>"
        classPK="<%= (user != null) ? user.getUserId() : 0 %>"
        editable="<%= true %>"
        label="<%= true %>"
    /> 

但是这个标签库需要未导出的资源,当我想部署时,我得到未解决的需求错误。如何 <%@ taglib uri="http://liferay.com/tld/expando" prefix="liferay-expando" %> 在我的自定义 portlet 中使用?

4

0 回答 0