Hi Simone,

    FormInstance fi = new FormInstance("cart.def.xml");
    fi.createBinding("cart.bnd.xml");
    fi.load(cart);
    fi.show("cart", bizdata);

sorry for being a pain but i'm still not clear about the form implementation.

var form = new Form("forms/register.xml");
form.showForm("register1.xml", {"msg":Registermsg, "newOrderReg2" : neworderreg2});

becomes:

FormInstance fi = new FormInstance("forms/register.xml");

fi.createBinding("register1.xml",new VarMap()
.add("msg":Registermsg)
.add("newOrderReg2" : neworderreg2);
---------------------------------------------------   
               
var model = form.getModel();

becomes:

fi.getModel model = fi.getModel(); ????

many thanks 

Andrew



Reply via email to