<?xml version="1.0" encoding="UTF-8"?> <view clazz="com.bstek.dorado5.docent.chapter2.Sample2_1ViewModel"> <Datasets> <Dataset type="Form" id="datasetForm"> <MasterLink/> <Fields> <Field name="EMPLOYEE_ID" label="员工编号" dataType=""> <Properties/> </Field> <Field name="DEPT_ID" label="部门" dataType=""> <Properties/> </Field> </Fields> <Parameters/> <Properties/> </Dataset> <Dataset type="Custom" listener="com.bstek.dorado5.docent.chapter2.CustomDatasetListener" id="datasetCustom" maxPropertyLevel="1"> <MasterLink/> <Fields> <Field name="EMPLOYEE_ID" label="员工编号" dataType=""> <Properties/> </Field> <Field name="DEPT_ID" label="部门" dataType=""> <Properties/> </Field> <Field name="EMPLOYEE_NAME" label="员工姓名" dataType=""> <Properties/> </Field> <Field name="SEX" label="性别" dataType="boolean"> <Properties/> </Field> <Field name="BIRTHDAY" label="出生日期" dataType="date"> <Properties/> </Field> </Fields> <Parameters> <Parameter dataType="" name="EMPLOYEE_ID"/> <Parameter dataType="" name="DEPT_ID"/> </Parameters> <Properties/> </Dataset> </Datasets> <Controls> <Control type="AutoForm" dataset="datasetForm" id="formForm"> <FormGroup title="查询条件"> <Element name="EMPLOYEE_ID" type="TextEditor" field="EMPLOYEE_ID"> <FieldLabel/> <TextEditor/> </Element> <Element name="DEPT_ID" type="TextEditor" field="DEPT_ID"> <FieldLabel/> <TextEditor/> </Element> <Element name="element1" controlAlign="center" showLabel="false" colSpan="2" type="Custom" controlId="buttonQuery"> <FieldLabel/> </Element> </FormGroup> </Control> <Control type="DataTable" dataset="datasetCustom" id="tableCustom" width="100%"> <Column field="EMPLOYEE_ID" name="EMPLOYEE_ID"/> <Column field="DEPT_ID" name="DEPT_ID"/> <Column field="EMPLOYEE_NAME" name="EMPLOYEE_NAME"/> <Column field="SEX" name="SEX"/> <Column field="BIRTHDAY" name="BIRTHDAY"/> </Control> <Control id="commandForm" queryDataset="datasetCustom" type="QueryCommand" conditionDataset="datasetForm"> <Parameters/> </Control> <Control id="buttonQuery" width="80" command="commandForm" type="Button" value="查询"/> <Control method="save" id="commandSave" type="UpdateCommand"> <DatasetInfos> <DatasetInfo dataset="datasetCustom"/> </DatasetInfos> <Parameters/> </Control> <Control id="buttonSave" width="80" command="commandSave" type="Button" value="提交"/> <Control type="DataPilot" dataset="datasetCustom" id="datapilotCustom"/> </Controls> <Properties/> </view>
- shendeguang2013-07-22还行,挺实用的。
- 粉丝: 14
- 资源: 37
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助