構造的に表示 平面上に表示 ツリー上に表示
スレッド [ 前へ | 次へ ]
toggle
Abhi Ed
ext plugin
2012/12/17 3:44
答え

Abhi Ed

ランク: Regular Member

投稿: 118

参加年月日: 2012/06/04

最近の投稿

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
2012/12/17 3:55
答え

Abhi Ed

ランク: Regular Member

投稿: 118

参加年月日: 2012/06/04

最近の投稿

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
2012/12/17 22:10
答え

Anil Sunkari

ランク: Expert

投稿: 378

参加年月日: 2009/08/11

最近の投稿

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
2012/12/19 5:15
答え

Abhi Ed

ランク: Regular Member

投稿: 118

参加年月日: 2012/06/04

最近の投稿

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
2012/12/19 6:10
答え

Sushil Saini

ランク: Regular Member

投稿: 102

参加年月日: 2011/07/27

最近の投稿

Path of ext-impl.jar in jboss server

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