Changeset 1085 for MDService2/trunk/MDService2/src/eu/clarin/cmdi
- Timestamp:
- 01/23/11 22:00:09 (13 years ago)
- Location:
- MDService2/trunk/MDService2/src/eu/clarin/cmdi/mdservice
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
MDService2/trunk/MDService2/src/eu/clarin/cmdi/mdservice/action/CollectionProxyAction.java
r1029 r1085 18 18 private String proxy_key = "collections"; 19 19 20 protected void initialize(){ 21 // default ; 22 setMaxdepth(2); 23 } 20 24 @Override 21 25 public String getFullFormat() { … … 32 36 33 37 URL targetURL = null; 34 //targetURL =new URL( getBaseURL(), getActionkey()); 35 //FIXME: get maxdepth-constant out of here !! 36 targetURL = new URL(getBaseURL(), "?operation=getCollections&maxdepth=2&collection="); 38 //targetURL =new URL( getBaseURL(), getActionkey()); 39 targetURL = new URL(getBaseURL(), "?operation=getCollections&maxdepth=" + this.getMaxdepth() + "&collection="); 37 40 //Admin.notifyUser("CollectionProxy.targetURL:" + targetURL); 38 41 -
MDService2/trunk/MDService2/src/eu/clarin/cmdi/mdservice/model/Query.java
r1076 r1085 465 465 } 466 466 467 return xpath.replace( '.', '/');467 return xpath.replace(".", "//"); 468 468 } 469 469
Note: See TracChangeset
for help on using the changeset viewer.