Posts

Liferay Portal Window States

By Default portal contains 3 window states 1.NORMAL 2.MINIMIZED 3.MAXIMIZED By default  portal state will be NORMAL. Liferay Supports 2 other states. 1.exclusive 2.pop_up

Liferay Portlet Modes

 By Default Portlet Supports 3 types of modes   1.VIEW   2.EDIT   3.HELP In additional to it Liferay conatins  1.About 2. Config 3. Preview 4.Print 5.Edit Defaults 6.Edit Guests

Portlet Container

The lifecycle of a portlet is managed by the portlet container.    A portlet container runs portlets and provides them with the required runtime environment. A portlet container contains portlets and manages their lifecycle. It also provides persistent storage for portlet preferences. A portlet container receives requests from the portal to execute requests on the portlets hosted by it.      A portlet container is not responsible for aggregating the content  produced by the portlets. It is the responsibility of the portal to handle the aggregation

Portlet LifeCycle

Image
init(PortletConfig config)             It  is called once, immediately after a new portlet instance is created. It can be used to perform startup tasks and is akin to a servlets init method. PortletConfig represents read-only configuration data, specified in a portlet's descriptor file, portlet.xml(more on this file later). For example, PortletConfig provides access to initialization parameters. processAction(ActionRequest request, ActionResponse response)               It is called in response to a user action such as clicking a hyperlink or submitting a form. In this method, a portlet may invoke business logic components, such as JavaBeans, to accomplish its goal. The ActionRequest and ActionResponse Interfaces are subinterfaces of PortletRequest and PortalRequest. In processAction, a portlet may modify its own state as well as persistent information about a portlet. render(RenderRequest request, RenderR...

SERVICE BULIDER

I have referred the some of the documents and materials about service Bulider. Here is some of the statments.  ServiceBuilder will create models, services, and service persistence first in the folder ext/ext-service , which will form ext-service.jar and it goes to the $CATALINA_HOME/lib/ext in Ext deployment. Here are the packages of the services for the portlet, Reports : com.ext.portlet.reports.model com.ext.portlet.reports.service com.ext.portlet.reports.service.persistence Then ServiceBuilder will create implementations of models, services and service persistence in the folder, ext/ext-impl . This will form ext-impl.jar and it goes to $CATALINA_HOME/webapps/ROOT/WEB-INF/lib in Ext deployment. Here are packages of the implementations of the services for the portlet, Reports : com.ext.portlet.reports.model.impl com.ext.portlet.reports.service.base com.ext.portlet.reports.service.http com.ext.portlet.reports.service.impl com.ext.portle...

Connecting to different database using Liferay Service Builder

The below Blog Explains connecting the databases in liferay. It is well explained have a look! http://liferaytrends.blogspot.in/2012/05/blog-post.html

LDAP and SSO

By integration with LDAP, information about users and groups are managed in a centralized server. Liferay portal, portlets, and others applications can share the same users' and groups' information directly. By integration with SSO, users need to log in once to access all their information needs. For example, after the users have logged in once in the Liferay portal, they can automatically log in the portlets such as Alfresco client, Alfresco content, and other systems.