%-- time:2015-05-22 11:14:30 desc:edit the sys_bus_event --%> <%@page language="java" pageEncoding="UTF-8"%> <%@include file="/commons/include/html_doctype.html"%> <%@ taglib prefix="ht" tagdir="/WEB-INF/tags/wf"%>
在java代码中可以使用data对象,data为BpmFormData的对象实例。 BpmFormData结构如下: import com.hotent.platform.model.form.SubTable; import com.hotent.platform.model.form.BpmFormData; import java.util.*; SubTable subTable= data.getSubTableByName(String tableName); //子表遍历 List<Map<String, Object>> rows= subTable.getDataList(); for(Map<String, Object> row:rows){ //设置值 row.put("key",123); } //判断数据是否存在 scriptImpl.validDataExist(data,"字段名称");