extinf.xadl 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <ADL version="1.0">
  3. <TypeDefinition url="default_typedef.xml"/>
  4. <GlobalVariables url="globalvars.xml"/>
  5. <Application id="extinf" codepage="" language="" themeid="XPKNU.xtheme" loginformurl="" loginformstyle="" windowopeneffect="" windowcloseeffect="" version="" tracemode="" usewaitcursor="false" engineurl="../install/TobeSoft/XPlatform/" engineversion="9.2.0.280" licenseurl="XPLATFORM_Client_License.xml" filesecurelevel="all" networksecurelevel="all" ondownloadactivex="application_ondownloadactivex" onerror="application_onerror" onload="application_onload" onexit="application_onexit">
  6. <Layout>
  7. <MainFrame id="mainframe" title="maintitle" resizable="true" showtitlebar="true" showstatusbar="true" position="absolute 0 0 500 1024" titletext="Himed" showcascadestatustext="false" showcascadetitletext="false" style="showzoomcombo:false;statusbarheight:0;">
  8. <VFrameSet id="VFrameSet" separatesize="0,*,0">
  9. <Frames>
  10. <ChildFrame id="ChildFrameTop" formurl="com_hismainxp::form_top.xfdl" dragmovetype="none" showstatusbar="false" showtitlebar="false" style="statusbarheight:0;"/>
  11. <FrameSet id="FrameSet">
  12. <Frames>
  13. <ChildFrame id="ChildFrameWork" formurl="com_hismainxp::form_work.xfdl" dragmovetype="none" resizable="false" showtitlebar="false" openstatus="maximize"/>
  14. </Frames>
  15. </FrameSet>
  16. <ChildFrame id="ChildFrameBottom" formurl="com_hismainxp::form_bottom.xfdl" showtitlebar="false" dragmovetype="none" position="absolute 0 0 0 0" style="statusbarheight:0;"/>
  17. </Frames>
  18. </VFrameSet>
  19. </MainFrame>
  20. </Layout>
  21. <Style url="CSS::default.css"/>
  22. </Application>
  23. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  24. * System Name : HIT
  25. * Job Name :
  26. * File Name : himed2.xadl
  27. * Creator :
  28. * Make Date : 2014-01-01
  29. *
  30. * Description :
  31. *---------------------------------------------------------------------------------------
  32. * Modify Date Modifier Modify Description
  33. *---------------------------------------------------------------------------------------
  34. * 2014-01-01 임준호
  35. *
  36. *---------------------------------------------------------------------------------------
  37. ****************************************************************************************/
  38. //=======================================================================================
  39. // Global Variable
  40. //---------------------------------------------------------------------------------------
  41. //상단 프레임
  42. var agv_objAppTopPath = null;
  43. //업무화면을 관리하는 프레임셋
  44. var agv_objAppWorkPath = null;
  45. //하단 프레임
  46. var agv_objAppBottomPath = null;
  47. //시스템 에러 구분 application_onerror에서 사용
  48. var agv_bSystemError = false;
  49. //업무용 세션 변수
  50. var agv_objBizVariable = null;
  51. //Cache Variable
  52. var agv_objCommonCache = new Object();
  53. //last transaction time(milli)
  54. var agv_nLastTransactionTime = 0;
  55. //var agv_sStartMemoryInfo = Math.round(system.getMemoryStatus("FreePhysical")/1000000)+"";
  56. //frmf_openForm 함수에서 인자값을 넘길때 사용(frmf_openForm) - frmf_getMainFormParam()에서 사용한다.
  57. var agv_objMainFormParam = null;
  58. //=======================================================================================
  59. // Function
  60. //---------------------------------------------------------------------------------------
  61. /****************************************************************************************
  62. * Argument : 01.usessl : ssl 사용 여부
  63. * Description : ssl 설정
  64. ****************************************************************************************/
  65. function gf_useSSL(usessl)
  66. {
  67. if (usessl){
  68. application.services["SVR"].url = gv_sURLprefixSSL+"/.lxp?";
  69. }else{
  70. application.services["SVR"].url = gv_sURLprefix+"/.lxp?";
  71. }
  72. }
  73. /****************************************************************************************
  74. * Argument :
  75. * Description : 로그인 화면 기동
  76. ****************************************************************************************/
  77. function gf_loginProcess()
  78. {
  79. // var nMoniterIndex;
  80. // var nScreenLeft;
  81. // var nScreenTop;
  82. // var nScreenRight;
  83. // var nScreenBottom;
  84. // var nScreenWidth;
  85. // var nScreenHeight;
  86. // var arrScreenSize;
  87. //
  88. // nMoniterIndex = system.getMonitorIndex(system.cursorx, system.cursory); //모니터번호
  89. // //alert("login process="+nMoniterIndex);
  90. // objScreenSize = system.getScreenRect(nMoniterIndex);
  91. // nScreenLeft = objScreenSize.left;
  92. // nScreenTop = objScreenSize.top;
  93. // nScreenRight = objScreenSize.right;
  94. // nScreenBottom = objScreenSize.bottom;
  95. // nScreenWidth = nScreenRight - nScreenLeft;
  96. // nScreenHeight = nScreenBottom - nScreenTop;
  97. //로그인 창 나올때 작업표시줄 아이콘 표시를 위하여 mainframe 크기를 0으로 줄인다.
  98. // var nMainLeft = application.mainframe.position.left;
  99. // var nMainTop = application.mainframe.position.top;
  100. // var nMainWidth = application.mainframe.position.width;
  101. // var nMainHeight = application.mainframe.position.height;
  102. // application.mainframe.position.left = Math.ceil(nScreenLeft+(nScreenWidth/2));
  103. // application.mainframe.position.top = Math.ceil(nScreenTop+(nScreenHeight/2));
  104. // application.mainframe.position.width =0;
  105. // application.mainframe.position.height = 0;
  106. // application.mainframe.visible = true;
  107. gv_sMenuType = "03";
  108. gf_setMenuType(gv_sMenuType);
  109. /////////////////////////////////////////////////////////////////////////////////
  110. //PACS
  111. /////////////////////////////////////////////////////////////////////////////////
  112. //var jobkind = gv_ext_dutplcecd;
  113. //jobkind="E" userid="COMBC" password="1" instcode="his053" deptcode="GAD" dutplceinstcd="053" deptfromdd="20070101" menugrupcd="MG00010000" menuauthcd="MA00000055"
  114. var userid = gv_ext_userid; //userid
  115. var password = "1";
  116. var jobkind = "E"; //고정
  117. var instcode = "his"+gv_ext_instcd; //??
  118. var objDs = new Dataset("gds_userDeptList");
  119. //this.addChild("ds_userDeptList", objDs);
  120. objDs.name = "gds_userDeptList";
  121. addVariable("gds_userDeptList", objDs, "global"); //global에 등록
  122. transaction(
  123. "hismainapp.Login"
  124. , "SVR::target=hismainapp.Login&method=reqMenuGroupList"
  125. , ""
  126. , "gds_userDeptList=ds_userDeptList"
  127. , "jobkind="+wrapQuote(jobkind)+" "+
  128. "userid="+wrapQuote(userid)+" "+
  129. "password="+wrapQuote(password)+" "+
  130. "scrnid="+wrapQuote(gv_ext_scrncd)+" "+
  131. "instcode="+wrapQuote(instcode)
  132. , ""
  133. , false
  134. );
  135. var dutplceinstcd = gds_userDeptList.getColumn(0, "dutplceinstcd");//"053"; //instcd
  136. var deptcode = gds_userDeptList.getColumn(0, "dutplcecd");//"GAD"; //dutplcecd
  137. var deptfromdd = gds_userDeptList.getColumn(0, "fromdd");//"19740101";
  138. var menugrupcd = "";
  139. var menuauthcd = "";
  140. if(gv_ext_system == "PACS"){
  141. //menugrupcd = "MG00010000";
  142. //menuauthcd = "MA00000055";
  143. }
  144. //gv_sCurrentAuthGroup = menugrupcd + "|" + menuauthcd;
  145. transaction("hismainapp.Login"
  146. , "SVR::target=hismainapp.Login&method=reqGetSessionInfo"
  147. , ""
  148. , "gds_userInfo=userinfo "+
  149. //"ds_result=result "+
  150. "gds_menuGroup=menugroup " +
  151. "gds_menuInfo=menuinfo " +
  152. //"ds_menuGroupList=menuGroupList "+
  153. "gds_systemInfo=systeminfo"
  154. , "userid="+wrapQuote(userid)+" "+
  155. "jobkind="+wrapQuote(jobkind)+" "+
  156. "instcode="+wrapQuote(instcode)+" "+
  157. "dutplceinstcd="+wrapQuote(dutplceinstcd)+" "+
  158. //"password="+wrapQuote(password)+" "+
  159. "deptcode="+wrapQuote(deptcode)+" "+
  160. "deptfromdd="+wrapQuote(deptfromdd)+" "+
  161. "menugrupcd="+wrapQuote(menugrupcd)+" "+
  162. "menuauthcd="+wrapQuote(menuauthcd)
  163. , "cbf_login"
  164. //, bAsync
  165. //, nDataType
  166. //, bCompress
  167. );
  168. ////////////////////////////////////////////////////////////////////////////////////////
  169. //로그인 화면 기동
  170. // var objFrame = new ChildFrame("Login", nScreenLeft+(nScreenWidth/2)-520, nScreenTop+(nScreenHeight/2)-301, nScreenLeft+(nScreenWidth/2)+520, nScreenTop+(nScreenHeight/2)+302);
  171. //
  172. // objFrame.showtitlebar = false;
  173. // objFrame.layered = true;
  174. // objFrame.style.background = "transparent";
  175. // objFrame.formurl = "com_hismainxp::form_login.xfdl";
  176. //
  177. // var rtn = objFrame.showModal("Login",application.mainframe);
  178. //
  179. // if(rtn=="OK"){
  180. //로그인 창 나올때 mainframe를 원래 크기로 적용한다.
  181. // application.mainframe.position.left = nMainLeft;
  182. // application.mainframe.position.top = nMainTop;
  183. // application.mainframe.position.width = nMainWidth;
  184. // application.mainframe.position.height = nMainHeight;
  185. // application.mainframe.visible = true;
  186. //gf_setMenuType(gv_sMenuType);
  187. // }else{
  188. // exit();
  189. // }
  190. }
  191. function cbf_login(sSvcId, nErrorCode, sErrorMsg){
  192. // var arrParam = sSvcId.split("~");
  193. //
  194. // application.mainframe.position.left = arrParam[1];
  195. // application.mainframe.position.top = arrParam[2];
  196. // application.mainframe.position.width = arrParam[3];
  197. // application.mainframe.position.height = arrParam[4];
  198. //application.mainframe.visible = true;
  199. // gv_sMenuType = "01";`
  200. // gf_setMenuType(gv_sMenuType);
  201. gv_sSessionToken = gds_userInfo.getColumn(0,"sessioninfo");
  202. //gds_menuInfo.filter("scrncd == '"+gv_ext_scrncd+"'");
  203. //var spwdcnfmyn = gds_menuInfo.getColumn(0, "pwdcnfmyn"); // 사용자 확인여부
  204. //var sscrnpos = gds_menuInfo.getColumn(0, "scrnpos"); // M: 메인, P: 팝업
  205. var sscrnpos = "M";
  206. //var sscrncd = gds_menuInfo.getColumn(0, "scrncd"); // 화면 코드
  207. var sscrncd = gv_ext_scrncd;
  208. //var sscrnauth = gds_menuInfo.getColumn(0, "scrnauth"); // RXP 권한 (예:11100000)
  209. var sscrnauth = "11100000";
  210. var smenuparam = gds_menuInfo.getColumn(0, "menuparam"); // 메뉴파라미터
  211. var smenuitemcd = gds_menuInfo.getColumn(0, "menuitemcd"); // 메뉴아이템코드
  212. //var sMenuItemnm = gds_menuInfo.getColumn(0, "menuitemnm");
  213. var defaultitemid = sscrncd+"|"+sscrnpos+"|"+sscrnauth+"|"+smenuparam+"|"+smenuitemcd;
  214. try{
  215. agv_objAppTopPath.form.onLoginComplete(defaultitemid);
  216. agv_objAppBottomPath.form.onLoginComplete();
  217. }catch(e){
  218. trace("extinf.onLoginComplete");
  219. }
  220. for (var i=0; i<gds_userInfo.colcount; i++){
  221. var key = gds_userInfo.getColumnInfo(i).name;
  222. var value = gds_userInfo.getColumn(0,i);
  223. }
  224. //상태메시지에 유저정보 입력
  225. var sDutplcenm = gds_userInfo.getColumn(0, "dutplcenm");
  226. var sUserName = gds_userInfo.getColumn(0, "usernm");
  227. agv_objAppBottomPath.form.stt_userInfo.text = sDutplcenm+" "+sUserName;
  228. var arrWeekarr = new Array("일", "월", "화", "수", "목", "금", "토");
  229. var sDt = gds_userInfo.getColumn(0, "logindt");
  230. var sDtyear = sDt.substring(0,4);
  231. var sDtmonth = sDt.substring(4,6);
  232. var sDtday = sDt.substring(6,8);
  233. var sDthour = sDt.substring(8,10);
  234. var sDtmin = sDt.substring(10,12);
  235. var dtVal = new Date(sDtmonth+"/"+sDtday+"/"+sDtyear);
  236. var sDtWeek = arrWeekarr[dtVal.getDay()];
  237. var sStr = sDtyear + "년" + sDtmonth + "월" + sDtday + "일 (" + sDtWeek + ") " + sDthour +"시" + sDtmin +"분";
  238. var sLoginDate = sStr;
  239. agv_objAppBottomPath.form.stt_loginInfo.text = "최초접속시간: "+sLoginDate;
  240. }
  241. /****************************************************************************************
  242. * Argument :
  243. * Description : 메인 프레임 사이즈 및 위치 설정
  244. ****************************************************************************************/
  245. function gf_setFrameSize()
  246. {
  247. var nMoniterIndex;
  248. var nScreenLeft;
  249. var nScreenTop;
  250. var nScreenRight;
  251. var nScreenBottom;
  252. var nScreenWidth;
  253. var nScreenHeight;
  254. var arrScreenSize;
  255. var objExtCommon = new ExtCommon();
  256. var nTaskBar = objExtCommon.getTaskBarPosition();
  257. nMoniterIndex = system.getMonitorIndex(system.cursorx, system.cursory); //모니터번호
  258. objScreenSize = system.getScreenRect(nMoniterIndex);
  259. nScreenLeft = objScreenSize.left;
  260. nScreenTop = objScreenSize.top;
  261. nScreenRight = objScreenSize.right;
  262. nScreenBottom = objScreenSize.bottom;
  263. nScreenWidth = nScreenRight - nScreenLeft;
  264. nScreenHeight = nScreenBottom - nScreenTop;
  265. //var nLeftCenter = nScreenLeft+((nScreenWidth/2)-(application.mainframe.position.width/2));
  266. var nLeftCenter = nScreenRight - application.mainframe.position.width;
  267. trace("nLeftCenter="+nLeftCenter);
  268. trace("nScreenRight="+nScreenRight);
  269. trace("application.mainframe.position.width="+application.mainframe.position.width);
  270. if(nTaskBar[0] >= nScreenLeft && nTaskBar[0] < (nScreenLeft + nScreenWidth)){
  271. if(nTaskBar[0] == nScreenLeft && nTaskBar[1] > nScreenLeft){
  272. //application.mainframe.position.height = nScreenHeight - (nScreenHeight - nTaskBar[1]);
  273. application.mainframe.move(nLeftCenter, nScreenTop);
  274. }else if(nTaskBar[0] == nScreenLeft && nTaskBar[1] == nScreenLeft && nTaskBar[2] < nScreenWidth){
  275. //application.mainframe.position.height = nScreenHeight;
  276. application.mainframe.move(nLeftCenter+nTaskBar[2], nScreenTop);
  277. }else if(nTaskBar[0] > nScreenLeft && nTaskBar[1] == nScreenLeft){
  278. //application.mainframe.position.height = nScreenHeight;
  279. application.mainframe.move(nLeftCenter, nScreenTop);
  280. }else if(nTaskBar[0] == nScreenLeft && nTaskBar[1] == nScreenLeft && nTaskBar[3] < nScreenHeight){
  281. //application.mainframe.position.height = nScreenHeight - nTaskBar[3];
  282. application.mainframe.move(nLeftCenter, nScreenTop+nTaskBar[3]);
  283. }
  284. }else{
  285. //application.mainframe.position.height = nScreenHeight;
  286. application.mainframe.move(nLeftCenter, nScreenTop);
  287. }
  288. application.mainframe.position.height = 200;
  289. /*
  290. if(nTaskBar[0] == 0 && nTaskBar[1] > 0){
  291. //alert("Main Monitor Bottom TaskBar::" + (nScreenHeight-nTaskBar[1]));
  292. application.mainframe.position.height = nScreenHeight - (nScreenHeight - nTaskBar[1]);
  293. application.mainframe.move(nScreenLeft, nScreenTop);
  294. //trace(nScreenWidth+" "+nScreenHeight+" "+nScreenLeft+" "+nScreenTop);
  295. }else if(nTaskBar[0] == 0 && nTaskBar[1] == 0 && nTaskBar[2] < nScreenWidth){
  296. //alert("Main Monitor Left TaskBar::" + nTaskBar[2]);
  297. application.mainframe.position.height = nScreenHeight;
  298. application.mainframe.move(nScreenLeft+nTaskBar[2], nScreenTop);
  299. }else if(nTaskBar[0] > 0 && nTaskBar[1] == 0){
  300. //alert("Main Monitor Right TaskBar::" + (nScreenWidth-nTaskBar[0]));
  301. application.mainframe.position.height = nScreenHeight;
  302. application.mainframe.move(nScreenLeft, nScreenTop);
  303. }else if(nTaskBar[0] == 0 && nTaskBar[1] == 0 && nTaskBar[3] < nScreenHeight){
  304. //alert("Main Monitor Top TaskBar::" + nTaskBar[3]);
  305. application.mainframe.position.height = nScreenHeight - nTaskBar[3];
  306. application.mainframe.move(nScreenLeft, nScreenTop+nTaskBar[3]);
  307. }
  308. */
  309. //var hWnd = mainframe.getHandle();
  310. //var rtn = objExtCommon.getMonitorRect(hWnd);
  311. //trace( "Form_MaxPosition [ x: " + rtn[0] + " y: " + rtn[1] + " width: " + rtn[2] + " height: " + rtn[3] + "]" );
  312. //alert(nScreenHeight);
  313. }
  314. /****************************************************************************************
  315. * Argument :
  316. * Description : 로그아웃 처리
  317. ****************************************************************************************/
  318. function gf_logout(){
  319. // 세션토큰 초기화
  320. gv_sSessionToken = "";
  321. // 세션변수 초기화
  322. agv_objBizVariable = new Object();
  323. gds_userInfo.clear();
  324. //메인프레임의 최대화/최소화 상태를 normal 상태로 만든다.
  325. //최대화 상태일때 크기 조절이 안된다.
  326. application.mainframe.openstatus = "normal";
  327. gf_loginProcess();
  328. }
  329. /****************************************************************************************
  330. * Argument : 01.sMenuType : 메뉴타입
  331. * Description : 메뉴타입에 따라 상단프레임(TOP) height 조절
  332. ****************************************************************************************/
  333. function gf_setMenuType(sMenuType){
  334. var vfameset = application.mainframe.VFrameSet;
  335. //trace("menutype : "+ sMenuType);
  336. if(sMenuType == "01"){
  337. // 상단정보를 보이게 조정
  338. vfameset.separatesize = "120,*,23";
  339. }else if(sMenuType == "02"){
  340. // 상단정보를 숨김
  341. vfameset.separatesize = "35,*,23";
  342. }else if(sMenuType == "03"){
  343. vfameset.separatesize = "0,*,0";
  344. }
  345. }
  346. //=======================================================================================
  347. // Event
  348. //---------------------------------------------------------------------------------------
  349. /****************************************************************************************
  350. * Components :
  351. * Components ID :
  352. * Event : onload
  353. * Argument : 01.obj : Object
  354. * : 02.e : LoadEventInfo
  355. * Description :
  356. ****************************************************************************************/
  357. function application_onload(obj:Object, e:LoadEventInfo)
  358. {
  359. agv_objAppTopPath = mainframe.VFrameSet.ChildFrameTop; // 상단정보
  360. agv_objAppWorkPath = mainframe.VFrameSet.FrameSet.ChildFrameWork; // 업무화면
  361. agv_objAppBottomPath = mainframe.VFrameSet.ChildFrameBottom; // 하단정보
  362. //업무용 세션 변수 초기화
  363. agv_objBizVariable = new Object();
  364. // 서버환경과 로컬환경을 따져서 Grobal Variable 동적으로 변경 (예 :http://his000dev.schmc.ac.kr:18088/himed2/.lxp? )
  365. var xadlURLArr = application.xadl.split("/");
  366. if (xadlURLArr[0].indexOf("http") == 0) // 서버환경인 경우
  367. {
  368. var domainArr = xadlURLArr[2].split(":");
  369. gv_sURLprefix = "http://"+xadlURLArr[2]+"/"+xadlURLArr[3];
  370. gv_sURLprefixSSL = "https://"+domainArr[0]+":443/"+xadlURLArr[3];
  371. gv_bIsPreview = false;
  372. }
  373. else // 개발자 환경인 경우 (미리보기환경)
  374. {
  375. var serviceURLArr = application.services["SVR"].url.split("/");
  376. var localDomainArr = serviceURLArr[2].split(":");
  377. gv_sURLprefix = "http://"+serviceURLArr[2]+"/"+serviceURLArr[3];
  378. gv_sURLprefixSSL = "https://"+localDomainArr[0]+":8443/"+serviceURLArr[3];
  379. gv_bIsPreview = true;
  380. }
  381. // SSL 사용여부에 따라 서비스 URL 변경
  382. gv_bUseSSL = application.getPrivateProfile("gv_bUseSSL") == "true"? true:false ;
  383. gf_useSSL(gv_bUseSSL);
  384. var rtn = "OK";
  385. gf_setFrameSize();
  386. //gf_loginProcess();
  387. }
  388. /****************************************************************************************
  389. * Components : application
  390. * Components ID :
  391. * Event : onerror
  392. * Argument : 01.obj : Object
  393. * : 02.e : ErrorEventInfo
  394. * Description :
  395. ****************************************************************************************/
  396. function application_onerror(obj:Object, e:ErrorEventInfo){
  397. agv_bSystemError = true;
  398. //트랜잭션시 ESC키로 종료막음. - tobesoft 2014.03.17
  399. if(e.errorcode == "-2147418039"){ //ESC키가 눌렸을때
  400. //return true;
  401. }
  402. //임시 오류 확인용
  403. //alert(e.errorcode+"\n"+e.errormsg);
  404. }
  405. /****************************************************************************************
  406. * Components : application
  407. * Components ID :
  408. * Event : ondownloadactivex
  409. * Argument : 01.obj : Object
  410. * : 02.e : LoadEventInfo
  411. * Description : 엑티브 엑스 다운로드 alert 방지용
  412. ****************************************************************************************/
  413. function application_ondownloadactivex(obj:Object, e:LoadEventInfo){
  414. //지우면 안됨.
  415. }
  416. /****************************************************************************************
  417. * Components : MainFrame
  418. * Components ID : mainframe
  419. * Event : onsize
  420. * Argument : 01.obj : MainFrame
  421. * : 02.e : SizeEventInfo
  422. * Description : 메인프레임 리사이즈
  423. ****************************************************************************************/
  424. function MainFrame_onsize(obj:MainFrame, e:SizeEventInfo){
  425. // if(gv_sSessionToken != ""){
  426. // if(e.cx<=1280){
  427. // obj.position.width = 1280;
  428. // return;
  429. // }
  430. // }
  431. }
  432. /****************************************************************************************
  433. * Components : application
  434. * Components ID : application
  435. * Event : onexit
  436. * Argument : 01.obj : Object
  437. * : 02.e : ExitEventInfo
  438. * Description : 메인프레임 닫기
  439. ****************************************************************************************/
  440. function application_onexit(obj:Object, e:ExitEventInfo){
  441. //팝업 좌표 저장
  442. agv_objAppTopPath.form.savePopupLocation();
  443. }
  444. ]]></Script>
  445. </ADL>