Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Abhi Ed
ext plugin
December 17, 2012 3:44 AM
Answer

Abhi Ed

Rank: Regular Member

Posts: 118

Join Date: June 4, 2012

Recent Posts

hello ,

I have created a custom plugin for extending UpdateTermsOfUseAction class.

I did following steps :
1> Inside docroot/WEB-INF/ext-impl/src I created a package com.liferay.portal.action
2>I added two classes CustomUpdateTermsOfUseAction.java ( extending UpdateTermsOfUseAction ) and a helper class inside the package .
3>I left portal-ext.properties blank .
4> Added following entry in struts-config-ext.xml
<struts-config>
<action-mappings>
<action path="/portal/update_terms_of_use" type="com.liferay.portal.action.CustomUpdateTermsOfUseAction" />
</action-mappings>
</struts-config>

5>I deployed and restarted server .

Am I missing something
Abhi Ed
RE: ext plugin
December 17, 2012 3:55 AM
Answer

Abhi Ed

Rank: Regular Member

Posts: 118

Join Date: June 4, 2012

Recent Posts

I forgot to mention, the problem with my ext plugin is... it is unreachable.
None of the System.out.println() is being displayed and obviously the functionality isn't working .
There is no deployment error.
Anil Sunkari
RE: ext plugin
December 17, 2012 10:10 PM
Answer

Anil Sunkari

Rank: Expert

Posts: 427

Join Date: August 11, 2009

Recent Posts

Hi Abhi,
Quick solution is to Clean entire project ,build it again.Deploy.For more ref..... Chk ext-impl.jar @ server side wether classes got updated are not.

Regards,
Anil Sunkari
Abhi Ed
RE: ext plugin
December 19, 2012 5:15 AM
Answer

Abhi Ed

Rank: Regular Member

Posts: 118

Join Date: June 4, 2012

Recent Posts

Anil Sunkari:
Hi Abhi,
Quick solution is to Clean entire project ,build it again.Deploy.For more ref..... Chk ext-impl.jar @ server side wether classes got updated are not.

Regards,
Anil Sunkari


I deploy my application using jboss server.Where to check that jar ?
Sushil Saini
RE: ext plugin
December 19, 2012 6:10 AM
Answer

Sushil Saini

Rank: Regular Member

Posts: 104

Join Date: July 27, 2011

Recent Posts

Path of ext-impl.jar in jboss server

{JBOSS_HOME}/server/default/deploy/ROOT.war/WEB-INF/lib/ext-impl.jar