Ignore:
Timestamp:
01/31/11 20:15:20 (13 years ago)
Author:
gaba
Message:

Collections - jstree solution, CustomTermsets? - load, save to WorkspaceProfile?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • MDService2/trunk/MDService2/src/eu/clarin/cmdi/mdservice/action/CollectionProxyAction.java

    r1085 r1108  
    3636               
    3737                URL targetURL = null;
    38                 //targetURL =new URL( getBaseURL(), getActionkey());                           
    39                 targetURL = new URL(getBaseURL(), "?operation=getCollections&maxdepth=" + this.getMaxdepth() + "&collection=");
     38                //targetURL =new URL( getBaseURL(), getActionkey());
     39                //FIXME: get maxdepth-constant out of here !!
     40                String params = "";
     41                params = "&maxdepth=" + getMaxdepth();
     42                params = params + "&collection=";
     43                if (getCollection() != null){
     44                        params = params + getCollection();
     45                }
     46                targetURL = new URL(getBaseURL(), "?operation=getCollections" + params);
    4047                //Admin.notifyUser("CollectionProxy.targetURL:" + targetURL);
    4148
Note: See TracChangeset for help on using the changeset viewer.