Serge,

I had a similar problem. I thought suppressing the client log is a
'cruel' thing to do. I chose to override the mapEvent function in the
'pageSuperPop'-equivalent as follows:

========================================================================
==
protected void mapEvent(String eventName, 
                         String currMethodName, 
                         String sourceName, 
                         boolean initEventsOnly) {
     int idx = currMethodName.lastIndexOf('_');
     if ((idx > -1)){  // otherwise it is some custom method, no mapping
possible.
           String fieldName = currMethodName.substring(0, idx);
         if (getDisplayField(fieldName)!=null) 
                super.mapEvent(eventName, currMethodName, sourceName,
initEventsOnly);
            // Else forget it, the field is not there. By default
            // ND would throw a stupid warning message.

     }
}
========================================================================
======    

Hope this helps.

Aby

-----Original Message-----
From: Serge Libotte [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 21, 1999 1:40 AM
To: [EMAIL PROTECTED]
Subject: [ND] [ND4] how to suppress ALL client log ?



Hi,
I'm facing a little problem with client log.

In my project, all pages extends from a super class called
'pageSuperPop'
This class contains code catching onBeforeDisplay events for different
kind of HTML objects.
The idea is to give functionnalities to objects just by giving them the
right name.
It works fine!
For exemple, I put a link called 'btExit' and its functionnality is to
exit when clicked
(whatever it is, any image, static text...)
A static text called "ddCustomerName" makes a javascript contextual menu
pop up giving access to functionnalities associated with the customer
name with no more coding at all.

The problem is that sometimes not all kind of objects are present in a
page.
Then, message as "CobOnline.pgShowAcc1.mapEvent: Can't map
'ol_CustomerNr_onBeforeHtmlOutputEvent'. The source 'ol_CustomerNr'
can't be found"
appears in the HTML page.
I've unchecked all client logs in the CP service but still have the
problem.

Thanks for your reading (and your answer)

Serge (mailto:[EMAIL PROTECTED])
________________________________________________________________________
_

For help in using, subscribing, and unsubscribing to the discussion
forums, please go to:
http://www.netdynamics.com/support/visitdevfor.html

For dire need help, email: [EMAIL PROTECTED]
_________________________________________________________________________

For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html

For dire need help, email: [EMAIL PROTECTED]

Reply via email to