チェンジセット 268
- コミット日時:
- 2008/04/15 22:15:23 (14 年前)
- ファイル:
凡例:
- 変更無し
- 追加
- 削除
- 更新
- コピー
- 移動
trunk/im-jssp/src/main/webapp/WEB-INF/classes/conf/jssp-config.xml
r184 r268 4 4 <key> 5 5 <uri-suffix>.jssprpc</uri-suffix> 6 </key> 6 </key> 7 7 <marshller> 8 <page-path>jssp _rpc/common/im_json</page-path>8 <page-path>jssp/script/api/im_json</page-path> 9 9 <throw-unmarshall-exception>true</throw-unmarshall-exception> 10 10 <cache-marshaller-script>true</cache-marshaller-script> … … 42 42 <api-class name="org.intra_mart.jssp.script.api.LoggerObject"/> 43 43 <api-class name="org.intra_mart.jssp.script.api.LoggerMDCObject"/> 44 <api-script name="jssp_rpc/common/im_json#ImJson"/> 44 <api-class name="org.intra_mart.jssp.script.api.SOAPClientObject"> 45 <mode>Once</mode> 46 <helper>jssp/script/api/soap_client_helper</helper> 47 <work-dir>target/work/jssp/_SOAPClient</work-dir> 48 <javac-verbose>false</javac-verbose> 49 </api-class> 50 51 <api-script name="jssp/script/api/im_json#ImJson"/> 45 52 </java-script-api> 46 53 trunk/im-jssp/src/main/webapp/csjs/im_json.js
r108 r268 45 45 * @type String 46 46 */ 47 ImJson.TYPE_NULL = " /* Null */";47 ImJson.TYPE_NULL = "Null"; 48 48 49 49 /** … … 52 52 * @type String 53 53 */ 54 ImJson.TYPE_UNDEFINED = " /* Undefined */";54 ImJson.TYPE_UNDEFINED = "Undefined"; 55 55 56 56 /** … … 59 59 * @type String 60 60 */ 61 ImJson.TYPE_STRING = " /* String */";61 ImJson.TYPE_STRING = "String"; 62 62 63 63 /** … … 66 66 * @type String 67 67 */ 68 ImJson.TYPE_DATE = " /* Date */";68 ImJson.TYPE_DATE = "Date"; 69 69 70 70 /** … … 73 73 * @type String 74 74 */ 75 ImJson.TYPE_ARRAY = " /* Array */";75 ImJson.TYPE_ARRAY = "Array"; 76 76 77 77 /** … … 80 80 * @type String 81 81 */ 82 ImJson.TYPE_OBJECT = " /* Object */";82 ImJson.TYPE_OBJECT = "Object"; 83 83 84 84 /** … … 87 87 * @type String 88 88 */ 89 ImJson.TYPE_FUNCTION = " /* Function */";89 ImJson.TYPE_FUNCTION = "Function"; 90 90 91 91 /** … … 94 94 * @type String 95 95 */ 96 ImJson.TYPE_NUMBER = " /* Number */";96 ImJson.TYPE_NUMBER = "Number"; 97 97 98 98 /** … … 101 101 * @type String 102 102 */ 103 ImJson.TYPE_BOOLEAN = " /* Boolean */";103 ImJson.TYPE_BOOLEAN = "Boolean"; 104 104 105 105 /** … … 108 108 * @type String 109 109 */ 110 ImJson.TYPE_XML = " /* XML */";110 ImJson.TYPE_XML = "XML"; 111 111 112 112 /** … … 115 115 * @type String 116 116 */ 117 ImJson.TYPE_UNKNOWN = " /* Unknown */";117 ImJson.TYPE_UNKNOWN = "Unknown"; 118 118 119 119 /** … … 252 252 253 253 case ImJson.TYPE_DATE : 254 typeName += " // " + objectData[prop].toString(); /* ← 型名の横にDateの文字列表現 */254 typeName += " (" + objectData[prop].toString() + ")"; /* ← 型名の横にDateの文字列表現 */ 255 255 tempStr += ImJson.dateToSrcString(objectData[prop]); 256 256 break; … … 334 334 335 335 case ImJson.TYPE_DATE : 336 typeName += " // " + arrayData[idx].toString(); /* ← 型名の横にDateの文字列表現 */336 typeName += " (" + arrayData[idx].toString() + ")"; /* ← 型名の横にDateの文字列表現 */ 337 337 array[insertIdx] = ImJson.dateToSrcString(arrayData[idx]); 338 338 break; … … 420 420 function concatTypeName(value, typeName, depth){ 421 421 depth = (depth) ? depth : 0; 422 return typeName+ "\n" + getIndentString(depth) + value;422 return "/* " + typeName + " */" + "\n" + getIndentString(depth) + value; 423 423 } 424 424 … … 466 466 467 467 case ImJson.TYPE_DATE : 468 typeName += " // " + value.toString(); /* ← 型名の横にDateの文字列表現 */468 typeName += " (" + value.toString() + ")"; /* ← 型名の横にDateの文字列表現 */ 469 469 jsonString = ImJson.dateToSrcString(value); 470 470 break;