JSF Navigating Page controls with Keystorokes

sfamledshr

New Member
I am developing a web application with JSF with Primefaces. It is essential to navigate with keys within most of the JSF pages, avoiding the mouse as much as possible. Return key is preferred to forward navigation than the Tab key. The navigation path is mostly predetermined, but some cases, it is decided on run. For example, pressing the return key at the txtItemQuantity input box, cursor has to go to dtpExpiry, if the items has an expiry date or need to click the Add button if there is no expiry date. How can I achieve this functionality?
 
Top