Laliwala IT Services

Laliwala IT Services
Website Development

Sunday, February 13, 2011

liferay Portlet tutorial, liferay tutorial, liferay portlet Example, liferay portlet development, liferay portlet training, liferay

liferay portlet development


Simple Hello World Portlet Example in Liferay 5.2.3

Prerequisite for Liferay Development

to override default settings in the build.properties

app.server.dir=C:/Liferay_Training/Liferay/tomcat

app.server ..properties

For example

app.server.attune.properties

app.server.tomcat.dir=C:/Users/attune/Desktop/Liferay5.2.3/liferay-portal-5.2.3/tomcat-6.0.18

jdbc.default.driverClassName=com.mysql.jdbc.Driver

jdbc.default.url=jdbc:mysql://localhost/lportal?useUnicode=true&caracterEncoding=UTF-8&useFastDateParsing=false

jdbc.default.username=root

jdbc.default.password=root

Basic Hello World Portlet

EXT_2

Hello World

com.liferay.util.bridges.jsp.JSPPortlet

view-jsp

/html/portlet/ext/ScheduleMeeting/view.jsp

0

text/html

com.liferay.portlet.StrutsResourceBundle

power-user

user

EXT_2

For example

In the portal-ext.xml file Portlet-name is EXT_2 same as in Liferay-portlet-ext.xml file

EXT_2

Hello World

avax.portlet.title.EXT_2=JSP Portlet

category.example=Imran

Welcome >Add Application>Imran



liferay development, liferay developer, liferay developer training

liferay development, liferay portal development, liferay developer, liferay tutorial, liferay portlet developer india, liferay developer support, liferay developer consulting

No comments:

Post a Comment