I have a page with a textbox.
The page ins the following HTML form tag:
<form NAME="pgMain" METHOD="GET"
ACTION="pgMain.cb_OnWebEvent(cb)">
I modify the HTML generated for the text box with the following code:
CSpTextBox tb = (CSpTextBox) event.getSource();
tb.setHtmlText (CSpUtil.replaceSubstring (
tb.getHtmlText (),
">"," ONCHANGE=\"form.submit()\">"));
In ND3.12 this code was sufficient for a change in the text box to call the
code of the cb event.
In ND4.13 all I get is:
Software Messages :
spider.util.CSpMethod.call: Can't find the event 'cb_OnWebEvent' on the Page
'pgMain'
I have tried changing the event code so it does not take parameters but this
did not help. I'm not sure how I would construct the correct CSpWebEvent
parameter or if this would even help.
Can someone help with this problem? More generally has there been some
major change in JavaScript/ND integration?
Thanks in advance,
Brent Claxton
_________________________________________________________________________
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]