– 브라우저 창닫으면 onbeforeunload로 이벤트를 Catch하여 BTN_CLOSE 버튼 이벤트를 발생시켜 줌. <%– 팝업창 닫기 액션 : 닫기버튼 이벤트 발생–%> function fn_onClose(){ document.getElementById(“BTN_CLOSE”).click(); } <script language=”javascript”> window.onbeforeunload = fn_onClose; </script>
– 브라우저 창닫으면 onbeforeunload로 이벤트를 Catch하여 BTN_CLOSE 버튼 이벤트를 발생시켜 줌. <%– 팝업창 닫기 액션 : 닫기버튼 이벤트 발생–%> function fn_onClose(){ document.getElementById(“BTN_CLOSE”).click(); } <script language=”javascript”> window.onbeforeunload = fn_onClose; </script>
– inputField Readonly 필드가 Backspace 버튼이 작동함. function disableBack(e){ var key=e.keyCode; if (key==8){ <%– 8 is for Backspace –%> e.returnValue = false; } } <script for=”if_bldat” event=”onkeydown” type=”text/javascript”> disableBack(event); </script>
– event는 onblur, onkeydown 등 적용가능. – 스크립트는 form안에서 구현. – if_bldat는 inputField ID <script for=”if_bldat” event=”onkeydown” type=”text/javascript”> <%– 증빙일 –%> disableBack(event); </script>
lv_find = ‘<input’ . lv_replace = `<input style = ‘ime-mode:active;’`.
1. 나눔고딕코딩 : https://github.com/naver/nanumfont 2. D2Coding : https://github.com/naver/d2codingfont 3. Source Code Pro : Download , https://github.com/adobe-fonts/source-code-pro
1. Tag 및 속성 2. 태그 사용 샘플코드 – 헤더 필드 <bsp:findAndReplace find=”<input” replace=”< input onchange = `alert(‘alert’ )`” > <htmlb:inputField id=”i1″ value=”<%= val %> ” / > </bsp:findAndReplace > – 아이템 필드 DATA: lr_fr TYPE REF TO cl_bsp_find_and_replace, lr_ip TYPE REF TO cl_htmlb_inputfield, lr_bee TYPE REF TO cl_bsp_bee_table. DATA: lv_find TYPE string. DATA: lv_replace TYPE […]
1. 기존 submitOnEnter 적용방법 input 태그 enter event <htmlb:inputField alignment = “LEFT” id = “GS_HEADER1-KOSTL” maxlength = “10” […]
1. htmlb의 button, image 태그의 onClick 속성을 이용함 <htmlb:image id = “DOCU” alt = “전표생성” src = “/sap/bc/bsp/sap/ZFIEDB_COMMON/btn.png” onClick = “DOCU” /> 2. html의 a 태그를 이용함 <a href=”?onInputProcessing(SEARCH)”>전표생성</a> […]
<htmlb:document disableBackspaceNavigation = “TRUE” >
1. Password 상태 정보 조회 : SUSR_USER_PASSWORD_STATUS_GET Value Meaning -2 Password cannot (generally) be changed -1 Password cannot be changed today (only allowed once a day) 0 Password can be changed, but does not have to be changed 1 Password is initial and must be changed 2 Password has expired and must be changed 3 Password must be changed because it no longer meets the new […]