vendredi 1 novembre 2013

Liferay eclipse IDE to create the basic portlet for LMS (part 1)

Create a new Liferay Plug-in Project

Click on the option “New Liferay Plug-in Project” as shown.




The dialog will open,



1. give the project name as “library” (all small letters)
2. make sure the plug-ins SDK and Liferay Portal Runtime are configured properly
3. check “Create custom portlet class”
4. click “Next”




1. change the portlet class to “LibraryPortlet”
2. java package as “com.library”
3. select superclass of this portlet as “com.liferay.util.bridges.mvc.MVCPortlet”
4. click “Next”




1. modify Display name and Title to have a space between the words Library and Portlet
2. check “Edit” portlet mode
3. modify JSP folder to “/html/library”
4. check the option “Create resource bundle file”
5. click “Next”



1. uncheck “Allow multiple instances” to make this portlet “non-instansable”
2. specify a new Category - “Library Management”
3. click “Finish”


Now you see a new eclipse project with name “library-portlet”.





Suite part 2 :  http://rsuna.blogspot.com/2013/11/liferay-eclipse-ide-to-create-basic_1.html


0 commentaires:

Enregistrer un commentaire

Share

Twitter Delicious Facebook Digg Stumbleupon Favorites More