Access key

Hi:) I defined an action associated with an access key.The access key is shown when pressing shift+h..but the action isn't executed .This also doesnt work for default access keys .Any idea?

0 votes

1 answers

1569 views

ANSWER

Hello,

  • Can you provide your code?
  • How did you define your action with which Nuxeo UI? (Polymer or JSF)

Thanks!

10/18/2017

Hello Vladimir I defined the action and associated it with f1 button..The problem was that it doesnt need only f1 to execute the action.You need ctrl+shift+f1 but nuxeo documentation didn't say that.
10/20/2017

Hi, It is stated on https://doc.nuxeo.com/userdoc/browsing-content/ (end of the page), did you see another documentation not specifying this? (or the existing one is not clear enough and should be rephrased, maybe?) Thanks
10/20/2017

Well i was hoping you could answer the questions and not giving ironic answers after reading comments.Thanks
10/20/2017

No irony here, sorry if there is any misunderstanding (?), let me answer the question then, and kuddos for figuring out the shift key was missing.
10/20/2017



Hi,

You need to press CTRL+SHIFT+key to trigger the action, see https://doc.nuxeo.com/userdoc/browsing-content/

Cheers

0 votes



Hahaha thanks man :p is there a way i can trigger the action only with the key?
10/20/2017

no problem dude :p

here's the code: https://github.com/nuxeo/nuxeo/blob/master/nuxeo-dm/nuxeo-platform-webapp/src/main/resources/web/nuxeo.war/scripts/accessKey.js

changing this is not recommended for maintenance (and fyi, the SHIFT key was added to avoid conflicts with browser native access keys depending on os/browser)

10/23/2017

thankyou very much :)
10/23/2017