[opencms-dev] modules and projects
tol
opencms at recordcaster.de
Fri Dec 19 12:35:02 CET 2003
Hi @all!
I didn't understand the coaction between projects and modules.
With a new folder and a related project I define a kind of context. I
can put pages, links, jsp and so on into. These objects I can reach by
an URL that includes the name of the projectfolder. But, only after
publishing this project!
A module creates some intelligence, bundles templates, jsps, images,
javaclasses.
Ok - so far so good! But how I get the module into the project??
A stupid example:
I create a bannerexchange module. A collection of classes to store and
manage the names of banner, clicks, views, target URL and so on. To show
a banner in one of my projectpages (jsp) I would include the neccessary
classes and at the place where to display the banner I write a jsp line
like:
<% out.println (myBannerSystem.printRandom()) %>
But: did the system realy know my Classes coming with the bannermodule?
How learns the project about the new moduleclasses?
Hope you can help me! best regards!
Tol
--
independent internet radio berlin
http://www.recordcaster.de
More information about the opencms-dev
mailing list