掲示板

ext plugin

11年前 に Abhi Ed によって更新されました。

ext plugin

Regular Member 投稿: 118 参加年月日: 12/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
11年前 に Abhi Ed によって更新されました。

RE: ext plugin

Regular Member 投稿: 118 参加年月日: 12/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.
thumbnail
11年前 に Anil Sunkari によって更新されました。

RE: ext plugin

Expert 投稿: 427 参加年月日: 09/08/12 最新の投稿
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
11年前 に Abhi Ed によって更新されました。

RE: ext plugin

Regular Member 投稿: 118 参加年月日: 12/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 ?
thumbnail
11年前 に Sushil Kumar Saini によって更新されました。

RE: ext plugin

Regular Member 投稿: 104 参加年月日: 11/07/27 最新の投稿
Path of ext-impl.jar in jboss server

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