| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114 |
- <?xml version="1.0" encoding="UTF-8"?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>Untitle</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <gridData/>
- <reqData/>
- <resData/>
- <formData>
- <CoilNo>%</CoilNo>
- </formData>
- </root>
- </instance>
- </model>
- <script type="javascript" src="../../js/boaMsg.js"/>
- <script type="javascript" src="../../js/boaCommon.js"/>
- <script type="javascript" src="../../js/mesCommon.js"/>
- <script type="javascript">
- <![CDATA[
- function execute() {
- commSendReq("/root/formData");
- commSubmit("SyncL2WithL3-service" ,"success" ,"glueAction.do" );
- commAppendData("/root/gridData/ListResult_2_VO" ,"/root/resData/ListResult_2_VO" );
- dg1.rebuild();
- dg1.outlinelevelcol = dg1.colRef("LEVEL");
- // for(var i = 1; i < dg1.rows; i++) {
- // dg1.outlinelevel(i) = model.getValue(dg1.nodeset + "["+i+"]/LEVEL");
- // }
- dg1.outlinecol = dg1.colRef("MAT_SPEC_SEQ");
- dg1.treecolor = "red";
- dg1.outlinebar = 4;
- model.refresh();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body>
- <caption id="caption1" style="left:10px; top:10px; width:290px; height:25px; font-weight:bold; color:#0000ff; vertical-align:middle; ">2. SyncL2WithL3 Example</caption>
- <button id="button1" style="left:725px; top:15px; width:170px; height:21px; ">
- <caption>Synchronize Start</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- execute();
- ]]>
- </script>
- </button>
- <line id="line1" style="x1:300px; y1:34px; x2:10px; y2:34px; border-color:#0000ff; "/>
- <datagrid id="dg1" nodeset="/root/gridData/ListResult_2_VO/ListResult_2_Row" caption="LEVEL^MAT_SPEC_SEQ^PMAT_SPEC_SEQ^MAT_TP^EXP_MAT_NO^WITHIN_SUB_SEQ^CMAT_CNT^FAC_STL_GRD^FAC_STL_GRP^MAT_RT^TREAT_RT_CD^PATH_PROC_CD^LINE_PROC_CD^MAT_THK^MAT_WTH^MAT_LEN^MAT_LEN_MIN^MAT_LEN_MAX^MAT_WGT^CCM_TERM_TIME^WID_CHG_FL^HCR_YN^EMGMTR_YN^SMS_DUEDATE^PRC_LINE^CCM_PRC_LINE^PROG_CD^SLAB_CUT_SEQ^DSG_RATE^OVER_ROLL_YN^SAMPLE_CUT^ORD_FL^ORD_NO^ORD_SEQ^DELV_REQ_DATE^SPM_PROC_YN^SCARPING_PROC_YN^SEND_STS^COMB_YN^COIL_THK^COIL_WTH^COIL_LEN^COIL_WGT^REG_ID^REG_DTIME^MOD_ID^MOD_DTIME^DSN_SLAB_NO^P_DSN_SLAB_NO^GRAVITY^AUTODSN_YN^COIL_INDIA^COIL_OUTDIA^" colsep="^" colwidth="35, 150, 120, 60, 100, 120, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:10px; top:50px; width:885px; height:450px; ">
- <col editable="false" ref="LEVEL" type="input"/>
- <col editable="false" ref="COIL_NO" type="input"/>
- <col editable="false" ref="SLAB_NO" type="input"/>
- <col editable="false" ref="MAT_TP" type="input"/>
- <col editable="false" ref="EXP_MAT_NO" type="input"/>
- <col editable="false" ref="WITHIN_SUB_SEQ" type="input"/>
- <col editable="false" ref="CMAT_CNT" type="input"/>
- <col editable="false" ref="FAC_STL_GRD" type="input"/>
- <col editable="false" ref="FAC_STL_GRP" type="input"/>
- <col editable="false" ref="MAT_RT" type="input"/>
- <col editable="false" ref="TREAT_RT_CD" type="input"/>
- <col editable="false" ref="PATH_PROC_CD" type="input"/>
- <col editable="false" ref="LINE_PROC_CD" type="input"/>
- <col editable="false" ref="MAT_THK" type="input"/>
- <col editable="false" ref="MAT_WTH" type="input"/>
- <col editable="false" ref="MAT_LEN" type="input"/>
- <col editable="false" ref="MAT_LEN_MIN" type="input"/>
- <col editable="false" ref="MAT_LEN_MAX" type="input"/>
- <col editable="false" ref="MAT_WGT" type="input"/>
- <col editable="false" ref="CCM_TERM_TIME" type="input"/>
- <col editable="false" ref="WID_CHG_FL" type="input"/>
- <col editable="false" ref="HCR_YN" type="input"/>
- <col editable="false" ref="EMGMTR_YN" type="input"/>
- <col editable="false" ref="SMS_DUEDATE" type="input"/>
- <col editable="false" ref="PRC_LINE" type="input"/>
- <col editable="false" ref="CCM_PRC_LINE" type="input"/>
- <col editable="false" ref="PROG_CD" type="input"/>
- <col editable="false" ref="SLAB_CUT_SEQ" type="input"/>
- <col editable="false" ref="DSG_RATE" type="input"/>
- <col editable="false" ref="OVER_ROLL_YN" type="input"/>
- <col editable="false" ref="SAMPLE_CUT" type="input"/>
- <col editable="false" ref="ORD_FL" type="input"/>
- <col editable="false" ref="ORD_NO" type="input"/>
- <col editable="false" ref="ORD_SEQ" type="input"/>
- <col editable="false" ref="DELV_REQ_DATE" type="input"/>
- <col editable="false" ref="SPM_PROC_YN" type="input"/>
- <col editable="false" ref="SCARPING_PROC_YN" type="input"/>
- <col editable="false" ref="SEND_STS" type="input"/>
- <col editable="false" ref="COMB_YN" type="input"/>
- <col editable="false" ref="COIL_THK" type="input"/>
- <col editable="false" ref="COIL_WTH" type="input"/>
- <col editable="false" ref="COIL_LEN" type="input"/>
- <col editable="false" ref="COIL_WGT" type="input"/>
- <col editable="false" ref="REG_ID" type="input"/>
- <col editable="false" ref="REG_DTIME" type="input"/>
- <col editable="false" ref="MOD_ID" type="input"/>
- <col editable="false" ref="MOD_DTIME" type="input"/>
- <col editable="false" ref="DSN_SLAB_NO" type="input"/>
- <col editable="false" ref="P_DSN_SLAB_NO" type="input"/>
- <col editable="false" ref="GRAVITY" type="input"/>
- <col editable="false" ref="AUTODSN_YN" type="input"/>
- <col editable="false" ref="COIL_INDIA" type="input"/>
- <col editable="false" ref="COIL_OUTDIA" type="input"/>
- </datagrid>
- <input id="input1" ref="/root/formData/CoilNo" style="left:560px; top:15px; width:155px; height:21px; "/>
- </xhtml:body>
- </xhtml:html>
|