Changeset 3469


Ignore:
Timestamp:
09/07/10 13:52:09 (17 months ago)
Author:
rwagner
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • molgenis_projects/col7a1/handwritten/java/plugin/ui/search/SearchPlugin.java

    r3460 r3469  
    101101                        this.action      = request.getAction(); 
    102102 
    103                         if (StringUtils.isEmpty(this.action) || this.action.equals("simpleSearch")) 
    104                                 this.populateSimpleSearch(); 
     103//                      if (StringUtils.isEmpty(this.action) || this.action.equals("simpleSearch")) 
     104//                              this.populateSimpleSearch(); 
    105105 
    106106                        this.queryParametersVO.init(); 
     
    299299        } 
    300300         
    301         private void populateSimpleSearch() 
    302         { 
    303                 this.simpleSearch = new SimpleSearch(); 
    304                  
    305                 simpleSearch.setAction(new HiddenInput("__action", "findMutationsByTerm")); 
    306                 simpleSearch.setTarget(new HiddenInput("__target", this.getName())); 
    307                  
    308                 StringInput term = new StringInput("term"); 
    309                 term.setSize(10); 
    310                 simpleSearch.setTerm(term); 
    311         } 
    312  
    313         public SimpleSearch getSimpleSearch() 
    314         { 
    315                 return this.simpleSearch; 
    316         } 
     301//      private void populateSimpleSearch() 
     302//      { 
     303//              this.simpleSearch = new SimpleSearch(); 
     304//               
     305//              simpleSearch.setAction(new HiddenInput("__action", "findMutationsByTerm")); 
     306//              simpleSearch.setTarget(new HiddenInput("__target", this.getName())); 
     307//               
     308//              StringInput term = new StringInput("term"); 
     309//              term.setSize(10); 
     310//              simpleSearch.setTerm(term); 
     311//      } 
     312// 
     313//      public SimpleSearch getSimpleSearch() 
     314//      { 
     315//              return this.simpleSearch; 
     316//      } 
    317317 
    318318        public String getAction() 
Note: See TracChangeset for help on using the changeset viewer.