wiki:DespoinaLog/2010/03/09

Version 1 (modified by trac, 14 years ago) (diff)

--

Log of 2010-03-09

  • Add all local created javascript / jquery code  (SemOntocat) to ontocat . Commit to svn .
  • Url "http://localhost:8080/ontocat/rest/json1/searchAll not working  (this is called to return the terms inside autocomplete tool ) 
    • (function  searchAllJSON1() @ OntocatService?.java) 
    • url "http://localhost:8080/ontocat/rest/json/searchAll" is working . Just appends the body and correctly return labels and accessions.
    • Problem fixed by ALTERING  jquery code : 
      • Bug fixed . 
      • There is a point in jquery.tokeninput.js where you define how to retrieve from url . Remove ?q=..."
        • $.post(settings.url + queryStringDelimiter + settings.queryParam + "=" + query, {'q':query} , callback, settings.contentType);
        • $.post(settings.url +  query, {'q':query} , callback, settings.contentType);'
  • The rest of the problems maybe are coming from the tags of id/name inside jquery.token.js
    • The implementation need id/ name we have accession / label 
    • Alter  jquery.tokeninput.js: 
      • So id--> accession &  name --> label @ jquery.tokeninput.js 
    • Debug ..still not retrieving json data !
  • "Facebook for Diseases" : see attached file.

Attachments (1)

Download all attachments as: .zip