• 고객센터
  • 교육
  • 매뉴얼
  • 데모
  • 제품소개
조회 수 : 1397
2011.01.25 (14:10:12)
조금전 통화 후 소스를 살펴보니 스크립트로 데이터를 변경 하기 때문에 변환 후 소스가 존재하지 않습니다.
아래 소스 에서 이미지 데이터 변경하는 스크립트 내용 입니다.

바코드에 입력되는 내용은
http://localhost:7001/pass/barcodeImage/이미지명.png

이렇게 변경 합니다.



function On_Print2_New()
{


        DS_TSV_SERV_RECEIPT.NameValue(DS_TSV_SERV_RECEIPT.countrow, 'BARCODE') = "<%=hostAddress%>/barcodeImage/"+servNatvNo+".png";

               if(DS_TSV_SERV_RECEIPT.nameValue(DS_TSV_SERV_RECEIPT.countrow, 'BARCODE')!=""&& DS_TSV_SERV_RECEIPT.nameValue(DS_TSV_SERV_RECEIPT.countrow, 'BARCODE').length>10){
                RECEIPT_SERVICE.Preview();
        }else{
                alert("바코드 이미지가 생성되지 못했습니다. 다시 시도해주세요.");
                return;
        }
}



>* 고객시스템명 :
>* GAUCE 버전 : 4.0
>* WAS 종류(WebLogic 등등) : WebLogic
>* DB 종류 :
>* 문의 유형(질문/요청/참조) :
>* 내용 :
>
>아래 내용은 현제 개발중인 Report 소스 입니다.
>아래 소스에서 사용중인 <I> 태그 사용시 이미지가 출력이 되지 않고 있습니다.
>폼 형식중 'FHeader' 에 입력하게 되면 출력이 되는데 'LDFooter','DFooter','Footer' 어디에 넣어도
>출력이 되지 않습니다.
>
>DEFAULT 태그 다음 제일 하단에 바코드이미지를 출력 할려면 어떻게 해야 하는지 문의 드립니다.
>
>수고하세요
>
><object id=RECEIPT_SERVICE classid=CLSID:CC26E2A9-760B-4EA6-8DDF-DB423FD24089>
><param name="DetailDataID"                value="DS_TSV_SERV_RECEIPT">
><param name="landscape"                        value="false">
><param name="PrintSetupDlgFlag"        value="true">
><param name="PaperSize"                        value="B4">
><param name="Format"                        value="                
><A>id=Area1 ,left=0,top=0 ,right=2000 ,bottom=179 ,FixedFlag=true ,RecCount=100 ,NullRecFlag=false
>        <R>id='service3.sbt' ,left=0 ,top=0 ,right=1000 ,bottom=132
><B>id=FHeader ,left=0,top=0 ,right=701 ,bottom=1566 ,face='Tahoma' ,size=10 ,penwidth=1
>        <T>id='* 접  수  일  시 :' ,left=0 ,top=966 ,right=278 ,bottom=1032 ,align='left' ,face='Tahoma' ,size=12 ,bold=true ,underline=false ,italic=false ,forecolor=#000000 ,backcolor=#FFFFFF</T>
>        <T>id='* 접  수  증  상 :' ,left=0 ,top=609 ,right=278 ,bottom=675 ,align='left' ,face='Tahoma' ,size=12 ,bold=true ,underline=false ,italic=false ,forecolor=#000000 ,backcolor=#FFFFFF</T>
>        <T>id='SKY 서비스 결과(고객용/보관용)' ,left=0 ,top=13 ,right=699 ,bottom=146 ,face='Tahoma' ,size=14 ,bold=true ,underline=false ,italic=false ,forecolor=#000000 ,backcolor=#FFFFFF</T>
>        <C>id='CUST_NM', left=280, top=280, right=669, bottom=347, align='left', face='Tahoma', size=12, bold=false, underline=false, italic=false, forecolor=#000000, backcolor=#FFFFFF</C>
>        <T>id='* 접  수  번  호 : ' ,left=0 ,top=212 ,right=278 ,bottom=278 ,align='left' ,face='Tahoma' ,size=12 ,bold=true ,underline=false ,italic=false ,forecolor=#000000 ,backcolor=#FFFFFF</T>
>        <C>id='SERV_NATV_NO', left=280, top=214, right=669, bottom=280, align='left', face='Tahoma', size=12, bold=false, underline=false, italic=false, forecolor=#000000, backcolor=#FFFFFF</C>
>        <T>id='* 성             함 : ' ,left=0 ,top=278 ,right=278 ,bottom=344 ,align='left' ,face='Tahoma' ,size=12 ,bold=true ,underline=false ,italic=false ,forecolor=#000000 ,backcolor=#FFFFFF</T>
>        <T>id='* 폰     번    호 :' ,left=0 ,top=344 ,right=278 ,bottom=410 ,align='left' ,face='Tahoma' ,size=12 ,bold=true ,underline=false ,italic=false ,forecolor=#000000 ,backcolor=#FFFFFF</T>
>        <C>id='RP_HPHON_NO', left=280, top=347, right=669, bottom=413, align='left', face='Tahoma', size=12, bold=false, underline=false, italic=false, forecolor=#000000, backcolor=#FFFFFF</C>
>        <T>id='* 연     락    처 :' ,left=0 ,top=410 ,right=278 ,bottom=476 ,align='left' ,face='Tahoma' ,size=12 ,bold=true ,underline=false ,italic=false ,forecolor=#000000 ,backcolor=#FFFFFF</T>
>        <C>id='RP_TEL_NO', left=280, top=413, right=669, bottom=479, align='left', face='Tahoma', size=12, bold=false, underline=false, italic=false, forecolor=#000000, backcolor=#FFFFFF</C>
>        <T>id='* 모     델    명 :' ,left=0 ,top=476 ,right=278 ,bottom=542 ,align='left' ,face='Tahoma' ,size=12 ,bold=true ,underline=false ,italic=false ,forecolor=#000000 ,backcolor=#FFFFFF</T>
>        <C>id='MDL_NM', left=280, top=479, right=669, bottom=545, align='left', face='Tahoma', size=12, bold=false, underline=false, italic=false, forecolor=#000000, backcolor=#FFFFFF</C>
>        <T>id='* 일  련  번  호 :' ,left=0 ,top=542 ,right=278 ,bottom=609 ,align='left' ,face='Tahoma' ,size=12 ,bold=true ,underline=false ,italic=false ,forecolor=#000000 ,backcolor=#FFFFFF</T>
>        <C>id='SERIAL_NO', left=280, top=545, right=669, bottom=611, align='left', face='Tahoma', size=12, bold=false, underline=false, italic=false, forecolor=#000000, backcolor=#FFFFFF</C>
>        <C>id='RECP_CNTN1', left=34, top=675, right=669, bottom=728, align='left', face='Tahoma', size=12, bold=false, underline=false, italic=false, forecolor=#000000, backcolor=#FFFFFF</C>
>        <C>id='RECP_CNTN2', left=34, top=728, right=669, bottom=781, align='left', face='Tahoma', size=12, bold=false, underline=false, italic=false, forecolor=#000000, backcolor=#FFFFFF</C>
>        <C>id='RECP_CNTN3', left=34, top=781, right=669, bottom=833, align='left', face='Tahoma', size=12, bold=false, underline=false, italic=false, forecolor=#000000, backcolor=#FFFFFF</C>
>        <C>id='RECP_CNTN4', left=34, top=833, right=669, bottom=886, align='left', face='Tahoma', size=12, bold=false, underline=false, italic=false, forecolor=#000000, backcolor=#FFFFFF</C>
>        <C>id='RECP_CNTN5', left=34, top=886, right=669, bottom=939, align='left', face='Tahoma', size=12, bold=false, underline=false, italic=false, forecolor=#000000, backcolor=#FFFFFF</C>
>        <T>id='* 수  리  일  시 :' ,left=0 ,top=1032 ,right=278 ,bottom=1098 ,align='left' ,face='Tahoma' ,size=12 ,bold=true ,underline=false ,italic=false ,forecolor=#000000 ,backcolor=#FFFFFF</T>
>        <C>id='PROC_DT', left=280, top=1032, right=669, bottom=1098, align='left', face='Tahoma', size=12, bold=false, underline=false, italic=false, forecolor=#000000, backcolor=#FFFFFF</C>
>        <C>id='RECP_DT', left=280, top=966, right=669, bottom=1032, align='left', face='Tahoma', size=12, bold=false, underline=false, italic=false, forecolor=#000000, backcolor=#FFFFFF</C>
>        <T>id='* 담당엔지니어 :' ,left=0 ,top=1098 ,right=278 ,bottom=1164 ,align='left' ,face='Tahoma' ,size=12 ,bold=true ,underline=false ,italic=false ,forecolor=#000000 ,backcolor=#FFFFFF</T>
>        <C>id='ASGN_ASMN_NM', left=280, top=1098, right=669, bottom=1164, align='left', face='Tahoma', size=12, bold=false, underline=false, italic=false, forecolor=#000000, backcolor=#FFFFFF</C>
>        <T>id='* 대표원인코드 :' ,left=0 ,top=1217 ,right=278 ,bottom=1283 ,align='left' ,face='Tahoma' ,size=12 ,bold=true ,underline=false ,italic=false ,forecolor=#000000 ,backcolor=#FFFFFF</T>
>        <C>id='SYM_LEVEL01_TOP_CD', left=280, top=1217, right=669, bottom=1283, align='left', face='Tahoma', size=12, bold=false, underline=false, italic=false, forecolor=#000000, backcolor=#FFFFFF</C>
>        <T>id='* 대표조치코드 :' ,left=0 ,top=1283 ,right=278 ,bottom=1349 ,align='left' ,face='Tahoma' ,size=12 ,bold=true ,underline=false ,italic=false ,forecolor=#000000 ,backcolor=#FFFFFF</T>
>        <C>id='ACTN_CD', left=280, top=1283, right=669, bottom=1349, align='left', face='Tahoma', size=12, bold=false, underline=false, italic=false, forecolor=#000000, backcolor=#FFFFFF</C>
>        <T>id='* 사용자제' ,left=0 ,top=1416 ,right=278 ,bottom=1482 ,align='left' ,face='Tahoma' ,size=12 ,bold=true ,underline=false ,italic=false ,forecolor=#000000 ,backcolor=#FFFFFF</T>
>        <T>id='---------------------------------------------------' ,left=0 ,top=1482 ,right=664 ,bottom=1524 ,align='left' ,face='Tahoma' ,size=12 ,bold=true ,underline=false ,italic=false ,forecolor=#000000 ,backcolor=#FFFFFF</T>
>        <T>id='품번                        자재군/품명                유무상        수량      단가' ,left=0 ,top=1524 ,right=664 ,bottom=1590 ,align='left' ,face='Tahoma' ,size=8 ,bold=true ,underline=false ,italic=false ,forecolor=#000000 ,backcolor=#FFFFFF</T>
>        <T>id='---------------------------------------------------' ,left=0 ,top=1574 ,right=664 ,bottom=1617 ,align='left' ,face='Tahoma' ,size=12 ,bold=true ,underline=false ,italic=false ,forecolor=#000000 ,backcolor=#FFFFFF</T>
>        <T>id='* 보드TAGID    :' ,left=0 ,top=1349 ,right=278 ,bottom=1416 ,align='left' ,face='Tahoma' ,size=12 ,bold=true ,underline=false ,italic=false ,forecolor=#000000 ,backcolor=#FFFFFF</T>
>        <C>id='TAG_ID', left=280, top=1349, right=669, bottom=1416, align='left', face='Tahoma', size=12, bold=false, underline=false, italic=false, forecolor=#000000, backcolor=#FFFFFF</C>
></B>
><B>id=default ,left=0,top=0 ,right=701 ,bottom=56 ,face='Tahoma' ,size=10 ,penwidth=1
>        <C>id='MTRL_CD', left=0, top=0, right=124, bottom=56, align='left', face='Tahoma', size=7, bold=false, underline=false, italic=false, forecolor=#000000, backcolor=#FFFFFF</C>
>        <C>id='MTRL_NM', left=124, top=0, right=400, bottom=56, align='left', face='Tahoma', size=7, bold=false, underline=false, italic=false, forecolor=#000000, backcolor=#FFFFFF</C>
>        <C>id='CHARGE_YN_1', left=410, top=0, right=440, bottom=56, align='left', face='Tahoma', size=7, bold=false, underline=false, italic=false, forecolor=#000000, backcolor=#FFFFFF</C>
>        <C>id='QTY', left=442, top=0, right=538, bottom=56, align='right', face='Tahoma', size=7, bold=false, underline=false, italic=false, forecolor=#000000, backcolor=#FFFFFF</C>
>        <C>id='MTRL_UPR', left=538, top=0, right=624, bottom=56, align='right', face='Tahoma', size=7, bold=false, underline=false, italic=false, forecolor=#000000, backcolor=#FFFFFF</C>
></B>
><B>id=LDFooter ,left=0,top=0 ,right=701 ,bottom=564 ,face='Tahoma' ,size=10 ,penwidth=1
>        <T>id='---------------------------------------------------' ,left=0 ,top=0 ,right=664 ,bottom=42 ,align='left' ,face='Tahoma' ,size=12 ,bold=true ,underline=false ,italic=false ,forecolor=#000000 ,backcolor=#FFFFFF</T>
>        <C>id='CHARGE_YN_2', left=280, top=32, right=669, bottom=98, align='left', face='Tahoma', size=12, bold=false, underline=false, italic=false, forecolor=#000000, backcolor=#FFFFFF</C>
>        <T>id='* 유무상여부    :' ,left=0 ,top=32 ,right=278 ,bottom=98 ,align='left' ,face='Tahoma' ,size=12 ,bold=true ,underline=false ,italic=false ,forecolor=#000000 ,backcolor=#FFFFFF</T>
>        <T>id='* 수  리  비  용' ,left=0 ,top=85 ,right=278 ,bottom=151 ,align='left' ,face='Tahoma' ,size=12 ,bold=true ,underline=false ,italic=false ,forecolor=#000000 ,backcolor=#FFFFFF</T>
>        <T>id='> 부품비소계 :' ,left=21 ,top=164 ,right=278 ,bottom=230 ,align='left' ,face='Tahoma' ,size=12 ,bold=true ,underline=false ,italic=false ,forecolor=#000000 ,backcolor=#FFFFFF</T>
>        <T>id='> 수리기술료 :' ,left=21 ,top=217 ,right=278 ,bottom=283 ,align='left' ,face='Tahoma' ,size=12 ,bold=true ,underline=false ,italic=false ,forecolor=#000000 ,backcolor=#FFFFFF</T>
>        <T>id='> 합          계 :' ,left=21 ,top=280 ,right=278 ,bottom=344 ,align='left' ,face='Tahoma' ,size=12 ,bold=true ,underline=false ,italic=false ,forecolor=#000000 ,backcolor=#FFFFFF</T>
>        <C>id='TECH_CST', left=280, top=164, right=669, bottom=230, align='left', face='Tahoma', size=12, bold=false, underline=false, italic=false, forecolor=#000000, backcolor=#FFFFFF</C>
>        <C>id='MTRL_CST', left=280, top=217, right=669, bottom=283, align='left', face='Tahoma', size=12, bold=false, underline=false, italic=false, forecolor=#000000, backcolor=#FFFFFF</C>
>        <C>id='ORG_NM', left=280, top=349, right=669, bottom=415,    align='left', face='Tahoma', size=12, bold=false, underline=false, italic=false, forecolor=#000000, backcolor=#FFFFFF</C>
>        <C>id='TOT_STLM_AMT', left=280, top=278, right=669, bottom=344, align='left', face='Tahoma', size=12, bold=false, underline=false, italic=false, forecolor=#000000, backcolor=#FFFFFF</C>
>        <T>id='* 지    점     명 :' ,left=0 ,top=349 ,right=278 ,bottom=415 ,align='left' ,face='Tahoma' ,size=12 ,bold=true ,underline=false ,italic=false ,forecolor=#000000 ,backcolor=#FFFFFF</T>
>        <I>id='BARCODE' ,left=11 ,top=456 ,right=700 ,bottom=564</I>
></B>        
>        </R>
></A>
>
>
>
번호 제목 닉네임 조회 등록일
7449 no image 호환성 보기 설정 이후에도 메뉴 깨짐 현상
kiarakim
9370 2017-02-15
7448 no image Shift DEMO 사이트 에서 IE11 다운됨
정성호
9601 2017-02-10
7447 no image 엑셀 업로드 속도 문의
jokerrain
9668 2016-12-15
게시판을 이용해 주셔서 감사합니다. 다음양식에 맞게 입력해주세요. **필수입력사항** * 고객(업체)명 : 신세계아이앤씨 * 제품 버전 : 가우스 5.2 * 문의 유형(질문/요청/참조) : 속도 문의 * 내용 : 아래는 재고 업로드 시 사용하고 있는 함수입니다. 1만여건 업로드시 1시간이 넘게 걸려서 세션 오류로 저장이 되질 않고 있습니다. 개선할 방법이 있을까요? function openExcelUpLoad() { if (DS_IO_MASTER.CountRow < 1) { showMessage(INFORMATION, OK, "USER-1000", "실사목록을 선택후 엑셀업로드 하세요."); return; } INF_UPLOAD.Open(); EM_FILE_1_NM.text = ""; if (INF_UPLOAD.SelectState) { var strFileInfo = "'"+INF_UPLOAD.Value+"''"; //파일이름 var strExcelFileName = INF_UPLOAD.Value var tmpFileName = strExcelFileName.substring(strExcelFileName.lastIndexOf("\\")+1); var strFileName = tmpFileName.substring(0, tmpFileName.lastIndexOf(".")); var strExtension = tmpFileName.substring(tmpFileName.lastIndexOf("."), tmpFileName.length); var nStartRow = 7; //시작Row var nEndRow = 0; //끝Row var nReadType = 0; //읽기모드 var nBlankCount = 0; //공백row개수 var nLFTOCR = 0; //줄바꿈처리 var nFireEvent = 1;//이벤트발생 var nSheetIndex = 1; //Sheet Index 추가 var lOption = 1; //옵션처리 var stropt = strExcelFileName; //1st stropt += "," + nStartRow; //2nd stropt += "," + nEndRow; //3rd stropt += "," + nReadType; //4th stropt += "," + nBlankCount; //5th stropt += "," + nLFTOCR; //6th stropt += "," + nFireEvent; //7th stropt += "," + nSheetIndex; //8th stropt += "," + lOption; //9th stropt += ",0"; //10th //var chrLen = strFileName.length; if(strExtension != ".xlsx" && strExtension != ".xls"){ showMessage(INFORMATION, OK, "USER-1000", "엑셀파일이 아닙니다."); return; } DS_IO_DETAIL.ClearData(); EM_FILE_1_NM.text = strFileInfo; DS_IO_DETAIL.Do("Excel.Application", stropt); GD_DETAIL.ColumnProp("PSLCNT_SBDT_DT","Edit") = "none"; //EM_FILE_1_NM.text = ""; enableControl(IMG_btn_Add2 , false); enableControl(IMG_btn_Del2 , false); isExcel = true; } }
7446 차트 질문 파일
신현철
9631 2016-10-04
7445 no image java.io.IOException/java.lang.NullPointerException 발생
윤재국
10592 2016-07-13
게시판을 이용해 주셔서 감사합니다. 다음양식에 맞게 입력해주세요. **필수입력사항** * 고객(업체)명 : 삼성SDI 사내시스템 * 제품 버전 : GAUCE4.0 * 문의 유형(질문/요청/참조) : java.io.IOException/java.lang.NullPointerException 발생 * 내용 : 운영중인 시스템의 환경을 최근 아래와 같이 변경하였습니다. JDK 1.4/GAUCE 3.5/WebLogic 8.1 => JDK1.6/GAUCE 4.0/JEUS7 - A.jsp 에서 수정/저장이 발생할 때 아래와 같이 링크를 타도록 해놨구요. <OBJECT CLASSID=CLSID:223216F6-B9FE-406d-9ED6-143FCE3A07B8 ID=tbtr_TRNS_01> <param name=ServerIP value=""> <param name=Action value="./cpceom01_Blob_transaction.jsp"> <PARAM name=KeyName value="Toinb_dataid4"> <param name=KeyValue value="Sevlet(I:POST=tbds_DSET_01, O:OUTPOST=tbds_DSET_02)"> </OBJECT> -B.jsp의 GauceResponse res = service.getGauceResponse(); GauceRequest req = service.getGauceRequest(); => 여기서 오류가 발생합니다. 어떤 문제인지 확인 부탁드립니다. ================================================================== IOException Error ===> java.io.IOException: java.io.IOException: at com.gauce.io.bin.A.A(Unknown Source) at com.gauce.io.bin.A.A(Unknown Source) at com.gauce.filter.HttpGauceRequestWrapper.getGauceInputStream(Unknown Source) at com.gauce.io.bin.E.<init>(Unknown Source) at com.gauce.engine.K.getGauceRequest(Unknown Source) at com.gauce.engine.K.getGauceRequest(Unknown Source) at jeus_jspwork._Apps._700_cpceom01_5fBlob_5ftransaction_5fjsp._jspService(_700_cpceom01_5fBlob_5ftransaction_5fjsp.java from InMemoryJavaFile:100) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) at jeus.servlet.jsp.JspServletWrapper.executeServlet(JspServletWrapper.java:78) at jeus.servlet.filter.FilterChainImpl.internalDoFilter(FilterChainImpl.java:112) at jeus.servlet.filter.FilterChainImpl.doFilter(FilterChainImpl.java:86) at com.gauce.filter.GauceFilter.doFilter(Unknown Source) at jeus.servlet.filter.FilterChainImpl.internalDoFilter(FilterChainImpl.java:98) at jeus.servlet.filter.FilterChainImpl.doFilter(FilterChainImpl.java:86) at jeus.servlet.engine.ServletWrapper.execute(ServletWrapper.java:147) at jeus.servlet.jsp.JspServletWrapper.execute(JspServletWrapper.java:51) at jeus.servlet.engine.RequestProcessor.run(RequestProcessor.java:211) at jeus.util.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:1211) at jeus.util.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:1261) at jeus.servlet.engine.WebThreadPoolExecutor$WebRequestWorker.run(WebThreadPoolExecutor.java:340) at java.lang.Thread.run(Thread.java:767) zzz Error ===> java.lang.NullPointerException java.lang.NullPointerException at jeus_jspwork._Apps._700_cpceom01_5fBlob_5ftransaction_5fjsp._jspService(_700_cpceom01_5fBlob_5ftransaction_5fjsp.java from InMemoryJavaFile:217) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) at jeus.servlet.jsp.JspServletWrapper.executeServlet(JspServletWrapper.java:78) at jeus.servlet.filter.FilterChainImpl.internalDoFilter(FilterChainImpl.java:112) at jeus.servlet.filter.FilterChainImpl.doFilter(FilterChainImpl.java:86) at com.gauce.filter.GauceFilter.doFilter(Unknown Source) at jeus.servlet.filter.FilterChainImpl.internalDoFilter(FilterChainImpl.java:98) at jeus.servlet.filter.FilterChainImpl.doFilter(FilterChainImpl.java:86) at jeus.servlet.engine.ServletWrapper.execute(ServletWrapper.java:147) at jeus.servlet.jsp.JspServletWrapper.execute(JspServletWrapper.java:51) at jeus.servlet.engine.RequestProcessor.run(RequestProcessor.java:211) at jeus.util.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:1211) at jeus.util.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:1261) at jeus.servlet.engine.WebThreadPoolExecutor$WebRequestWorker.run(WebThreadPoolExecutor.java:340) at java.lang.Thread.run(Thread.java:767) ===================================================================================
7444 no image 호환성 보기
kiarakim
9313 2016-07-11
7443 no image 가우스 그리드에 문자입력시 한글/영문 우선순위 변경
hthink
9030 2016-04-21
7442 no image 레포트 DFooter영역 이미지 태그
FKSS
9796 2016-04-20
7441 no image 좌/우측으로 데이터 이동
헐랭이
8181 2016-04-15
7440 no image 가우스 리포트를 PDF로 저장 가능한가요?
안순주
10664 2016-04-12
7439 no image 중간소계 필드 제외 문의
김은영2
8073 2016-04-08
7438 no image 가우스 그리드 범위지정 선택 가능여부 문의 [1]
hthink
10451 2016-03-29
7437 no image 그리드에 이미지표현 파일 [1]
홍혜련
9540 2016-03-23
게시판을 이용해 주셔서 감사합니다. 다음양식에 맞게 입력해주세요. **필수입력사항** * 고객(업체)명 : 일월 * 제품 버전 : 5.0 * 문의 유형(질문/요청/참조) : 그리드에 이미지표현하기 * 내용 : 안녕하세요 그리드에 이미지표현하는 sample을 down받아 test하고 있는데 잘되지 않습니다. 아예 data도 불러오질 않네요 이미지불러오는 것도(selectimage.jsp) 제대로 실행되는 거 같지 않은데 아래내용이 궁금합니다. 우선 1. selectimage.jsp는 제대로 실행된 거는 맞는지요? 2. 실행이 제대로 안된다면 오류message는 어떻게 자바스크립트에서 받아볼 수 있을까요? 3. selectimage.jsp가 제대로 실행되었다면 왜 이미지가 안뿌려질까요? data.csv는 첨부합니다. 그리고 C:\image directory에는 아래의 이미지들이 존재합니다 "img1.gif", "img2.gif", "img3.gif", ------------------------------------------------- view.html입니다 <html><head> <meta http-equiv="Content-Type" content="text/html" charset="euc-kr"> <!-- 데이터셋 컴포넌트 --> <object id=DS classid=CLSID:2506B38B-0FF7-4249-BA3E-8BC1DC399FBB> </object> <!-- 이미지 데이터셋 컴포넌트 --> <object id=IMG_DS classid=CLSID:2B0B1D8B-CAAA-4E06-BD9A-A09A916BD67A> </object> <script language="javascript"> function fcOnload() { IMG_DS.DataID ="selectImage.jsp"; IMG_DS.Reset(); } function Fn_Reset() { DS.DataID = "data.csv"; DS.Reset(); } </script> <script language="javascript" for="IMG_DS" event=OnLoadCompleted()> Fn_Reset(); </script> <script language="javascript" for="IMG_DS" event=OnLoadError()> alert("Version : " + IMG_DS.Version + " \n Error Code = " + IMG_DS.ErrorCode + "\n" + "Error Message = " + IMG_DS.ErrorMsg); alert(IMG_DS.ErrorMsg ); </script> </head> <body onload="fcOnload()"> <!-- 그리드 컴포넌트 --> <object id="GRID" classid="clsid:EA8B6EE6-3DD8-4534-B4BB-27148CF0042B" style="width:800px;height:250px;"> <Param Name="DataID" value="DS"> <param name=ImgDataID value="IMG_DS"> <Param Name="Editable" value=True> <Param Name="AllShowEdit" value=True> <Param Name="Format" value=' <C> id=Level name=Level width=50 align=center</C> <C> id=Deptcd name=Deptcd width=110 align=center</C> <C> id=Deptnm name=Deptnm width=110 align=center</C> <C> id=ImgC name=ImgC width=110 align=center</C> <C> id=ImgD name=ImgD width=110 align=center</C> <C> id=ImgO name=ImgO width=110 align=center</C> <C> id=imgID,name=이미지,width=115,headbgcolor="#2D2478",bgcolor="#C0E0FF",align="center",SubBgColor="ffffff",sumbgcolor="#E2C8E4",headcolor="#F0F8FF",imgcol="true",imgfitstyle=1</C> <C> id=ImgC name=ImgC width=50 align="center" ,imgcol="true" ImgFitStyle="1"</C> <C> id=ImgD name=ImgD width=50 align="center" ,imgcol="true" ImgFitStyle="1"</C> <C> id=ImgO name=ImgO width=50 align="center" ,imgcol="true" ImgFitStyle="1"</C> '> </object> </body> </html> ------------------------------------------------------ selectImage.jsp입니다 <%@ page import="java.io.*, java.util.*, java.text.*, com.gauce.*, com.gauce.io.*, com.gauce.http.*" %> <% HttpGauceResponse gResponse = null; GauceOutputStream gos = null; File f = null; FileInputStream fis = null; try { gResponse = ((HttpGauceResponse) response); gos = gResponse.getGauceOutputStream(); GauceDataSet dSet = new GauceDataSet(); gos.fragment(dSet, 40); // 이미지가 들어있는 경로(상대경로지정) String imgDir = "C:\\image\\"; // 이미지 리스트 이미지파일명 지정 String[] imgList = new String[] { "img1.gif", "img2.gif", "img3.gif", }; // 이미지 ID(Key) 리스트 [외부 데이터셋의 컬럼값과 매칭되는 이미지 구분자] ////////////////// 데이터셋 컴포넌트의 ID와 매칭되야 한다. ///////////////// String[] imgIdList = new String[] { "ID1", "ID2", "ID3", }; for ( int i=0; i<imgList.length; i++ ) { f = new File(imgDir + imgList[i]); fis = new FileInputStream(f); dSet.put("img", fis, f.length()); // 이미지를 담을 컬럼에 FileInputStream을 넣어 준다. dSet.put("img_id", imgIdList[i], 100); // imgIdList에 넣은 image ID값을 데이터셋에 넣어준다. dSet.put("img_size", (int)f.length(), 100); // 이미지의 SIZE를 지정한다. dSet.heap(); } } gos.write(dSet); //만든 데이터셋을 리턴한다. } catch (Exception e) { ((HttpGauceResponse) response).addMessage(e); e.printStackTrace(); } finally { try {fis.close();} catch(Exception e) { ((HttpGauceResponse) response).addMessage(e); } if (gos != null) { try { gos.close(); } catch(IOException ioe) { gos = null; } } } %>
7436 Internet Explorer의 작동이 중지되었습니다. 파일 [1]
김태성2
9187 2016-03-18
7435 no image 특정 index (row) 삭제 [1]
c1138
9523 2016-03-17
7434 no image was교체시 업그레이드 재설치 문의 [1]
박서영
8234 2016-03-15
7433 no image 파일 업로드 문의(핸들이 잘못 되었습니다)
임종훈
9348 2016-03-15
7432 no image 개발서버 라이센스 갱신 문의 [1]
정민75
10268 2016-03-07
게시판을 이용해 주셔서 감사합니다. 다음양식에 맞게 입력해주세요. **필수입력사항** * 고객(업체)명 : 삼성 SDI * 제품 버전 : 4.0.47 * 문의 유형(질문/요청/참조) : 개발 서버 라이센스 * 내용 : <Mar 7, 2016 4:24:07 PM KST> <Info> <Deployer> <BEA-149059> <Module gepm02 of application gepm02 is transitioning from STATE_PREPARED to STATE_ADMIN on server MOS1.> <Mar 7, 2016 4:24:07 PM KST> <Warning> <HTTP> <BEA-101369> <ServletContext@296030629[app:gepm02 module:gepm02 path:/gepm spec-version:null]: The encoding jsp-descriptor param has been deprecated. Consider declaring the encoding in the jsp-config element (web.xml) or as a page directive (pageEncoding) instead.> <Mar 7, 2016 4:24:07 PM KST> <Info> <Deployer> <BEA-149060> <Module gepm02 of application gepm02 successfully transitioned from STATE_PREPARED to STATE_ADMIN on server MOS1.> <Mar 7, 2016 4:24:07 PM KST> <Info> <ServletContext-/gepm> <BEA-000000> <[GAUCE] GauceFilter: [GAUCE_HOME] /app/GAUCE40_HOME/WEB-INF> <Mar 7, 2016 4:24:07 PM KST> <Error> <ServletContext-/gepm> <BEA-000000> <[GAUCE] GauceFilter: ??? 4.0 ?? ????? ???? ? ??? ???????. com.gauce.engine.H: ?? Trial ????? ???? ??? ?? 4.0? ????(30?)? ???????. ???? : Tue Feb 02 11:01:51 KST 2016 at com.gauce.filter.GauceFilter.A(Unknown Source) at com.gauce.filter.GauceFilter.init(Unknown Source) at weblogic.servlet.internal.FilterManager$FilterInitAction.run(FilterManager.java:332) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120) at weblogic.servlet.internal.FilterManager.loadFilter(FilterManager.java:98) at weblogic.servlet.internal.FilterManager.preloadFilters(FilterManager.java:59) at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1877) at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3161) at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1511) at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:483) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119) at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200) at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119) at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27) at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:636) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205) at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:43) at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161) at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116) at weblogic.deploy.internal.targetserver.operations.StartOperation.doCommit(StartOperation.java:140) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323) at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844) at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253) at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440) at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68) at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:531) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209) at weblogic.work.ExecuteThread.run(ExecuteThread.java:178) > <Mar 7, 2016 4:24:07 PM KST> <Info> <Deployer> <BEA-149059> <Module gepm02 of application gepm02 is transitioning from STATE_ADMIN to STATE_ACTIVE on server MOS1.> <Mar 7, 2016 4:24:07 PM KST> <Info> <Deployer> <BEA-149060> <Module gepm02 of application gepm02 successfully transitioned from STATE_ADMIN to STATE_ACTIVE on server MOS1.> 로컬에서는 reinstall 해서 라이센스 에러가 안나는데 개발서버의 라이센스 갱신은 어떻게 해야 되는지요?
7431 문의합니다 파일 [1]
c1138
9668 2016-03-07
7430 no image EnterpriseMode 적용이 되지 않습니다. 파일 [1]
동긔나긔
10910 2016-03-03
Tag List
XE Login