• 고객센터
  • 교육
  • 매뉴얼
  • 데모
  • 제품소개
기술지원97
조회 수 : 4246
2012.06.26 (08:58:26)
http://www.gauce.com/ComponentManual/AMX/Basic/LuxeCombo/Properties/BindColVal/sample/BindColVal_s1.html가우스의 모든 컴포넌트는 DataSet을 통하여 바인드 되게 됩니다.

Grid/MGrid/Report 등의 경우 DataID라는 속성을 통하여 설정한 DataSet과 자동으로 바인드가 되며,
EMEdit/Combo/TextArea 등은 Bind 컴포넌트를 통하여 DataSet과 바인드 되게 됩니다.

즉, Grid의 특정컬럼과 Combo를 연결하게 하려면 동일한 DataSet의 특정컬럼을 Bind 컴포넌트를 통하여 연결하시면 됩니다.

자세한 사항은 관련링크1의 Bind 매뉴얼을 참고하시기 바랍니다.

감사합니다.

>게시판을 이용해 주셔서 감사합니다.
>다음양식에 맞게 입력해주세요.
>
>* 고객시스템명 :
>* GAUCE 버전 : GAUCE.NET5.0
>* WAS 종류(WebLogic 등등) : IIS
>* DB 종류 : ORACLE
>* 문의 유형(질문/요청/참조) :
>* 내용 :
>이번에 처음 가우스를 접하게 되었습니다.
>내용을 한참 찾아봐도 grid 와 combo 가 현제 소스와 같은 문서나 셈플파일을 찾지 못하여 질문드립니다.
>기존 소스에 아래 combo를 추가 하여 그리드에 해당 값이 표시가 되어야 하나 해당 combo값이 그리드에
>표시 되지 않아 질문드립니다. 해당소스는(cs)파일포함 첨부 합니다. 관련 메뉴얼 문서나해결 방법 문의드립니다.
>

