Normally we add a page, change layout adding a portlet on a particular page by using drag and drop or by clicking our mouse.Today we will add a page,Change Layout from 2 to 3 and than finally add a portlet on newly created page Programmatically.
This blog is specially create for learning step by step liferay.We can learn liferay,hooks,ext,portlet,layout ,services and themes with eclipse ide.
Friday, January 30, 2015
Thursday, January 22, 2015
Search Container in Liferay 6.2
Liferay Provide a simple and easy way to show list of Objects in proper tabular format with pagination by using Search Container tag of liferay.
Our goal is to show a list of Student in which:-
1)Column show student name,last name,Class etc.
2)In one column we show address of Student that comes from another jsp.
Labels:
Search Container
Wednesday, January 21, 2015
Liferay Service Builder in Detail
Today we will see concept of Service Builder in liferay
Before reading this blog it is highly recommended to read my blog on Service Builder in Liferay .Liferay Service Builder based on hibernate and Spring DI .Service builder create tables automatically as in Hibernate.Service builder generates Services for the entities in two location. These location use the package path describe in service.xml :-
1)docroot/WEB-INF/services/package name
2)docroot/WEB-INF/src/package name
1)docroot/WEB-INF/services/package name
2)docroot/WEB-INF/src/package name
Labels:
service builder
Thursday, January 15, 2015
Sunday, January 4, 2015
Liferay Service Hook to override Liferay Existing Service
Today we will see how to write service wrapper in Liferay 6.2. We override User service getUserCount().Here we create a class that extend the particular wrapper class and just provide the entries of our custom class in liferay-hook.xml so that liferay use our services instead of Original.
Labels:
Hook
Subscribe to:
Posts (Atom)