Changeset 5699 for ComponentRegistry/trunk/ComponentBrowserGui/src/main/flex/clarin/cmdi/componentregistry/services/ComponentUsageService.as
- Timestamp:
- 10/09/14 14:04:19 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ComponentRegistry/trunk/ComponentBrowserGui/src/main/flex/clarin/cmdi/componentregistry/services/ComponentUsageService.as
r3660 r5699 27 27 private var service:HTTPService; 28 28 29 public function ComponentUsageService(itemDescription:ItemDescription , space:String)29 public function ComponentUsageService(itemDescription:ItemDescription) 30 30 { 31 var url:URI = new URI(Config.instance.componentUsageUrl + itemDescription.id); 32 if (space == Config.SPACE_USER) { 33 url.setQueryValue(Config.PARAM_USERSPACE, "true"); 34 } 35 31 var url:URI = new URI(Config.instance.componentUsageUrl + itemDescription.id); 36 32 service = new HTTPService(); 37 33 service.url = url.toString();
Note: See TracChangeset
for help on using the changeset viewer.