Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[bioontology-support] Old flash based Tree widget

Sajin Balakrishnan sajin.balakrishnan at gmail.com
Thu Mar 6 20:42:25 PST 2014


Its working now but if i give a startingRoot and search a term in the
autocomplete textbox and select a particular term,the other classes which
are not part of the tree are also shown.Also (+) sign did change to (-) on
expand.
Please see attached files.


On Thu, Mar 6, 2014 at 9:41 PM, Paul R Alexander <palexander at stanford.edu>wrote:

> I introduced a bug that was causing this, my apologies. Please update
> again (clearing browser cache as needed).
>
> ----- Original Message -----
> From: "Sajin Balakrishnan" <sajin.balakrishnan at gmail.com>
> To: "Paul R Alexander" <palexander at stanford.edu>
> Cc: "BioPortal User Support" <bioontology-support at lists.stanford.edu>
> Sent: Thursday, March 6, 2014 6:21:09 PM
> Subject: Re: [bioontology-support] Old flash based Tree widget
>
> Hi Paul,
>
> The auto-complete text field of the Tree widget under widget section is not
> working.I tried
> http://bioportal.bioontology.org/ontologies/AERO/?p=widgets.
> When i start typing in the console it gives below error.Could you please
> look into this.
>
>    1.
>
> http://data.bioontology.org/search?q=hypo*&apikey=4ea81d74-8960-4525-810b-fa1baab576ff&no_context=true&ontologies=AERO&subtree_id=roots&ontology=AERO400
> (Bad Request)
>    all.js?1394046824:4<
> http://bioportal.bioontology.org/javascripts/cache/all.js?1394046824>
>
> GET
>
> http://data.bioontology.org/search?q=adv*&apikey=4ea81d74-8960-4525-810b-fa1baab576ff&no_context=true&ontologies=AERO&subtree_id=roots&ontology=AERO400
> (Bad Request)
>
> data.bioontology.org/search?q=adv*&apikey=4ea81d74-8960-4525-810b-fa1baab576ff&no_context=true&ontologies=AERO&subtree_id=roots&ontology=AERO:1
> <
> http://data.bioontology.org/search?q=adv*&apikey=4ea81d74-8960-4525-810b-fa1baab576ff&no_context=true&ontologies=AERO&subtree_id=roots&ontology=AERO
> >
> <
> http://data.bioontology.org/search?q=adv*&apikey=4ea81d74-8960-4525-810b-fa1baab576ff&no_context=true&ontologies=AERO&subtree_id=roots&ontology=AERO
> >
>
>
> On Tue, Mar 4, 2014 at 7:58 PM, Sajin Balakrishnan <
> sajin.balakrishnan at gmail.com> wrote:
>
> > Thanks Paul and team for adding this functionality so quickly
> > On Mar 4, 2014 7:54 PM, "Paul R Alexander" <palexander at stanford.edu>
> > wrote:
> >
> >> You can now pass in the option `*startingRoot*` to enable this
> >> functionality. Note that you may need to clear your browser cache to get
> >> the updated Javascript.
> >>
> >> Paul
> >>
> >>
> >> On Mar 1, 2014, at 10:01 PM, sajinb <[hidden email]<
> http://user/SendEmail.jtp?type=node&node=4652664&i=0>>
> >> wrote:
> >>
> >> The old flash widget had an option in which by giving a root concept id
> >> ,the
> >> tree would display starting from the given concept id as root and hide
> all
> >> others.Is this still available in the new one.
> >> I tried tree.changeOntology from
> >> http://www.bioontology.org/wiki/index.php/NCBO_Widgets but its not
> >> working
> >> can you provide an example.
> >>
> >>
> >>
> >> --
> >> View this message in context:
> >>
> http://ncbo-support.2288202.n4.nabble.com/Old-flash-based-Tree-widget-tp4652589p4652645.html
> >> Sent from the NCBO Support mailing list archive at Nabble.com.
> >> _______________________________________________
> >> bioontology-support mailing list
> >> [hidden email] <http://user/SendEmail.jtp?type=node&node=4652664&i=1>
> >> https://mailman.stanford.edu/mailman/listinfo/bioontology-support
> >>
> >>
> >>
> >> _______________________________________________
> >> bioontology-support mailing list
> >> [hidden email] <http://user/SendEmail.jtp?type=node&node=4652664&i=2>
> >> https://mailman.stanford.edu/mailman/listinfo/bioontology-support
> >>
> >>
> >> ------------------------------
> >>  If you reply to this email, your message will be added to the
> >> discussion below:
> >>
> >>
> http://ncbo-support.2288202.n4.nabble.com/Old-flash-based-Tree-widget-tp4652589p4652664.html
> >>  To unsubscribe from Old flash based Tree widget, click here<
> http://ncbo-support.2288202.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4652589&code=c2FqaW4uYmFsYWtyaXNobmFuQGdtYWlsLmNvbXw0NjUyNTg5fDI5MDU1MzczNA==
> >
> >> .
> >> NAML<
> http://ncbo-support.2288202.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
> >
> >>
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/bioontology-support/attachments/20140306/22542358/attachment-0001.html>
-------------- next part --------------

<html>
  <head>
    <script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<link rel="stylesheet" type="text/css" href="http://bioportal.bioontology.org/widgets/jquery.ncbo.tree.css"></link>
 <script src="//bioportal.bioontology.org/widgets/jquery.ncbo.tree.js"></script>
  </head>
  <body style="font-family: sans-serif;">
   
    <div id="tree"></div>
    <script>    
   
    $("#tree").NCBOTree({
    	  apikey: "43fe9562-b11f-49ab-bbe7-616aec582d59",
    	  ontology: "AERO",
    	  startingRoot:"http://purl.obolibrary.org/obo/AERO_0000009",
    	  afterSelect: function(event, classId, prefLabel, selectedNode){
    	    console.log(classId);
    	  }
    	});

   
     
    
 
    </script>
  </body>
</html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: step1.jpg
Type: image/jpeg
Size: 19200 bytes
Desc: not available
URL: <http://mailman.stanford.edu/pipermail/bioontology-support/attachments/20140306/22542358/attachment-0004.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: step2.jpg
Type: image/jpeg
Size: 69230 bytes
Desc: not available
URL: <http://mailman.stanford.edu/pipermail/bioontology-support/attachments/20140306/22542358/attachment-0005.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: step3.jpg
Type: image/jpeg
Size: 57235 bytes
Desc: not available
URL: <http://mailman.stanford.edu/pipermail/bioontology-support/attachments/20140306/22542358/attachment-0006.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: step4.jpg
Type: image/jpeg
Size: 70077 bytes
Desc: not available
URL: <http://mailman.stanford.edu/pipermail/bioontology-support/attachments/20140306/22542358/attachment-0007.jpg>


More information about the bioontology-support mailing list