[opencms-dev] Registering a new loader from a module

Joachim Arrasz info at arrasz.de
Mon Sep 12 14:58:38 CEST 2005


Hi,

> Is it possible to register a new Loader from a module ?
> I've defined a new CmsResourceType and added it to my manifest.xml. But
> I see that it is only possible to register a new loader from
> opencms-vfs.xml. I would like to have a completely self-contained
> module. 

you can develop a little class which is started at init of the module

see

I_CmsModuleAction

for this ...

then you should have a look into the loading mechanism from opencms 
itself and that should be all


hth

Achim

-- 
Dipl. Inf.(FH) Joachim Arrasz - joachim.arrasz at synyx.de
www.synyx.de Opensource Solutions - OpenCMS Solution Provider
irc.synyx.de/6667 #opencms   http://irc.synyx.de
http://www.opencms-forum.de
76135 Karlsruhe



More information about the opencms-dev mailing list