define(["aform"], function (AForm) {
//建立一个表单
jf = new AForm("target");
jf.on("renderComplete", function () {
//done
});
jf.render({
a:1,
b:2
});
}
define("controlName",["aform"], function (AForm) {
AForm.registerControl("controlName",{
render:function(){...}
getJsonPartString:function(){...}
});
}