<%@ page contentType="text/html; charset=GBK"%><%@ include file="/IncludeBegin.jsp"%> <%@ page import="com.amarsoft.app.lc.workflow.action.GetFlowAction" %> <%@ page import="java.util.List" %> <%@ page import="java.util.Map" %> <%@ page import="com.amarsoft.dict.als.manage.NameManager" %> <%@ page import="com.amarsoft.app.util.ProductParamUtil" %><% /* Author: undefined 2017-04-26 Content: 通过数组定义生成Tab框架页面示例 History Log: */ //定义tab数组: //参数:0.是否显示, 1.标题,2.URL,3,参数串 String sObjectType = CurPage.getParameter("ObjectType"); //对象类型 String sObjectNo = CurPage.getParameter("FlowUnid"); //对象编号 String sRightType=CurPage.getParameter("RightType"); String sTempletNo=CurPage.getParameter("TempletNo");//模板号 String sFlowNo= CurPage.getParameter("FlowNo"); BizObject flow=GetFlowAction.getFlowBussinessObject(sObjectNo); String product=flow.getAttribute("productId").getString(); List list=ProductParamUtil.getProductDocInfo(product,"PRD0412"); String type=""; String docList=""; List> l=null; for(int i=0;i map=(Map)list.get(i); if(sFlowNo.equals(map.get("FLOW_INFO").toString())){ l=(List>)map.get("DOCCONFIG"); } } if(sTempletNo==null){ sTempletNo="FlowDocList"; } String sParam= "ObjectType="+sObjectType+"&ObjectNo="+sObjectNo+"&RightType="+sRightType+"&TempletNo="+sTempletNo; String sTabStrip[][] = { }; //System.out.println(sParam); if(l==null){ }else{ sTabStrip =new String[l.size()][]; for(int i=0;i<%@ include file="/Resources/CodeParts/Tab01.jsp"%> <%@ include file="/IncludeEnd.jsp"%>