Ok, I have found the form.getWidget().process(formContext); in org.apache.cocoon.woody.formmodel.Form, which will populate my form from the request object.
 
But more importantly for me is the form.getWidget("myRepeaterWidget").readFromRequest(formContext); in org.apache.cocoon.woody.formmodel.Repeater. As I am using grid tables in this particular form.
 
Joe
----- Original Message -----
From: Joe Latty
Sent: Friday, October 31, 2003 11:13 AM
Subject: Populate Woody Form from request in Flow Script

We have a pipeline much the same as the Woody Example (form1) where on the GET request method we are initializing our form in a java class (there are some prefill form values obtained through a SOAP call).
 
When the form is POSTed (submitted) it calls our flow script, a method (in this instance called airAvail).
 
Now in all the binding examples, inside the _javascript_ functions, the form is populated from a bean. In this situation we want to populate the form from the request object using our binding.
 
Is this possible?
 
Joe
 

Reply via email to