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 .
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
com.liferay.portlet.StrutsResourceBundle
For example
In the portal-ext.xml file Portlet-name is EXT_2 same as in Liferay-portlet-ext.xml file
Hello World
avax.portlet.title.EXT_2=JSP Portlet
category.example=Imran
Welcome >Add Application>Imran
liferay development, liferay developer, liferay developer training
No comments:
Post a Comment