<%@page import="com.amarsoft.dict.als.object.Item"%> <%@page import="com.amarsoft.dict.als.manage.CodeManager"%> <%@ page contentType="text/html; charset=GBK"%><%@ include file="/IncludeBeginMD.jsp"%><% /* Describe: 选择代码; */ String sCaption = CurPage.getParameter("Caption"); //选择框标题 String sDefaultValue = CurPage.getParameter("DefaultValue"); //选择框标题 String sCodeNo = CurPage.getParameter("CodeNo"); //从已有的代码中仅仅匹配的代码 String sItemNoExp = CurPage.getParameter("ItemNoExpr"); //匹配表达式,如10* if(sCaption == null) sCaption = "代码选择"; if(sDefaultValue == null) sDefaultValue = ""; if(sCodeNo == null) throw new Exception("参数Code未传入"); if(sItemNoExp == null) sItemNoExp = ""; //取出代码对象 Item[] codeDef = CodeManager.getItems(sCodeNo); if(codeDef == null) throw new Exception("未找到代码"+sCodeNo); //遍历代码 Vector list = new Vector(); for(int i=0;i <%=sCaption%>
请选择<%=sCaption%>
  <%=new Button("确认","确认","returnSelected()","","btn_icon_submit").getHtmlText()%> <%=new Button("取消","取消","self.returnValue='_CANCEL_';self.close()","","btn_icon_close").getHtmlText()%>
<%@ include file="/IncludeEnd.jsp"%>