[opencms-dev] Want to start a action class when installing a new module

Joachim Arrasz info at arrasz.de
Tue Dec 2 13:47:02 CET 2003


Hi Stephan and List,

> I also have to mention that the moduleWasUploaded method was never
> called in versions before 5.0 and i didn't test it with 5.0 yet. If you
> encounter that it won't work i can tell you what i did as workaround.

i tried theese methods and can say that all 3 method will be called.

I tried to use this class for both types where i can use a Action class in
the Module Administration.
But then i got a Exception while pubilshing:

Exception java.lang.NoSuchMethodException:
com.synyx.opencms.calendar.CalendarInstallAction.publishProject(com.opencms.file.CmsObject,
java.lang.Boolean, java.lang.Integer, java.lang.Integer, java.lang.Long,
java.util.Vector, java.util.Vector)at java.lang.Class.getMethod0(Class.java:1756)
at java.lang.Class.getMethod(Class.java:963)
at
com.opencms.file.genericSql.CmsResourceBroker.publishProject(CmsResourceBroker.java:4749)at com.opencms.file.CmsObject.publishProject(CmsObject.java:2436)
at
com.opencms.workplace.CmsAdminModuleImportThread.run(CmsAdminModuleImportThread.java:115)

Do you know something about this publishProject method?

All rest works absolutely fine !!!

Bye Achim





More information about the opencms-dev mailing list