//建立动态表单--从xml中读取
DynaActionFormClass dynaClass = DynaActionFormClass.createDynaActionFormClass(mapping.getModuleConfig().findFormBeanConfig("adminDistrictAddForm"));
//实例化动态表单
DynaValidatorForm _adminDistrictAddForm = (DynaValidatorForm) dynaClass.newInstance();
//赋值
_adminDistrictAddForm.set("id",id);
_adminDistrictAddForm.set("name",district.getName());
posted on 2006-09-18 15:45
Q系列类、方法、变量…… 阅读(516)
评论(1) 编辑 收藏