掲示板
ext plugin
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
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
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.
None of the System.out.println() is being displayed and obviously the functionality isn't working .
There is no deployment error.
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
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
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 ?