Title: Message
Hi,
 
We are using cocoon-2.1.7
 
I'm setting widget onChange event handler programmatically in the flowscript, it's not working as intended
Same code working fine with cocoon-2.1.5.1
 
I have attached my code below.
 
cocoon.load("resource://org/apache/cocoon/forms/flow/_javascript_/v2/Form.js");
function test() {
  var form = new Form("forms/test-def.xml");
  var wid = frm.getWidget();
 
  wid.number1.value = 1;
 
  wid.number1. newValue) {
    print("number1 changed from " + oldValue + " to " + newValue);
   
  }
  form.showForm("forms/test.html");
}
 

We are using following resource in cocoon-2.1.5.1 ...
cocoon.load("resource://org/apache/cocoon/forms/flow/_javascript_/v3/Form.js");
 
Please anyone have idea on the same. Please help me out. 
 
Thanks,
  Vijay.

 


Confidentiality Notice

The information contained in this electronic message and any attachments to this message are intended
for the exclusive use of the addressee(s) and may contain confidential or privileged information. If
you are not the intended recipient, please notify the sender at Wipro or [EMAIL PROTECTED] immediately
and destroy all copies of this message and any attachments.

Reply via email to