cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markx.John...@rrd.com
Subject Cocoon Forms v3 onClick
Date Fri, 14 May 2004 16:36:24 GMT
Hi all,

I have a FlowScript that uses Cocoon Forms.  I sets the onClick function 
of an Action widget like so:

  var wid = form.getWidget();
  wid.submit.onClick = function() {
    form.save(occ);
    occ.store(occ.getMetaData());
  }

I recently switched from Cocoon Forms v2 to v3 to take advantage of the 
multiple bindings feature.  Suddenly the FlowScript fails on the line 
wid.submit.onClick = function().

Anybody know what is going on?
Does  form.getWidget() return something different in v3?

Thanks

Mark
Mime
View raw message