For now, just some pointers to get you started:

Actions

Take a look at the source code of the MakeFormAction and HandleFormSubmitAction. These show how to create a form instance and let it process a form submit.

Note that in contrast with e.g. flowscript, these actions work stateless: they don't store the form object serverside but rebuild it on each request (which is very fast BTW). When doing things this way, ValueChangedEvents will not work and output widgets will lose their value between requests. You can of course store the form in the session to solve this.

Apples

The apples block contains sample code on how to do use the Woody binding from Java. See BindingWoodyApple.java

WoodyJavaAPI (last edited 2009-09-20 23:39:52 by localhost)