Share

How to create a hook in LIferay

1. Goto File  → New  → Liferay Plugin Project


2. Give Project name and display name(It displays automatically when you are giving project
     name in a grey color)
3. Select the Build type,Plugins SDK and Liferay runtime
               Build type: Ant 
               Plugins SDK: [a configured Plugins SDK]
               Liferay runtime: [a configured Liferay runtime]
4. Select the plugin type as Hook 
5.  Click finish

You can find the steps 2 to 5 from the following image



You can find the hook in project explorer as follows


No comments:

Post a Comment