On Mar 9, 2004, at 6:04 PM, Christopher Oliver wrote:
There is a "v2" version of the Woody flowscript API that allows you to do this:
function blah() { var form = new Form(...); var button = form.getWidget("doSomething-button"); button.onClick = function() { doSomething(); } form.showForm(...); }
Using this API you can achieve the same behavior as is possible with javascript snippets in the form definition, but you also have access to the application data available in your flowscript.
See the sample under samples/woody/v2.
Ah, very nice! Thanks a lot! Mark
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
