解析文件--单选后列表中的值传到下一个页面

单选后列表中的值传到下一个页面

单选控件 ECAP_DATAELEM_SUFFIX
选择项
RAD_SUFFIX

com.adtec.txrun.dataelement.SuffixOper.getSuffix();


表格设置

重复次数 com.adtec.afc.datapool.EP.getSuffixNo(com.adtec.struct.ECAPTxRunInfo.getInstance().getIpID(), "BILL_AccSeqNo");

偶数行背景色 192, 255, 192

分页组件 pagination

页面初始事件
com.adtec.client.ftp.FtpProxy.downLoadFile();
String downfile = com.adtec.client.ftp.FtpProxy.getLocalFile();
if((downfile==null)||(downfile.equals("")))
{
   return;
}else{
   	$BkFileFmt="";
	$BkFileDel="\\|";
	$BkFileType="txt";

   String elements = "BILL_No|BILL_AccSeqNo|T_CHK_ERR_ACT_NO1|T_CHK_ERR_ACT_NO2|BILL_Amt1|T_CHK_ERR_HOST_SEQ|T_CHK_ERR_TX_DATE|T_CHK_ERR_AREA_NO|BILL_Remark|BILL_DealStat";
   com.adtec.client.pubapp.ecapframe.Pagination.initialize(elements,10,"2");
}


页面提交后事件
com.adtec.txrun.dataelement.SuffixOper.SuffixDispose("BILL_AccSeqNo");


解析xml文件
if(!"".equals($BkFileName)&&($BkFileName!=null)){
 com.adtec.client.ftp.FtpProxy.downLoadFile();
}


页面初始事件
String downfile = com.adtec.client.ftp.FtpProxy.getLocalFile();
if((downfile==null)||(downfile.equals("")))
{
   return;
}else{
   com.adtec.client.pubapp.ecapframe.Pagination.initialize("/Root/T700203_01/Data",20,"12");
}

提交后事件

com.adtec.txrun.dataelement.SuffixOper.SuffixDispose("SIGN_CONTRACT_NO");


解析其他下标文件
if("00000".equals($__ERR_RET)){
	com.adtec.struct.ECAPTxRunInfo ecap = null;
	try {
		ecap = com.adtec.struct.ECAPTxRunInfo.getInstance();
	} catch (BaseException e) { 
		e.printStackTrace();
	} 
	int ipId = ecap.getIpID(); 
	String file = (String) com.adtec.afc.datapool.EP.epGetValue(ipId,"BkFileName",0);
	if(file == null || "".equals(file))
	return ;
	com.adtec.client.ftp.FtpProxy.downLoadFile();
}

猜你喜欢

转载自microjava.iteye.com/blog/706669