번호 제목 닉네임 조회 등록일
6729 no image 가우스 4.0 설치 중 문의드립니다.
기술지원97
3096 2012-06-29
6728 no image 가우스 4.0 설치 중 문의드립니다.
김문주
2615 2012-06-29
6727 no image 가우스 4.0 설치 중 문의드립니다.
기술지원97
3123 2012-06-29
6726 no image lookup + onclick + dataset
김유나
2254 2012-06-29
6725 no image lookup + onclick + dataset
기술지원97
2292 2012-06-29
6724 no image 그리드 입력 문의
이승범
2375 2012-06-28
6723 no image 그리드 입력 문의
기술지원97
2364 2012-06-29
6722 no image properties 에 관한 질문 드립니다. (빠른 답변좀 부탁드립니다)
최민석
2223 2012-06-28
6721 no image properties 에 관한 질문 드립니다. (빠른 답변좀 부탁드립니다)
기술지원97
2281 2012-06-28
6720 no image properties 에 관한 질문 드립니다. (빠른 답변좀 부탁드립니다)
기술지원40
2306 2012-06-29
GAUCE는 데이터를 처리하는 역할만 합니다. 따라서 DB환경설정은 GAUCE와는 상관이 없습니다. 일반적인 JDBC Connection을 사용하면 됩니다. 예제 : http://www.gauce.com/ComponentManual/TEMPLATE/Basic/svrtemplete_4x_api_03.html JDBC Connection를 사용하지 않고, Gauce API인 GauceConnection을 사용하는 경우 gauce.xml 의 <resource>에서 설정합니다. 예제 : http://www.gauce.com/ComponentManual/TEMPLATE/Basic/svrtemplete_4x_api_01.html API와 매뉴얼에 포함된 서버 템플릿 예제를 참고하시기 바랍니다. API : http://www.gauce.com/ComponentManual/API/Basic/GAUCE4API/index.html 서버 템플릿 예제 : http://www.gauce.com/ComponentManual/TEMPLATE/Main/main.html >가우스에는 DB 환경을 설정하는 properties 파일은 존재하지 않습니다. >가우스에서 제공하는 dataSource를 사용하시는 경우는 gauce.xml을 확인하시기 바랍니다. > >감사합니다. > >>게시판을 이용해 주셔서 감사합니다. >>다음양식에 맞게 입력해주세요. >> >>* 고객시스템명 : >>* GAUCE 버전 : 4.0 >>* WAS 종류(WebLogic 등등) : 톰켓7 >>* DB 종류 : 오라클 11g >>* 문의 유형(질문/요청/참조) : 질문 >>* 내용 : >> >>- 안녕하세요. >>질문만 간단히 하겠습니다. 쉬프트 정보통신 > java ver 다운로드 > >>[SERVER] GAUCE 4.0.4.7 for JAVA (English) 다운로드 > Tomcat WEB-INF 에 설치를 하였습니다. >>디비 환경을 변경하려 properties 를 찾으려 했지만. 하위에 gauce.xml, web.xml 만 보입니다만. >>제가 잘못한 부분이나. 아니면 원래 properties 가 없는것인지... 도무지 검색을 해봐도 찾을수 없네요. >>부탁드립니다. >>빠른답변좀요.. ㅠㅠ 헬미요. >> >
6719 no image 3.5 -&gt; 4.0 적용시에 com.gauce.ServiceLoader.restoreService 에러 발생
하충선
2351 2012-06-28
게시판을 이용해 주셔서 감사합니다. 다음양식에 맞게 입력해주세요. * 고객시스템명 : 삼성SDI 업무표준 * GAUCE 버전 : 4.0 * WAS 종류(WebLogic 등등) : 웹로직11 * DB 종류 : 오라클9 * 문의 유형(질문/요청/참조) : 질문 * 내용 : 안녕하세요, 방금 전화드렸던 하충선이라고 합니다. 최초 시작 시에 아래와 같은 에러가 나면서 진행이 안되네요. 1) 에러 메세지 url is /console/console.portal?_nfpb=true&_pageLabel=AppDeploymentsControlPage.> <Jun 28, 2012 2:28:04 PM KST> <Error> <HTTP> <BEA-101020> <[ServletContext@429791646[app:gsmm module:gsm c-version:null]] Servlet failed with Exception java.lang.NullPointerException at com.gauce.ServiceLoader.restoreService(Unknown Source) at com.sdi.bizint.Bizint_UserInfo.service(Bizint_UserInfo.java:285) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) Truncated. see log file for complete stacktrace > 2) 해당 소스 package com.sdi.bizint; import java.io.IOException; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.MissingResourceException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; import com.gauce.GauceContext; import com.gauce.GauceDataRow; import com.gauce.GauceDataSet; import com.gauce.GauceException; import com.gauce.GauceService; import com.gauce.engine.H; import com.gauce.http.HttpGauceResponse; import com.gauce.io.GauceRequest; import com.gauce.io.GauceResponse; import com.gauce.log.Logger; import com.sdi.common.SdiString; import com.sdi.common.SdiUtil; import com.sdi.common.comFunc; public class Bizint_UserInfo extends HttpServlet { private static final long serialVersionUID = 1L; public void service(HttpServletRequest request, HttpServletResponse response) throws IOException { //ServiceLoader loader = new ServiceLoader(request, response); com.gauce.ServiceLoader loader = new com.gauce.ServiceLoader(request, response); HttpSession session = request.getSession(); GauceService service = null; GauceContext context = null; Logger m_logger = null; GauceDataSet dSet = null; GauceRequest req = null; GauceResponse res = null; Connection conn = null; String TR_TYPE = null; try { //throw myException; //service = loader.newService(com.sdi.common.comFunc.getProperty("GS_DOMAIN")); service = loader.newService(comFunc.getProperty("GS_DOMAIN")); context = service.getContext(); m_logger = context.getLogger(); req = service.getGauceRequest(); res = service.getGauceResponse(); conn = SdiUtil.getSdiConnection(comFunc.getProperty("GS_DB_02")); PreparedStatement select = null; dSet = req.getGauceDataSet("OUTPUT"); res.enableFirstRow(dSet); ......................... } catch (SQLException se) { System.out.println("Main Job SQL Error"); comFunc.rollback(conn); se.printStackTrace(); } catch (MissingResourceException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (H e) { // TODO Auto-generated catch block e.printStackTrace(); }finally { if (conn != null) { try {conn.close();} catch (Exception e) {} } loader.restoreService(service); }
6718 no image 3.5 -&gt; 4.0 적용시에 com.gauce.ServiceLoader.restoreService 에러 발생
하충선
2423 2012-06-30
아래 문제는 해결 되었습니다. 자답합니다. 비슷한 문제로 고민할 분들이 있을 것 같아 올립니다. 제 경우에 아래 에러가 발생했던 것은 가우스4.0 환경설정이 제대로 안된 상태에서 소스를 실행해서 였습니다. 4.0에서는 3.5와 다르게 WEB-INF/lib 아래에 guace4.jar 파일 설치 외에 WEB-INF/ 아래에 가우스 설정관련 파일이 추가되네요.(gauce.xml, gauce.properties,...) 그리고, web.xml 파일에 Gaucefilter 관련 추가해주어야 하는 내용이 있습니다.<--관련 에러 발생 >게시판을 이용해 주셔서 감사합니다. >다음양식에 맞게 입력해주세요. > >* 고객시스템명 : 삼성SDI 업무표준 >* GAUCE 버전 : 4.0 >* WAS 종류(WebLogic 등등) : 웹로직11 >* DB 종류 : 오라클9 >* 문의 유형(질문/요청/참조) : 질문 >* 내용 : > >안녕하세요, >방금 전화드렸던 하충선이라고 합니다. >최초 시작 시에 아래와 같은 에러가 나면서 진행이 안되네요. > >1) 에러 메세지 >url is /console/console.portal?_nfpb=true&_pageLabel=AppDeploymentsControlPage.> ><Jun 28, 2012 2:28:04 PM KST> <Error> <HTTP> <BEA-101020> <[ServletContext@429791646[app:gsmm module:gsm >c-version:null]] Servlet failed with Exception >java.lang.NullPointerException > at com.gauce.ServiceLoader.restoreService(Unknown Source) > at com.sdi.bizint.Bizint_UserInfo.service(Bizint_UserInfo.java:285) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) > at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java > at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) > Truncated. see log file for complete stacktrace >> > >2) 해당 소스 > >package com.sdi.bizint; > >import java.io.IOException; >import java.sql.Connection; >import java.sql.PreparedStatement; >import java.sql.ResultSet; >import java.sql.SQLException; >import java.util.MissingResourceException; > >import javax.servlet.http.HttpServlet; >import javax.servlet.http.HttpServletRequest; >import javax.servlet.http.HttpServletResponse; >import javax.servlet.http.HttpSession; > >import com.gauce.GauceContext; >import com.gauce.GauceDataRow; >import com.gauce.GauceDataSet; >import com.gauce.GauceException; >import com.gauce.GauceService; >import com.gauce.engine.H; >import com.gauce.http.HttpGauceResponse; >import com.gauce.io.GauceRequest; >import com.gauce.io.GauceResponse; >import com.gauce.log.Logger; >import com.sdi.common.SdiString; >import com.sdi.common.SdiUtil; >import com.sdi.common.comFunc; > > >public class Bizint_UserInfo extends HttpServlet { > > private static final long serialVersionUID = 1L; > > public void service(HttpServletRequest request, HttpServletResponse response) throws IOException > { > //ServiceLoader loader = new ServiceLoader(request, response); > com.gauce.ServiceLoader loader = new com.gauce.ServiceLoader(request, response); > > HttpSession session = request.getSession(); > GauceService service = null; > GauceContext context = null; > Logger m_logger = null; > GauceDataSet dSet = null; > GauceRequest req = null; > GauceResponse res = null; > > Connection conn = null; > String TR_TYPE = null; > > > try { > //throw myException; > //service = loader.newService(com.sdi.common.comFunc.getProperty("GS_DOMAIN")); > service = loader.newService(comFunc.getProperty("GS_DOMAIN")); > context = service.getContext(); > m_logger = context.getLogger(); > req = service.getGauceRequest(); > res = service.getGauceResponse(); > > conn = SdiUtil.getSdiConnection(comFunc.getProperty("GS_DB_02")); > > PreparedStatement select = null; > dSet = req.getGauceDataSet("OUTPUT"); > res.enableFirstRow(dSet); > > ......................... > > > } catch (SQLException se) { > System.out.println("Main Job SQL Error"); > comFunc.rollback(conn); > se.printStackTrace(); > > } catch (MissingResourceException e) { > // TODO Auto-generated catch block > e.printStackTrace(); > } catch (H e) { > // TODO Auto-generated catch block > e.printStackTrace(); > > }finally { > if (conn != null) { > try {conn.close();} catch (Exception e) {} > } > loader.restoreService(service); > } >
6717 no image 가우스3.5 개발한 소스를 가우스4.0에서 사용 시에. 라이센스 경로 문제..
하충선
2325 2012-06-27
6716 no image 가우스3.5 개발한 소스를 가우스4.0에서 사용 시에. 라이센스 경로 문제..
기술지원97
2737 2012-06-27
6715 no image trial License 관련
조병연
2225 2012-06-27
6714 no image trial License 관련
관리자
2413 2012-06-27
6713 no image Grid와 combo값 연동 파일
노종화
2213 2012-06-26
Selected no image Grid와 combo값 연동
기술지원97
4246 2012-06-26
6711 no image ActiveUpdate OnError [API Error::12029] 시 어떻게 해야 되나요?
김석
2849 2012-06-25
6710 no image ActiveUpdate OnError [API Error::12029] 시 어떻게 해야 되나요?
기술지원97
3090 2012-06-26
Tag List
XE Login