Sorry - I should include this, two lines from my Domain.xml in the <events> section:

        <listener classname="catalyst.CopyCleaner"/>
        <event classname="catalyst.CopyCleaner" enable="true" />

-miles

On Thu, 6 Oct 2005, Miles Crawford wrote:


Hey folks,

I'm trying to write a copylistener:

http://endtable.net/paste/ab103255.html <-- java source

But Slide complains that:

06 Oct 2005 09:23:24 - org.apache.slide.webdav.event.NotificationTrigger - INFO - Creating notification trigger org.apache.slide.util.conf.ConfigurationException: Event 'catalyst.CopyCleaner' does not provide the required static member 'methods' @ null at org.apache.slide.event.EventDispatcher.configure(EventDispatcher.java:125)
       at org.apache.slide.common.Domain.init(Domain.java:451)
       at org.apache.slide.common.Domain.init(Domain.java:366)
       at org.apache.slide.common.Domain.init(Domain.java:329)
       at org.apache.slide.webdav.WebdavServlet.init(WebdavServlet.java:253)
       at javax.servlet.GenericServlet.init(GenericServlet.java:211)
       at org.apache.slide.webdav.WebdavServlet.init(WebdavServlet.java:195)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1029) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:862) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4013) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4357) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595) at org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer.java:903)

But looking at the docs: http://jakarta.apache.org/slide/javadoc/org/apache/slide/event/package-summary.html

It appears that the "methods" member is only required for custom events.

Does anyone see where I'm going wrong?

Thanks,
-miles

__________________________________
Miles Crawford, Software Developer
Catalyst Research and Development
Educational Partnerships & Learning Technologies
University of Washington
206.616.3406
http://catalyst.washington.edu

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to