Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
Deadlox Deadlox
Override portal class with Ext plugin
February 4, 2013 3:26 AM

Deadlox Deadlox

Rank: New Member

Posts: 7

Join Date: June 18, 2012

Recent Posts


i would like to override Liferay portal class (DLWebDAVStorageImpl) with Ext Plugin.

I follow this procedure:
• First, create your own class
• Extends it with class (com.liferay.portlet.documentlibrary.webdav.DLWebDAVStorageImpl)
• Override only those methods in which you want to make modification,
• Create ext-spring.xml in your ext plugins at plugins/ext/<custom-ext-plugin>/docroot/WEB-INF/ext-impl/src/META-INF
• Find relevant spring bean entry from portal-spring.xml and change the class entry of that spring bean in ext-spring.xml,
• Deploy your ext plugin, make sure it deploy properly,

My plugin is properly deployed but it did not work..


Participate in the State of Liferay Community 2017. Help the community and even win some prizes!