Total Pageviews

Monday, October 18, 2010

Custom Configurations in Liferay

Liferay-portlet-ext.xml
configuration.jsp
and the following javascript on the same page  
configurationActionImpl.java
init.java
 


Getting Configuration Portlet Controller Class

6 comments:

  1. The blog is so helpful. Can you please share the contents in init.jsp page?

    ReplyDelete
    Replies
    1. <%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet" %>
      <%@ taglib uri="http://liferay.com/tld/aui" prefix="aui" %>
      <%@ taglib uri="http://liferay.com/tld/ui" prefix="liferay-ui" %>
      <%@ taglib uri="http://liferay.com/tld/theme" prefix="liferay-theme" %>
      <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
      <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

      < portlet:defineObjects />
      < liferay-theme:defineObjects />

      Delete
  2. I am able to resolve it, Thanks for the reply.

    ReplyDelete
  3. Hi,
    I want to remove one portlet on click of a link present in another portlet. I know
    layoutTypePortlet.removePortletId(userId, portletId);
    can do it but please guide me where to place this in view.jsp and how to implement this using Remove Portlet 1 tag present in view.jsp

    ReplyDelete