Liferay 开发知识点

阅读更多
//liferay get向后台传参取不到问题
//需要在from表单中添加:


//portletURL指向:
PortletURL portletURL = renderResponse.createRenderURL();
portletURL.setParameter("javax.portlet.action", "doView");
pageContext.setAttribute("portletURL", portletURL);
//其中 portletURL.setParameter("javax.portlet.action", "doView");中的
//javax.portlet.action表示你要传递到的地址。如果是jsp就写jspPage。需要进入action就要
//用这个类。




问题: WARNING: Failed to process TLD with path [http://liferay.com/tld/aui] and URI [/WEB-INF/tld/aui.tld]
解决: 在liferay-plugin-package.properties中的portal-dependency-jars 下导入一个c.tld 就ok了,原因好像是你缺失这个文件导致的。

你可能感兴趣的:(Liferay)