게시판을 이용해 주셔서 감사합니다.
다음양식에 맞게 입력해주세요.
* 고객시스템명 : oms system
* GAUCE 버전 : 4.0
* WAS 종류(WebLogic 등등) : weblogic81
* DB 종류 : 오라클
* 문의 유형(질문/요청/참조) : 질문
* 내용 :
아래와 같이 jsp를 만들었습니다
그런데 문제는 newString컬럼에 긴 문장을 입력하면 짤림니다(아마 255에서 짤리는듯 함니다)
newString:STRING(5000) 만큼 들어가야 하는데 안되는데 무엇이 잘못 되었는지요?
이와 관련하여 Q&A를 찾아보니 gauce.properties에 variable.string.length=255 부분을 수정하면 된다는 글이 있던데요 그래서 찾아봤더니
gauce.properties에 는 variable.string.length=255가 없습니다. 그래서 variable.string.length=5000을 한줄 추가 하였는데
안되더라구요.
---------------------------------------- 아래-----------------------------------------------
// 스크립트 부분에 헤더 구성
function f_SetDataHeader(obj){
var v_header= "checkBox:STRING(2),ccc:STRING(100),strIndex2:STRING(200),projectCode:STRING(100),feature:STRING(40),"
+"categoryCode:STRING(100),korean:STRING(5000),koreanDesc:STRING(5000),"
+"english:STRING(5000),englishDesc:STRING(5000),maxLength:STRING(20),path:STRING(20),target:STRING(20),"
+"masterStatus:STRING(90),langCode:STRING(100),langName:STRING(100),"
+"osdString:STRING(5000),detailStatus1:STRING(200),newString:STRING(5000),comments:STRING(200),"
+"detailStatus:STRING(200),strIndex:STRING(200),attribute1:STRING(100)"
;
obj.SetDataHeader(v_header);
}
//해더 호출
<script language=JavaScript for=ds_01 event=onLoadStarted()>
f_SetDataHeader(ds_01);
</script>
//그리드
<comment id="__NOSCRIPT_ID__">
<object id="tb_Grid" classid="<%=LGauceId.GRID%>" style="position:relative;left:0px;top:0px;margin-bottom:7px;margin-top:2px; width:100%;height:226px;">
<Param Name="DataID" value="ds_01">
<Param Name="AutoResizing" value="true">
<param name="ColSizing" value="true">
<param name="FixSizing" value="true">
<Param Name="DragDropEnable" value="true">
<Param Name="MultiRowSelect" value="true">
<Param Name="SortView" value="Right">
<Param Name="TitleHeight" value="30">
<Param Name="Editable" value="true">
<Param Name="AddSelectRows" value="true">
<Param Name="ColSelect" value="true">
<param name="DragDropEnable" value=true>
<param name="SuppressOption" value="1">
<param name="IndicatorBkColor" value="#E6EBEF">
<param name="IndWidth" value="0">
<param name="HeadLineColor" value="#CCCCCC">
<Param Name="Format" value='
<F> id="checkBox" name="" sort="false" pointer=hand width="17" align="left" suppress=1 HeadBgColor=#F1F1F1 EditStyle=checkbox HeadCheckShow=true bgcolor=@acolor </F>
<F> id="ccc" name="" width="100" align="left" suppress=1 gte_columntype="number:0:false" Dec="0" HeadBgColor=#F1F1F1 show=false</F>
<F> id="strIndex2" name="String;Index" width="200" sort="true" align="left" suppress=1 HeadBgColor=#F1F1F1 bgcolor=@acolor,edit=none</F>
<F> id="projectCode" name="Model" width="80" align="left" suppress=1 HeadBgColor=#F1F1F1 bgcolor=@acolor EditStyle=Lookup Data="ds_project_data:projectCode:projectName" Edit={Decode(ccc,"1","true","false")} <c:if test="${userInfo.dataGroupId != '800'}"> edit=none </c:if> </F>
<F> id="feature" name="Feature" width="100" align="left" suppress=1 HeadBgColor=#F1F1F1 bgcolor=@acolor EditStyle=Lookup Data="ds_feature_data:code:value" Edit={Decode(ccc,"1","true","false")} <c:if test="${userInfo.dataGroupId != '800'}"> edit=none </c:if></F>
<F> id="categoryCode" name="Category;Code" width="100" align="left" suppress=1 HeadBgColor=#F1F1F1 bgcolor=@acolor edit=none show=false </F>
<F> id="korean" name="Korean" width="110" align="left" suppress=1 BgColor=@acolor HeadBgColor=#FFFF66 Edit={Decode(ccc,"1","true","false")} <c:if test="${userInfo.dataGroupId != '800'}"> edit=none </c:if></F>
<F> id="koreanDesc" name="Korean;Desc." width="110" align="left" suppress=1 BgColor=@acolor HeadBgColor=#F1F1F1 show=true Edit={Decode(ccc,"1","true","false")} <c:if test="${userInfo.dataGroupId != '800'}"> edit=none </c:if></F>
<C> id="english" name="English;(US)" width="110" align="left" suppress=1 BgColor=@acolor HeadBgColor=#FFFF66 Edit={Decode(ccc,"1","true","false")} <c:if test="${userInfo.dataGroupId != '800'}"> edit=none </c:if></C>
<C> id="englishDesc" name="English;Desc." width="110" align="left" suppress=1 BgColor=@acolor HeadBgColor=#F1F1F1 show=true Edit={Decode(ccc,"1","true","false")} <c:if test="${userInfo.dataGroupId != '800'}"> edit=none </c:if></C>
<C> id="maxLength" name="Max;Length" width="90" align="rigth" suppress=1 BgColor=@acolor gte_columntype="number:0:true" HeadBgColor=#F1F1F1 show=true Edit={Decode(ccc,"1","true","false")} <c:if test="${userInfo.dataGroupId != '800'}"> edit=none </c:if></C>
<C> id="path" name="Path" width="90" align="left" suppress=1 BgColor=@acolor HeadBgColor=#F1F1F1 show=true Edit={Decode(ccc,"1","true","false")} <c:if test="${userInfo.dataGroupId != '800'}"> edit=none </c:if></C>
<C> id="target" name="Target" width="90" align="left" suppress=1 BgColor=@acolor HeadBgColor=#F1F1F1 show=true Edit={Decode(ccc,"1","true","false")} <c:if test="${userInfo.dataGroupId != '800'}"> edit=none </c:if></C>
<C> id="masterStatus" name="Master;Status" width="90" align="left" suppress=1 BgColor=@acolor HeadBgColor=#F1F1F1 show=true EditStyle=Lookup Data="ds_status_data:code:VALUE" edit=none</C>
<C> id="langCode" name="LangCode" width="100" align="left" suppress=1 HeadBgColor=#F1F1F1 show=false</C>
<C> id="langName" name="Language" width="100" align="left" suppress=1 HeadBgColor=#F1F1F1 edit=none Color=blue, Cursor=hand, FontStyle=under</C>
<C> id="osdString" name="OldString" width="200" align="left" suppress=1 HeadBgColor=#F1F1F1 Cursor=hand edit=none </C>
<C> id="detailStatus1" name="" width="200" align="left" suppress=1 HeadBgColor=#F1F1F1 show=false</C>
<C> id="newString" name="NewString" width="200" maxLength=5000 align="left" HeadBgColor=#F1F1F1 <c:if test="${userInfo.dataGroupId == '800'}"> Edit=any </c:if> <c:if test="${userInfo.dataGroupId != '800'}"> Edit={Decode(detailStatus1,"0","false","true")} </c:if></C>
<C> id="comments" name="comments" width="200" align="left" suppress=1 HeadBgColor=#F1F1F1 </C>
<C> id="detailStatus" name="Detail;Status" width="200" align="left" suppress=1 HeadBgColor=#F1F1F1 EditStyle=Lookup Data="ds_status_data:code:VALUE" <c:if test="${userInfo.dataGroupId != '800'}"> edit=none </c:if></C>
<F> id="strIndex" name="" width="200" sort="true" align="left" suppress=1 HeadBgColor=#F1F1F1 bgcolor=@acolor show=false</F>
<C> id="attribute1" name="attribute1" width="100" align="left" suppress=1 HeadBgColor=#F1F1F1 show=false</C>
'>
</object></comment><SCRIPT>__ShowEmbedObject(__NOSCRIPT_ID__);</SCRIPT>
------------------------------------------------------------------------------------------------------