<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2873" name=GENERATOR>
<STYLE>@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; }
P.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
COLOR: windowtext; FONT-FAMILY: Arial; mso-style-type: personal-compose
}
DIV.Section1 {
page: Section1
}
</STYLE>
</HEAD>
<BODY lang=EN-US vLink=purple link=blue>
<DIV dir=ltr align=left><SPAN class=287150608-04052006><FONT face=Arial
color=#0000ff size=2>Sam -</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=287150608-04052006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=287150608-04052006><FONT face=Arial
color=#0000ff size=2>I'm about to delve into this myself. Here are a
couple of URLs which look useful - even though they're for OpenCms 5.0, the
approach will probably be similar. From a quick scan, there's nothing
about registering ordinary event listeners through config files, but you can
certainly do it through code - code executed in the context of a module,
maybe, perhaps as part of a maintenance event handler which certainly
<EM>can</EM> be declared in opencms-modules.xml.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=287150608-04052006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=287150608-04052006><FONT face=Arial
color=#0000ff size=2><A
href="http://opencmsbook.packtpub.com/chapter6_preview.htm">http://opencmsbook.packtpub.com/chapter6_preview.htm</A></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=287150608-04052006><FONT face=Arial
color=#0000ff size=2><A
href="http://mail.opencms.org/pipermail/opencms-dev/2003q2/004225.html">http://mail.opencms.org/pipermail/opencms-dev/2003q2/004225.html</A></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=287150608-04052006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=287150608-04052006><FONT face=Arial
color=#0000ff size=2>Jon</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> opencms-dev-bounces@opencms.org
[mailto:opencms-dev-bounces@opencms.org] <B>On Behalf Of </B>Sam
Anant<BR><B>Sent:</B> 03 May 2006 21:53<BR><B>To:</B>
opencms-dev@opencms.org<BR><B>Subject:</B> [opencms-dev] Setting up an event
listener<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I am working on creating an event
listener to log certain events. I read some documentation on how to create the
listener but I could not find any way of registering it. Some examples talk
about adding an entry to the registry.xml, this file is missing from my 6.2.1
installation. Any information on how to register the listener would be most
welcome.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Thanks<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Sam<o:p></o:p></SPAN></FONT></P></DIV></BODY></HTML>