Won't that work?
Upayavira
function registration() { var form = new Form("forms/registration.xml");
var confirmed = false; while (!confirmed) { form.showForm("registration-display-pipeline");
var model = form.getModel();
var helper = new Helper();
var timestamp = helper.timestamp();
var person = new Person(model.username, model.password, model.email,
model.firstname, model.sirname, model.address, model.zip, model.country,
model.birthday, model.phone, timestamp);
var bizData = person.Object2bizData();
// show data again and ask if everything is OK, if not go back var form_confirm = new Form("forms/registration_confirm.xml"); form_confirm.showForm("registration-confirm-pipeline", bizData); confirmed = form.getChild("confirmed"); }
// save data to db person.create();
cocoon.sendPage("registration-success-pipeline", person); }
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]