회사에서 제공하는 JAVA 프레임워크(devon) + ajax 프레임워크(xSync) + GAUCE 브리지 유틸(자바 클래스 + 자바스크립트) + 가우스(CAUCE) 자체의 스크립트 규칙까지, 느닷없이 배우기에는 거대한 파도밑의 아이같은 느낌이랄까? (-,-);;
나름 더듬더듬 정리를 해 보았는데
데이터 조회시 Gauce workflow
Prepare
TR 선언
<!-- CUD TR --><OBJECT id=tr_cudEmp classid="<%=LGauceId.TR%>"><param name="KeyName" value="toinb_dataid4"><param name="KeyValue" value="Servlet(I:IN_DS1=ds_emp)"><param name="ServerIP" value=""><param name="Action" value="<%= contextPath %>/uip.gauce.p10.cudUser.gau"></OBJECT>Dataset 선언
<!-- 사원정보 DataSet --><object id="ds_emp" classid="<%=LGauceId.DATASET%>"></object>Event 정의 (callback?)
<!-- CUD TR --><script language=JavaScript for=tr_cudEmp event=OnSuccess()>alert('<LTag:message code="dev.suc.com.process"> </LTag:message>');</script><script language=JavaScript for=tr_retrieveComboData event=OnFail()>alert(tr_retrieveComboData.ErrorMsg);</script>--? 이하는?<!-- 사원정보 DataSet --><script language=JavaScript for=ds_emp event=OnLoadCompleted(rowCnt)>if( rowCnt == 0 ){if(cfCheckCreateFlag() == true){ds_emp.clearData();cfTurnCreateFlag(false);}else{alert('<LTag:message code="dev.inf.com.nodata"> </LTag:message>');}}cfDisableKeyData();cfDisableBtn([bSave]);</script><script language=JavaScript for=ds_emp event=OnLoadError()>if(!cfCheckCreateFlag()){alert(ds_emp.ErrorMsg);}</script>
Body
Form 선언 및 validation
<input type="TEXT" SIZE="20" class="input_textfield_search" id="txt_hblNo" maxlength="5" onkeypress="fnKeyPress(1)">Image Button
<a href="javascript:fnRetrieve();" target="_self"><img src="<%= imagePath %>/btn_search_k_g.gif" alt="검색" id="btn_search_k_g" border="0" ></a>Component 선언
<!-- EMEdit Object --><comment id="__NOSCRIPT_ID__"><object id="ed_shprCd" class="object_eme" classid="<%=LGauceId.EMEDIT%>" style="width:60%;" align='absmiddle' mandatory="true" objType="key" ><param name=Format value="#####"><param name=Alignment value="0"><param name=SelectAll value="true"><param name=Border value="false"><param name=PromptChar value="_"><param name=InheritColor value='true'><param name=ReadOnly value=false></object></comment><SCRIPT>__ShowEmbedObject(__NOSCRIPT_ID__);</SCRIPT>하단에 Bind Components Definition
<object id=bnd_empList classid="<%=LGauceId.BIND%>"><param name=DataID value=ds_emp><param name=BindInfo value='<C> Col=shprCd Ctrl=ed_shprCd Param=text </C><C> Col=mblNo Ctrl=ed_mblNo Param=text </C><C> Col=joblevelCode Ctrl=co_joblevel Param=BindColVal </C><C> Col=name Ctrl=txt_empNm Param=value </C><C> Col=departmentCode Ctrl=co_department Param=BindColVal </C><C> Col=sex Ctrl=rd_sex Param=CodeValue </C><C> Col=birthdate Ctrl=ed_birthDate Param=text </C>'></object>
실은.. 전부다 외계어에 가깝다.. OTL.. 아이고 맙소사!
댓글 없음:
댓글 쓰기