I have a flowscript function that takes in start and end parameters and
creates a form that includes a previous and next button on the form
page. After the form has been submitted, with either a next submit call
or previous submit call, it calls itself with new values for the start
and end parameters. Basically the function looks like this:
function myForm(start, end)
{
// get a record list from an hsql query using the start and
end values
var model = pu.processToDOM(...);
var form = new Form(model.getDocumentElement());
// set the start and end form variables...
form.showForm(...);
// after submit do some calculations on the start and end
values and call this function again
myForm(newStart,newEnd);
}
My question is, is this the best way to do this? Is this too memory
intensive?
Kirn Khaira