Search Mailing List Archives
[bioontology-support] Obtaining ontology term/class object from form_complete.js (Term-selection_field_on_a_form Widget)
whetzel at stanford.edu
Tue May 21 13:05:17 PDT 2013
A quick question, do you have the widget configured to return the ontology term name value, e.g. using name to put the preferred name of the term (e.g., "Common Neoplasm") as the autocomplete value? What value is returned?
On May 20, 2013, at 12:20 PM, Lewis John McGibbney wrote:
> Hi All,
> I am having a problem (e.g. I am lost) with my implementation of the Term-selection on a form widget .
> Right now I am unable to obtain the object which directly represents the user text input e.g. the search term or query for the above widget.
> Consider the following example, a user enters the text String "zebra" and thr autocompletion functionality suggests "zebrafish". The user then selects "zebrafish". It is the object which represents "zebrafish" which I need to access.
> The reason I wish to get this object is that I wish to then use it as a field query for faceting within Apache Solr.
> Any direction which would enable me to identify this object would be greatly appreciated. Additionally some direction from any dev's who work on the widgets and who know them inside out would be the mecca right now.
> Thank you so much in advance for any help.
>  http://www.bioontology.org/wiki/index.php/NCBO_Widgets#Term-selection_field_on_a_form
> Dr. Lewis John McGibbney
> Post Doctoral Research Scholar
> Engineering Informatics Group
> Civil and Environmental Engineering
> Room 279, Jerry Yang and Akiko Yamazaki Environment and Energy Building (Y2E2)
> 473 Via Ortega
> Stanford University
> Stanford, CA 94305-4020
> web | http://stanford.edu/people/lewis2
> Linkedin | http://linkedin.com/in/lmcgibbney
> Phone | +1(408).757.2791
> Skype | lewis.john.mcgibbney
> bioontology-support mailing list
> bioontology-support at lists.stanford.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the bioontology-support