On Feb 15, 2004, at 12:03 AM, Bruno Dumon wrote:


On Sun, 2004-02-15 at 06:50, Mark Lundquist wrote:

form.getWidget("some-widget-id").setValue ("Whatever");

Here you are using Woody's Java API in flowscript, which isn't necessarily wrong, but there's also an alternative. See the file woody_flow_example.js:

var model = form.getModel();
model.somewidgetid = "Whatever";

Ah, well that is nicer.


And both ways I like better than embedding <javascript> in the <wd:form>, which is mixing imperativeness into what was a nice declarative thing.

Thx-a-lot,
— Mark


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to