- Timestamp:
- 03/05/10 13:36:50 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Xul_Wsp/content/scenariWsp/views/historyView/historyView.xbl.xml
r14956 r15040 50 50 } 51 51 var vFields = this.fTreeNode.getTreeRoot().getNeededDataKeys(["srcUri"]).join("*"); 52 log.info(vFields);53 52 var vServiceUri = "/u/trav?cdaction=PROPFIND_ALL&Depth=0&history=50&PathRes="+window.encodeURIComponent(pUriRoot)+"&fields="+vFields; 54 53 pDataProvider.loadFromService(vServiceUri, sAsynchResult, sAsynchResult); … … 70 69 var columnDate = new this.columns.Column("date").setLabel("Date").setFlex(1); 71 70 columnDate.setCellBuilderFactory(function(pJsTreeRoot){ 72 return new pJsTreeRoot.CellBuilderLeafDate("srcDt", true );71 return new pJsTreeRoot.CellBuilderLeafDate("srcDt", true, "%3$s/%2$s/%1$s %4$s:%5$s:%6$s"); 73 72 }); 74 extPoints.registerSvcByInst("columnDate", 1, columnDate); 75 extPoints.addSvcToList("columns:historyView", "columnDate", 1, "columnDate", 60); 73 extPoints.addToList("columns:historyView", "columnDate", 1, columnDate, 60); 76 74 77 var column Contrib= new this.columns.Column("contrib").setLabel("Contributeur").setFlex(1);78 column Contrib.setCellBuilderFactory(function(pJsTreeRoot){75 var columnUser = new this.columns.Column("contrib").setLabel("Contributeur").setFlex(1); 76 columnUser.setCellBuilderFactory(function(pJsTreeRoot){ 79 77 return new pJsTreeRoot.CellBuilderLeafString("srcUser", true); 80 78 }); 81 extPoints.registerSvcByInst("column Contrib", 1, columnContrib);82 extPoints.add SvcToList("columns:historyView", "columnContrib", 1, "columnContrib", 60);79 extPoints.registerSvcByInst("columnUser", 1, columnUser); 80 extPoints.addToList("columns:historyView", "columnUser", 1, columnUser, 60); 83 81 }catch(e){log.debug(e);} 84 82 ]]></body>
Note: See TracChangeset
for help on using the changeset viewer.