> The following example as described in ND tech notes throws a runtime
> error:
> 
> spider.event.adapters.CSpPageEventAdapter.addEventMapping: Can't find the
> method 'processStaticTextEvent' in target Object of type
> 'mapEvent.BlankPage'
> spider.event.adapters.CSpPageEventAdapter.addEventMapping: Can't find the
> method 'processStaticTextEvent' in target Object of type
> 'mapEvent.BlankPage'
> 
> 
>       public this_onAfterInitEvent (CSpInitEvent event) 
>       { 
>       int numOfChildren = _children.size (); 
>       for (int i = 0; i < numOfChildren; i++) 
>       { 
>       CSpVisual v = _children.elementAt (i); 
>       if (v instanceof CSpStaticText) 
>       { 
>       v.mapEvent ("onBeforeDisplayEvent", this, "processStaticTextEvent", 
>       getEventAdapter (), false); 
>               }
>       } 
>       } 
>       private int processStaticTextEvent (CSpDisplayEvent event) 
>       { 
>       CSpStaticText stx = (CSpStaticText) event.getSource (); 
>       ... Static Text processing for all widgets ... 
>       }
> 
> 
> Has someone ever mapped events successfully in ND 4.1.3?
> 
> Your help/suggestions will be greatly appreciated.
> 
> Thanks,
> Raj
> 
> 
_________________________________________________________________________

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