Tree view cursor navigation

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Tree view cursor navigation

Gerrit Boers
Hi,

What would it take to enable cursor navigation for the tree view?

The YUI example has cursor navigation:



It would be excellent if this would work for the xform control


Here's a link to the test version of a SNOMED browser we're building:



The tree now only shows the children of a concept, the goal is to be able to navigate the tree with the cursor keys, using the right arrow should activate a submission for retrieving the underlying concepts and thus expanding the tree.

The search is a variation on the autocomplete-xquery-Lucene how-to. It combines wildcard searches with exact matches, wildcards start with a lower case and exact matches with upper case.

If you'r searching for 'lower back pain' type: lo ba pa
If you'r searching for 'vitamin K' type: vit K

There are 475.000 descriptions for 295.000 concepts.


Regards,

Gerrit


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Tree view cursor navigation

Alessandro  Vernet
Administrator
Hi Gerrit,

True, navigating with the keyboard doesn't seem to work anymore. I
remember doing quite a few changes a couple of years ago to improve
keyboard navigation in the tree, for instance fixing this [issue], and
even [patching] YUI for this. I just created a [new bug] to track
this, but we most likely won't get a chance to work on this any time
soon. So if you feel like it, I would encourage you to investigate
this and submit a patch when you find a solution; the Orbeon Forms
JavaScript code is in [Tree.js], and let us know if we can help with
anything in the process.

  [issue]: http://stackoverflow.com/questions/1905006/accessibility-of-the-yui-tree-control-how-to-tab-to-the-tree-on-firefox/1926027
  [patching]: http://wiki.orbeon.com/forms/doc/contributor-guide/yahoo-ui-library-yui#TOC-treeview.js
  [new bug]: http://forge.ow2.org/tracker/index.php?func=detail&aid=316285&group_id=168&atid=350207
  [Tree.js]: https://github.com/orbeon/orbeon-forms/blob/master/src/resources-packaged/ops/javascript/orbeon/xforms/control/Tree.js

Alex

On Wed, Nov 23, 2011 at 7:14 AM, Gerrit Boers <[hidden email]> wrote:

> Hi,
>
> What would it take to enable cursor navigation for the tree view?
>
> The YUI example has cursor navigation:
>
> http://developer.yahoo.com/yui/examples/treeview/folder_style.html
>
>
> It would be excellent if this would work for the xform control
>
>
> Here's a link to the test version of a SNOMED browser we're building:
>
> http://141.138.202.39:8080/orbeon/snomed-ct-v2
>
>
> The tree now only shows the children of a concept, the goal is to be able to
> navigate the tree with the cursor keys, using the right arrow should
> activate a submission for retrieving the underlying concepts and thus
> expanding the tree.
>
> The search is a variation on the autocomplete-xquery-Lucene how-to. It
> combines wildcard searches with exact matches, wildcards start with a lower
> case and exact matches with upper case.
>
> If you'r searching for 'lower back pain' type: lo ba pa
> If you'r searching for 'vitamin K' type: vit K
>
> There are 475.000 descriptions for 295.000 concepts.
>
>
> Regards,
>
> Gerrit
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing
> list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>


--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Re: Tree view cursor navigation

Gerrit Boers
Hi Alex,

Thanks for the pointer, I will look into it as soon as I can find the time.

Regards,

Gerrit


On Nov 30, 2011, at 8:26 PM, Alessandro Vernet wrote:

> Hi Gerrit,
>
> True, navigating with the keyboard doesn't seem to work anymore. I
> remember doing quite a few changes a couple of years ago to improve
> keyboard navigation in the tree, for instance fixing this [issue], and
> even [patching] YUI for this. I just created a [new bug] to track
> this, but we most likely won't get a chance to work on this any time
> soon. So if you feel like it, I would encourage you to investigate
> this and submit a patch when you find a solution; the Orbeon Forms
> JavaScript code is in [Tree.js], and let us know if we can help with
> anything in the process.
>
>  [issue]: http://stackoverflow.com/questions/1905006/accessibility-of-the-yui-tree-control-how-to-tab-to-the-tree-on-firefox/1926027
>  [patching]: http://wiki.orbeon.com/forms/doc/contributor-guide/yahoo-ui-library-yui#TOC-treeview.js
>  [new bug]: http://forge.ow2.org/tracker/index.php?func=detail&aid=316285&group_id=168&atid=350207
>  [Tree.js]: https://github.com/orbeon/orbeon-forms/blob/master/src/resources-packaged/ops/javascript/orbeon/xforms/control/Tree.js
>
> Alex
>
> On Wed, Nov 23, 2011 at 7:14 AM, Gerrit Boers <[hidden email]> wrote:
>> Hi,
>>
>> What would it take to enable cursor navigation for the tree view?
>>
>> The YUI example has cursor navigation:
>>
>> http://developer.yahoo.com/yui/examples/treeview/folder_style.html
>>
>>
>> It would be excellent if this would work for the xform control
>>
>>
>> Here's a link to the test version of a SNOMED browser we're building:
>>
>> http://141.138.202.39:8080/orbeon/snomed-ct-v2
>>
>>
>> The tree now only shows the children of a concept, the goal is to be able to
>> navigate the tree with the cursor keys, using the right arrow should
>> activate a submission for retrieving the underlying concepts and thus
>> expanding the tree.
>>
>> The search is a variation on the autocomplete-xquery-Lucene how-to. It
>> combines wildcard searches with exact matches, wildcards start with a lower
>> case and exact matches with upper case.
>>
>> If you'r searching for 'lower back pain' type: lo ba pa
>> If you'r searching for 'vitamin K' type: vit K
>>
>> There are 475.000 descriptions for 295.000 concepts.
>>
>>
>> Regards,
>>
>> Gerrit
>>
>>
>> --
>> You receive this message as a subscriber of the [hidden email] mailing
>> list.
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>
>
>
>
> --
> Follow Orbeon on Twitter: @orbeon
> Follow me on Twitter: @avernet
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws