[opencms-dev] I_CmsModuleAction

Jonathan Woods jonathan.woods at scintillance.com
Sat Nov 4 20:19:31 CET 2006


Or if you're not packaging up the module as a JAR, the XML which Ruben gives
may be incorporated directly in opencms-modules.xml.

Jon 

-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of ruben malchow
Sent: 04 November 2006 18:44
To: The OpenCms mailing list; schlachtzeuger at gmail.com
Subject: Re: [opencms-dev] I_CmsModuleAction


hi andy,

try putting this in your module's manifest file:

[...]
    <module>
        <name>youModuleName</name>
        <nicename>Your Nice Module Name</nicename>
        <class>com.foo.bar.bar.YourCmsModuleActionImpl</class>
        [..]
    </module>
[...]

.rm

> Hi all
> Has anybody some expirience with this and could explain some basics?
> I made a new Module in Opencms called com.me.doit i have several 
> package in the jar file, but the package with Class, which implements 
> the I_CmsModuleAction is called "com.me.doit" and the class 
> "AtStartup"
> The imput field called Action class at the Module edit screen i set to 
> com.me.doit.AtStartup AtStartup implements this interface and at the 
> initialize Method i try to mkdir something, but somehow the initialize 
> method is never invoked.
> Can anybody plz help me...
> -How to name packages and the Module
> -How to set the right stuff for Action class in the Module -Do i have 
> to import or install the Module first or what else do i have to do?
>
> thx
> Andy
>
> ----------------------------------------------------------------------
> --
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list To change 
> your list options, or to unsubscribe from the list, please visit 
> http://lists.opencms.org/mailman/listinfo/opencms-dev


_______________________________________________
This mail is sent to you from the opencms-dev mailing list To change your
list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev





More information about the opencms-dev mailing list