Changeset 1666 for MDService2


Ignore:
Timestamp:
12/15/11 13:49:28 (12 years ago)
Author:
vronk
Message:

added lang-param to SMCProxy

File:
1 edited

Legend:

Unmodified
Added
Removed
  • MDService2/branches/MDService_simple3/src/eu/clarin/cmdi/mdservice/proxy/SMCProxy.java

    r1656 r1666  
    103103        }
    104104
     105       
    105106        public InputStream getSourceStream() throws IOException, NoStylesheetException, CQLParseException {
    106107                SMC smc = new SMC();
    107                
    108                 smc.addParam("operation", getSourceAction().getActionkey());
     108       
     109                /* FIXME: this is inconsistent/redundant: the parameters are added via addParam(),
     110                 * but context/term are also sent as parameter of the smc-functions */         
     111                smc.addParam("operation", getSourceAction().getActionkey());     
    109112                smc.addParam("context", getParam("context") );
    110113                smc.addParam("term", getParam("term") );       
     114                smc.addParam("lang", getParam("lang") );
    111115               
    112116                if  (getSourceAction().getActionkey().equals("list")) {
Note: See TracChangeset for help on using the changeset viewer.