lunes, 9 de agosto de 2010

Liferay - cosas por ingestigar

Como poner el título de la página a Liferay (head...title)
  • javax.portlet.renderheaders
  • public static final String PAGE_TITLE = "LIFERAY_SHARED_PAGE_TITLE";
public class PortalImpl implements Portal {
//etc....
public void addPageTitle(String title, HttpServletRequest request) {
String requestTitle = (String)request.getAttribute(WebKeys.PAGE_TITLE);

if (requestTitle != null) {
title = requestTitle + StringPool.SPACE + title;
}

request.setAttribute(WebKeys.PAGE_TITLE, title);
}




Class Loading
 EXT allows native access to portal class loader
 Plugins can also access the portal class loader via
PortalClassInvoker
 Plugins can access other plugins via PortletClassInvoker
 ServiceBuilder simplifies class loading issues
 MessageBus bypasses class loading issues