I've been trying to get the /wa/WOEventDisplay direct action to work. The description in the Javadoc for WOEvent says you need a property "EOEventLoggingPassword" set to provide a password that will let you access the event displays.

In fact, this does NOT work as described -- you need to:

EOEventCenter.setPassword(System.getProperty("EOEventLoggingPassword"));

        (in the application constructor is a good place).

I'll log this in BugReporter today (5.4.2 has the bug) unless someone jumps out and tells me I'm missing something obvious.
_____________________________

Moral PS: When I went hunting for some reference to this I found a message exchange between myself and Alex Johnson from January 2003:


At 10:26 AM -0600 1/7/03, Alex Johnson wrote:
I noticed that there's a setPassword method in the EOEventCenter. You could use this and see if it changes (a) EOEventCenter.password() and (b) the system property. Maybe the key is not actually "EOEventLoggingPassword" in spite of the documentation.

I'm now using EOEventCenter.setPassword("xxx") because I can't get it to work via properties. I checked the key too, and "EOEventLoggingPassword" seems to be right (I decompiled the WebObjects code to check!).

My code is now:

EOEventCenter .setPassword(System.getProperty("EOEventLoggingPassword"))

which is what WebObjects should be doing itself ... Oh Well ... Gav
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to